请问UBUNTU的万能GHOST的制作方法

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#16

帖子 skyx » 2007-04-10 1:21

BigSnake.NET 写了:
skyx 写了:
BigSnake.NET 写了:
skyx 写了:至少要改fstab的挂载方试, by-uuid肯定不行
ghost clone会不会改变uuid?
herd2发布后不就,我用ghost 80做了herd2的全盘硬盘gho镜像,还原后就不能启动,后来用ghostexp改了fstab ,不by-uuid就可以了。

关键是/etc/下的一些 config文件记录的是本地硬件信息,直接ghost到别的电脑上这些全部都保留,所以麻烦

live cd 这方面做得不错,启动过程就在收集硬件信息并且进行配制,但论坛很少有人开公这方面的东西。


所以ubuntu 万能ghost能不能做成功,live cd 的启动时 收集硬件信息并且进行配制的脚本一定要移置过去。
只是个fstab吧..

用新的uuid替换应该可以

那确实,可能是ghost80的 bug , 我当时是做了硬盘镜像后,在本地还原的,这都不行,拿到别的电脑上就更别提了。

另外,如果只用ghost80备份分区,还原是没问题的,但是还原到大小不同的分区中去(同一台电脑,同一块硬盘),就不行了,重装grub 后,grub可以引导,根本进不了。

uuid是个比较大的文件,也不知记录了什么。 ghost还原是以文件方式进行的,谁知道norton把ext3格式分析清楚没有?(比方说ext3中的硬链接), 不过用ghost 时,可以来一绝招,把image disk选上,但这样开销实在太大,不值得。

有机会试下G4Linux.


我觉得可以先用live cd启动后,把live cd 生成的etc导出来去换掉,但不知道是哪些要换,太麻烦了。

个人认为万能ghost远不如 diy 一个 live dvd 好,一张dvd 可以预装所有常用软件和必装软件。


实在是还觉得麻烦,那就用gnx的方法算了,这样肯定是可以做成万能ghost的,并且速度也还不错,这种万能ghost我倒做过,一般给只想试试ubuntu的人用,我把windows xp也做进去了,一张dvd光盘,还原后windows linux 双系统全可以用,但对于一个真正的linuxfans来说,虽然这样什么功能都没问题,总感觉少了什么:少了linux的分区!
上次由 skyx 在 2007-04-10 1:31,总共编辑 1 次。
no security measure is worth anything if an attacker has physical access to the machine
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#17

帖子 zhuqin_83 » 2007-04-10 1:29

s
你有空测试一下这个ghost,叫clonezilla
http://clonezilla.sourceforge.net/
下载光盘镜像刻录,和ghost差不多用的。

比ghost好的地方是支持常见的文件系统,包括ext2, ext3, reiserfs, xfs, jfs of GNU/Linux, and FAT, NTFS of M$ Windows.
我觉得如果好的话完全可以取代那个不思上进的ghost。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#18

帖子 skyx » 2007-04-10 1:39

zhuqin_83 写了:s
你有空测试一下这个ghost,叫clonezilla
http://clonezilla.sourceforge.net/
下载光盘镜像刻录,和ghost差不多用的。

比ghost好的地方是支持常见的文件系统,包括ext2, ext3, reiserfs, xfs, jfs of GNU/Linux, and FAT, NTFS of M$ Windows.
我觉得如果好的话完全可以取代那个不思上进的ghost。

what a pity,我用的电脑没有光驱

小白由你来当好了。
no security measure is worth anything if an attacker has physical access to the machine
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#19

帖子 skyx » 2007-04-10 1:53

3. Features of Clonezilla

* Free (GPL) Software.
* Filesystem supported: ext2, ext3, reiserfs, xfs, jfs of GNU/Linux, and FAT, NTFS of M$ Windows. Therefore you can clone GNU/Linux or M$ windows. For other file system, Clonezilla uses dd to dump the whole partition.
* LVM2 under GNU/Linux is supported.
* Multicast is supported in PXEBoot Clonezilla, which is suitalbe for massively clone. You can also remotely use it to save or restore a bunch of computers if PXE and Wake-on-LAN are supported in your clients.
* UnlikePartimage or ntfsclone, which only for partitions. Clonezilla, containing some other programs, can save and restore not only partitions, but also a whole disk.
* Unlike G4U or G4L, in Clonezilla, if file system is supported (ext2, ext3, reiserfs, xfs, jfs, fat, ntfs), only used blocks in harddisk are saved and restored. This increase the clone efficiency. For unsupported file system, sector-to-sector copy is done by dd in Clonezilla.
* By using another free software drbl-winroll, which is also developed by us, the hostname, group, and SID of cloned M$ windows machine can be automatically changed.
* A single machine clone system without installation, Clonezilla live, is also available.

4. About Clonezilla

