Remastersys备份linux系统ISO镜像

时间:2023-03-09 16:27:08
Remastersys备份linux系统ISO镜像

1. 安装Remastersys

利用Ubuntu Software Center安装,修改sources.list文件,在文件末尾加入下面三行,添加软件源,

#Rsudo remastersys distPrecise
deb http://ppa.launchpad.net/mutse-young/remastersys/ubuntu trusty main
deb-src http://ppa.launchpad.net/mutse-young/remastersys/ubuntu trusty main
deb http://www.remastersys.com/ubuntu precise main

或者通过软件中心 Edit->Software Sources...->Other Software->Add... 的方式添加

(https://launchpad.net/~mutse-young/+archive/ubuntu/remastersys?field.series_filter=trusty)

然后在终端

sudo apt-get update

重启软件中心,搜索Remastersys即可找到安装成功

使用方法:

sudo remastersys dist

创建不含用户数据的系统镜像,完成后iso文件在 /home/remastersys

sudo remastersys backup

创建含用户数据的备份文件

sudo remastersys backup custom.iso

可以将iso文件自定义命名为custom.iso

详细命令:

Usage of remastersys 3.0.3-1 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://wiki.ubuntu.org.cn/Remastersys)