remasterys的使用

本文介绍如何利用Remastersys工具创建系统备份并制作成LiveCD/DVD。包括安装配置Remastersys的过程、解决安装过程中遇到的问题以及使用Remastersys进行备份、清理和制作发行版的具体命令。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

shouyong@nas:~$ sudo vi /etc/apt/sources.list.d/a.list
deb http://www.remastersys.com/ubuntu precise main
update一下:
sudo apt-get update

#Error:

W: GPG error: http://www.remastersys.com precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B6068D255563B350
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B6068D255563B350

#或者
sudo su wget -O - http://www.remastersys.com/ubuntu/remastersys.gpg.key | apt-key add -

#继续update,有ERROR:
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_binary-i386_Packages  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.


#解决:
 sudo rm /var/lib/apt/lists/partial -r

#安装remastery

sudo apt-get install remastersys



来看看remastery:

shouyong@nas:~$ sudo remastersys
grep: /etc/init.d/remastersys-firstboot: No such file or directory

 
Usage of remastersys 3.0.4-2 is as follows:
 
   sudo remastersys backup|clean|dist [cdfs|iso] [filename.iso]
 
 
Examples:
 
   sudo remastersys backup   (to make a livecd/dvd backup of your system)
 
   sudo remastersys backup custom.iso
                             (to make a livecd/dvd backup and call the iso custom.iso)
 
   sudo remastersys clean    (to clean up temporary files of remastersys)
 
   sudo remastersys dist     (to make a distributable livecd/dvd of your system)
 
   sudo remastersys dist cdfs
                             (to make a distributable livecd/dvd filesystem only)
 
   sudo remastersys 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

来个中文(参考:http://johnawm.blog.163.com/blog/static/36808052201211313389771/):

remastersys的语法: remastersys backup|clean|dist [cdfs|iso] [filename.iso]

    将你的系统备份制成一个live cd/dvd

        #remastersys backup

    将你的系统备份制成一个live cd/dvd其名叫 custom.iso 的ISO文件. 

        #remastersys backup custom.iso

    清除由 remastersys产生的临时文件 

        #remastersys clean

    产生一个可发布又包括你的个人资料的 livecd/dvd 

        #remastersys dist file

    产生一个只有档案系统的可发布的 livecd/dvd 

        #remastersys dist cdfs

    为了产生一个可发布又包括你的个人资料的 livecd/dvd 其名叫 custom.iso的ISO文件: 

        #remastersys dist iso custom.iso


做一个自己的ubuntu发行版:

sudo remastersys dist cdfs
sudo remastersys dist iso custom.iso 


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值