使用Remastersys将已安装好的Ubuntu镜像到其他机器
2010-03-11 14:57
621 查看
使用Remastersys将已安装好的Ubuntu镜像到其他机器上,具体步骤如下:
Remastersys是一种工具,使用它可以在Klikit 或Ubuntu中做两件事,一是进行系统备份,其备份可以选择包括你的个人资料,二是将备份做成可以自起动安装的Live cd 或 dvd 安装盘.
1. 在Ubuntu 中安装Remastersys
1)源头设置,修改源清单其代码是:
Paste the following into the sources.list:
For Gutsy and Earlier - up to version 2.0.11-1
# Remastersys
deb http://www.geekconnection.org/remastersys/repository remastersys/
For Hardy and Newer with original grub - version 2.0.12-1 and up
# Remastersys
deb http://www.geekconnection.org/remastersys/repository ubuntu/
For Karmic and Newer with grub2 - version 2.0.13-1 and up
# Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/
2)使用下列命令代码升级源清单:
sudo apt-get update
(你也可以这样进行:Sysytem->?Administrator->Software Source->Third party Software->Add -> ? deb http://www.remastersys.klikit-linux.com/repository
remastersys/ --> update )
3)安装 remastersys 使用下列命令,其代码是:
sudo apt-get install remastersys
执行上述修改和命令后,就完成了安装.
2. 使用Remastersys
1)remastersys的语法结构:
sudo remastersys backup|clean|dist [cdfs|iso] [filename.iso]
root@ubuntu:~# man remastersys
REMASTERSYS(1) REMASTERSYS(1)
NAME
remastersys - script to make a bootable and installable live cd or dvd
SYNOPSIS
remastersys backup|clean|dist [cdfs|iso] [filename.iso]
remastersys backup
remastersys clean
remastersys dist
DESCRIPTION
Remastersys is a script used to make a bootable live cd or dvd from an installed Ubuntu system or derivative.
This manual page documents remastersys. remastersys Makes a live cd or dvd iso file from and installed system
OPTIONS
backup Makes a complete system backup including the user folders.
clean Cleans the temporary build directory.
dist Makes system backup minus the user folders.
AUTHOR
Tony Brijeski - Copyright (c) 2007,2008
BUG REPORT
Report bugs to tb6517@yahoo.com
URL
http://www.remastersys.klikit-linux.com
2)使用remastersys的例子
1)为了将你的系统备份制成一个live cd/dvd
sudo remastersys backup
2) 为了将你的系统备份制成一个live cd/dvd其名叫 custom.iso 的ISO文件.
sudo remastersys backup custom.iso
3)为了清除由 remastersys产生的临时文件
sudo remastersys clean
4) 为了产生一个可发布又包括你的个人资料的 livecd/dvd
sudo remastersys dist
5) 为了产生一个只有档案系统的可发布的 livecd/dvd
sudo remastersys dist cdfs
6) 为了产生一个可发布又包括你的个人资料的 livecd/dvd 其名叫 custom.iso的ISO文件:
sudo remastersys dist iso custom.iso
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
产生一个ISO映像文件
为了产生一个你的安装ISO映像文件,简单的运行其代码:
sudo remastersys dist
它会在/home/remastersys目录产生一个叫” customdist.iso”的ISO映像文件,但没有包括你的个人文件包(e.g. /home/ruchi),在这处理过程中可能需要插入你的安装CD.
下面是记下了一段怎样结束处理:
[...]
92.16% done, estimate finish Wed DEC 28 15:31:25 2007
93.39% done, estimate finish Wed DEC 28 15:31:25 2007
94.62% done, estimate finish Wed DEC 28 15:31:24 2007
95.85% done, estimate finish Wed DEC 28 15:31:24 2007
97.08% done, estimate finish Wed DEC 28 15:31:25 2007
98.31% done, estimate finish Wed DEC 28 15:31:25 2007
99.54% done, estimate finish Wed DEC 28 15:31:25 2007
Total translation table size: 2048
Total rockridge attributes bytes: 3950
Total directory bytes: 9094
Path table size(bytes): 54
Max brk space used 0
406890 extents written (794 MB)
/home/remastersys/customdist.iso 已处理完可以写入CD或在需拟机中测试.
检查/home/remastersys/customdist.iso文件的大小,如在700M内可以写入CD,否则需要DVD.
在你将ISO映像文件写入 CD/DVD,你要清除产生ISO文件时而生成的临时文件,需要运行清除命令,其代码是:
sudo remastersys clean
现在可以不用命令方式进行该工具了,其用法是:
System ->administration ->?Remastersys -> Backup.
然后会提示你关闭所有程序, 接着就会出现命令选择,各命令大意如下:
Backup : 备份完整的系统并包括个人资料.
Dist : 生成一个可以与朋友分享的备份文件,其形式是ISO 和CDFS
Distcdfs : 只生成系统的备份文件,对只加程序进安装CD的一种好方法.
DistIso : 只生成一个ISO文件,在之前需完成上一步.
Modify : 根据用户要求而修改remastersys配制.
Info : 有关remastersys的信息.
Clean : 清除临时文件.
Quit : 退出
Remastersys是一种工具,使用它可以在Klikit 或Ubuntu中做两件事,一是进行系统备份,其备份可以选择包括你的个人资料,二是将备份做成可以自起动安装的Live cd 或 dvd 安装盘.
1. 在Ubuntu 中安装Remastersys
1)源头设置,修改源清单其代码是:
Paste the following into the sources.list:
For Gutsy and Earlier - up to version 2.0.11-1
# Remastersys
deb http://www.geekconnection.org/remastersys/repository remastersys/
For Hardy and Newer with original grub - version 2.0.12-1 and up
# Remastersys
deb http://www.geekconnection.org/remastersys/repository ubuntu/
For Karmic and Newer with grub2 - version 2.0.13-1 and up
# Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/
2)使用下列命令代码升级源清单:
sudo apt-get update
(你也可以这样进行:Sysytem->?Administrator->Software Source->Third party Software->Add -> ? deb http://www.remastersys.klikit-linux.com/repository
remastersys/ --> update )
3)安装 remastersys 使用下列命令,其代码是:
sudo apt-get install remastersys
执行上述修改和命令后,就完成了安装.
2. 使用Remastersys
1)remastersys的语法结构:
sudo remastersys backup|clean|dist [cdfs|iso] [filename.iso]
root@ubuntu:~# man remastersys
REMASTERSYS(1) REMASTERSYS(1)
NAME
remastersys - script to make a bootable and installable live cd or dvd
SYNOPSIS
remastersys backup|clean|dist [cdfs|iso] [filename.iso]
remastersys backup
remastersys clean
remastersys dist
DESCRIPTION
Remastersys is a script used to make a bootable live cd or dvd from an installed Ubuntu system or derivative.
This manual page documents remastersys. remastersys Makes a live cd or dvd iso file from and installed system
OPTIONS
backup Makes a complete system backup including the user folders.
clean Cleans the temporary build directory.
dist Makes system backup minus the user folders.
AUTHOR
Tony Brijeski - Copyright (c) 2007,2008
BUG REPORT
Report bugs to tb6517@yahoo.com
URL
http://www.remastersys.klikit-linux.com
2)使用remastersys的例子
1)为了将你的系统备份制成一个live cd/dvd
sudo remastersys backup
2) 为了将你的系统备份制成一个live cd/dvd其名叫 custom.iso 的ISO文件.
sudo remastersys backup custom.iso
3)为了清除由 remastersys产生的临时文件
sudo remastersys clean
4) 为了产生一个可发布又包括你的个人资料的 livecd/dvd
sudo remastersys dist
5) 为了产生一个只有档案系统的可发布的 livecd/dvd
sudo remastersys dist cdfs
6) 为了产生一个可发布又包括你的个人资料的 livecd/dvd 其名叫 custom.iso的ISO文件:
sudo remastersys dist iso custom.iso
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
产生一个ISO映像文件
为了产生一个你的安装ISO映像文件,简单的运行其代码:
sudo remastersys dist
它会在/home/remastersys目录产生一个叫” customdist.iso”的ISO映像文件,但没有包括你的个人文件包(e.g. /home/ruchi),在这处理过程中可能需要插入你的安装CD.
下面是记下了一段怎样结束处理:
[...]
92.16% done, estimate finish Wed DEC 28 15:31:25 2007
93.39% done, estimate finish Wed DEC 28 15:31:25 2007
94.62% done, estimate finish Wed DEC 28 15:31:24 2007
95.85% done, estimate finish Wed DEC 28 15:31:24 2007
97.08% done, estimate finish Wed DEC 28 15:31:25 2007
98.31% done, estimate finish Wed DEC 28 15:31:25 2007
99.54% done, estimate finish Wed DEC 28 15:31:25 2007
Total translation table size: 2048
Total rockridge attributes bytes: 3950
Total directory bytes: 9094
Path table size(bytes): 54
Max brk space used 0
406890 extents written (794 MB)
/home/remastersys/customdist.iso 已处理完可以写入CD或在需拟机中测试.
检查/home/remastersys/customdist.iso文件的大小,如在700M内可以写入CD,否则需要DVD.
在你将ISO映像文件写入 CD/DVD,你要清除产生ISO文件时而生成的临时文件,需要运行清除命令,其代码是:
sudo remastersys clean
现在可以不用命令方式进行该工具了,其用法是:
System ->administration ->?Remastersys -> Backup.
然后会提示你关闭所有程序, 接着就会出现命令选择,各命令大意如下:
Backup : 备份完整的系统并包括个人资料.
Dist : 生成一个可以与朋友分享的备份文件,其形式是ISO 和CDFS
Distcdfs : 只生成系统的备份文件,对只加程序进安装CD的一种好方法.
DistIso : 只生成一个ISO文件,在之前需完成上一步.
Modify : 根据用户要求而修改remastersys配制.
Info : 有关remastersys的信息.
Clean : 清除临时文件.
Quit : 退出
相关文章推荐
- 使用Remastersys生成的iso镜像安装ubuntu
- Remastersys -- 将正在使用的Ubuntu14.04 制作成镜像文件
- ubuntu14.04上Virtualbox安装win7(使用Ghost镜像安装,启用USB设备支持,设置共享目录)
- Ubuntu14.04使用Remastersys打包整个镜像制作iso
- Ubuntu下用docker安装redis镜像和使用redis容器分享
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明
- ubuntu下使用Remastersys制作自己的Ubuntu镜像
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明
- ubuntu下使用sdk manager 安装sdk 其他版本
- Ubuntu16.04使用阿里云镜像安装Mongodb
- Ubuntu系统的安装与使用:[2]wubi安装镜像
- Ubuntu16.04.3安装Docker,配置镜像加速器及其基本使用
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明
- Ubuntu pip使用国内镜像,加速安装
- 使用网易ubuntu镜像加速软件包安装
- 使用docker安装ubuntu镜像
- ubuntu使用dvd镜像文件安装自带软件
- 使用VMware虚拟机安装Ubuntu14.04.3-server系统
- Ubuntu下Maven安装和使用