You're probably familiar with the popular proprietary commercial package Norton Ghost®, and its OpenSource counterpart, Partition Image. The problem with these software packages is that it takes a lot of time to massively clone systems to many computers. You've probably also heard of Symantec's solution to this problem, Symantec Ghost Corporate Edition® with multicasting. Well, now there is an OpenSource clone system (OCS) solution called Clonezilla with unicasting and multicasting! With DRBL and network boot enabled client computers, the only thing you have to prepare is a Clonezilla server. You do not even have to prepare a bootable CD or floppy with Partition Image for every client computer.

Clonezilla, based on DRBL, Partition Image, ntfsclone, and udpcast, allows you can massively clone many (40 plus!) computers simultaneously. Unlike G4U (Ghost for Unix) or G4L (Ghost for Linux), Clonezilla saves and restores only used blocks in the harddisk. This increases the clone effiency. At the NCHC's Classroom C, Clonezilla was used to clone 41 computers simultaneously. It took about 50 minutes to clone a 5.6 GBytes system image to all 41 computers via unicasting and only about 10 minutes via multicasting!

A DRBL server must first be set up in order to use Clonezilla to do massively clone. On the other hand, if you do NOT want to install DRBL, just need clonezilla to clone individual machine, i.e. not massively clone, then you can try Clonnezilla Live, which allows you to use CD/DVD or USB flash drive to boot and run clonezilla. The DRBL installation documentation is here. Once DRBL is installed on the server, Clonezilla is ready. Before downloading or installing clonezilla, it is recommended to read the "Change log" for different branches: stable, testing, unstable.

When setting up the DRBL server, it is recommended to collect the MAC addresses of the client computers and let the DRBL server offer the same IP address for the clients every time it boots. This will keep you from cloning the system to incorrect or unknown clients. Besides, if you do not provide the static IP address to client, as mentioned previously, different operating systems (like GNU/Linux and M$ windows), they use different DHCP client ID. Therefore even it's the same client, when it boots GNU/Linux via DRBL, it will leases one IP address, then next time when it boots into local M$ windows, it will lease another different IP address. This is annoying sometimes. However, if you are 100% certain that no other computer will be involved in the DRBL environment, and you do not care about the different IP address leasing problem, you can use the range in dhcpd.conf. In this case, you can even use the "impatient method" to setup the DRBL environment.
no security measure is worth anything if an attacker has physical access to the machine
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#20

帖子 skyx » 2007-04-10 1:56

这个还支持usb ,不错的说。
no security measure is worth anything if an attacker has physical access to the machine
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#21

帖子 skyx » 2007-04-10 1:58

天啊,这么个软件80多M ,zhuqin_83,你太有才啦
no security measure is worth anything if an attacker has physical access to the machine
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#22

帖子 zhuqin_83 » 2007-04-10 1:59

所以你死活都要测试,否则亏大了。 :D
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#23

帖子 zhuqin_83 » 2007-04-10 1:59

刻光盘又无所谓,真是的。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#24

帖子 skyx » 2007-04-10 2:04

下载完毕,socks5代理就是不一样啊,速度1M/s



呵呵,打开一看,相当于下载了一个小巧的linux系统。
no security measure is worth anything if an attacker has physical access to the machine
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#25

帖子 zhuqin_83 » 2007-04-10 2:12

你今晚就别睡了,好好测试,明天牺牲了再找我 :D
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#26

帖子 skyx » 2007-04-10 2:32

zhuqin_83 写了:你今晚就别睡了,好好测试,明天牺牲了再找我 :D

我ghost用得好好的,才没功夫试呢。

现在很少用ghost,到了几乎不用的程度。

我用不着转移系统,那天硬件全换了,就重装,免得麻烦

ee说过,个人用户,linux根本用上着ghost:那确实!
no security measure is worth anything if an attacker has physical access to the machine
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#27

帖子 zhuqin_83 » 2007-04-10 2:47

ee说过,个人用户,linux根本用上着ghost:那确实!
i don't get it
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
stlxv
论坛版主
帖子: 8275
注册时间: 2006-05-03 0:39
来自: المريخ

#28

帖子 stlxv » 2007-04-10 12:06

skyx 写了:至少要改fstab的挂载方试, by-uuid肯定不行
menu.lst吧
PHP是最好的语言!不服来战!
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#29

帖子 skyx » 2007-04-10 15:24

stlxv 写了:
skyx 写了:至少要改fstab的挂载方试, by-uuid肯定不行
menu.lst吧
硬盘ghost 对拷(image boot option selected)


disk from img 也就是disk to disk 和menu.list没什么关系。
no security measure is worth anything if an attacker has physical access to the machine
头像
drivel
帖子: 1918
注册时间: 2006-07-08 9:21
来自: University of Science and Technology Beijing
联系:

#30

帖子 drivel » 2007-04-10 20:26

中文社区可以考虑做GHOST版的UBUNTU嘛。。HOHO
回复