我正在运行每日Ubuntu镜像(Yakkety Yak),我想构建自己的Ubuntu镜像(现在是备用,但实时镜像的说明也有帮助),同时添加一些PPA。 Ubuntu社区帮助wiki上有几个指南,但它们似乎都已过时。我还尝试阅读Ubuntu和Debian的代码来完成此操作,但我没有看到它们的确切使用方式。
我如何在不安装古老的Trusty Tahr的情况下完成这个操作?
我如何在不安装古老的Trusty Tahr的情况下完成这个操作?
sudo add-apt-repository ppa:sergiomejia666/respin
sudo add-apt-repository ppa:sergiomejia666/xresprobe
sudo apt install xresprobe
sudo apt install respin
sudo apt install isolinux
Examples:
sudo respin backup (to make a livecd/dvd backup of your system)
sudo respin backup custom.iso
(to make a livecd/dvd backup and call the iso custom.iso)
sudo respin clean (to clean up temporary files of respin)
sudo respin dist (to make a distributable livecd/dvd of your system)
sudo respin dist cdfs
(to make a distributable livecd/dvd filesystem only)
sudo respin dist iso custom.iso
(to make a distributable iso named custom.iso but only
if the cdfs is already present)
cdfs and iso options should only be used if you wish to modify something on the
cd before the iso is created. An example of this would be to modify the isolinux
portion of the livecd/dvd
sudo respin dist cdfs
(用于创建可分发的可启动光盘/ DVD 文件系统),我们将使用它来创建自定义 ISO。sudo respin dist iso custom.iso
Making custom.iso a hybrid iso
isohybrid: Warning: more than 1024 cylinders: 2547
isohybrid: Not all BIOSes will be able to boot this device
Creating custom.iso.md5 in /home/respin/respin
/home/respin/respin/custom.iso which is 2.5G in size is ready to be burned or tested in a virtual machine.
xresprobe
的安装候选项。也许你可以从source构建或等待。就个人而言,我发现大多数开发人员似乎更关注LTS版本。对我来说,这很有道理,因为在9个月的发布上投入大量精力似乎不太高效。
编辑:Ubuntu的最新发布的respin deb软件包可以在这里找到。通过使用Systemback工具,您可以备份并创建实时ISO文件。您可以从其PPA安装它,并且它与remastersys
(不再维护)的工作方式相同,我想。 Ubuntu 14.04还需要一个称为unionfs-fuse的额外软件包。它还可以创建实时USB映像。您可以将用户文件添加到ISO中,然后在其他设备上安装,但是其他设备可能具有不同的图形等,请确保您未卸载预装的xorg视频软件包。所以您只需添加PPA并安装即可。
sudo add-apt-repository ppa:nemh/systemback
sudo apt-get update && sudo apt-get install systemback unionfs-fuse
(我不确定今天是否已经支持了)
sudo add-apt-repository ppa:kranich/remastersys
sudo apt-get update
sudo add-apt-repository ppa:f-muriana/ubuntu-builder
sudo apt-get update && sudo apt-get install ubuntu-builder
按照图形界面的指示进行操作。
从这里下载.deb文件,并使用dpkg或gedbi安装它。这是一种新型的remastersys。