您的位置:首页 > 运维架构 > Linux

Remastersys备份linux系统ISO镜像

2016-11-27 20:07 741 查看
1. 安装Remastersys

命令行安装:

sudo add-apt-repository ppa:mutse-young/remastersys

sudo apt-get update

sudo apt-get install 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)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: