Ubuntu 20.04 | 用于制作实时 ISO 的应用程序?

Ubuntu 20.04 | 用于制作实时 ISO 的应用程序?

我需要一个类似于 Pinguy Builder 的应用程序(它可以创建当前系统的可安装 ISO 映像),该应用程序可以在 Ubuntu 20.04 上运行

如果没有,是否可以降级、制作 ISO、安装,然后重新升级?

提前致谢。

答案1

Pinguy Builder Menu Based 5.2.1 dist 模式在文件夹 /usr/bin 中对 pinguy conf 文件进行更改后可正常工作。对我来说,它适用于 Linux Mint 20 Cinnamon。

#Cleaning Apt and backing up
# find /etc/apt -type f -iname \*.save -delete &> /dev/null
# find /etc/apt -type f -iname \*~ -delete &> /dev/null
 tar pczvf /root/apt.tar.gz /etc/apt &> /dev/null
 sed -i "s/deb/#deb/g" /etc/apt/sources.list.d/*.list
 sed -i "s/deb/#deb/g" /etc/apt/sources.list
 echo "$SOURCESLIST" >> /etc/apt/sources.list
 apt-get update  &> /dev/null
.
.
.

if [ "`ps axf | grep startkde | grep -v grep`" != "" -o "`ps axf | grep kwin | grep -v grep`" != "" ]; then
        log_msg "Installing the Ubiquity KDE frontend"
    #   apt-get -y -q purge ubiquity-casper &> /dev/null
    #   apt-get -y -q purge ubiquity &> /dev/null
    #   apt-get -y -q remove ubiquity-ubuntu-artwork &> /dev/null
        apt-get -y -q remove ubiquity-frontend-kde &> /dev/null
        apt-get -y -q install ubiquity-frontend-kde &> /dev/null
        apt-get -y -q remove ubiquity-frontend-gtk &> /dev/null
        chmod +x /usr/share/applications/kde4/ubiquity-kdeui.desktop &> /dev/null
        sed -i "s/ubiquity kde_ui/pkexec ubiquity kde_ui/" /usr/share/applications/kde4/ubiquity-kdeui.desktop
    else
        log_msg "Installing the Ubiquity GTK frontend"
     #  apt-get -y -q purge ubiquity-casper &> /dev/null
     #  apt-get -y -q purge ubiquity &> /dev/null
     #  apt-get -y -q remove ubiquity-ubuntu-artwork &> /dev/null
        apt-get -y -q remove ubiquity-frontend-gtk &> /dev/null
        apt-get -y -q install ubiquity-frontend-gtk &> /dev/null
        apt-get -y -q remove ubiquity-frontend-kde &> /dev/null
        chmod +x /usr/share/applications/ubiquity.desktop &> /dev/null
        sed -i "s/sh -c 'ubiquity

    # Replacing Ubiquity icons
    cp -a /etc/PinguyBuilder/icons /usr/share/
    chmod 775 -R /usr/share/icons
    rm -rf /usr/share/icons/hicolor/256x256/apps/ubuntu-logo-icon.png
    ln -s /usr/share/icons/ubuntu-logo-icon.png /usr/share/icons/hicolor/256x256/apps
    chmod 777 /usr/share/icons/hicolor/256x256/apps/ubuntu-logo-icon.png
    chmod 777 /usr/share/icons/ubuntu-logo-icon.png
    gtk-update-icon-cache
    update-icon-caches /usr/share/icons/*
#   rm -r /etc/apt &> /dev/null
#   tar -xf /root/apt.tar.gz -C / &> /dev/null

相关内容