Rudi Ahlers wrote:
Kalvin Weng wrote:
Dear All
If someone knows that which software can be used to make a ghost image for the SUSE Linux ..
That will make me more easier to install the OS ..
I had tried to use the Symantec Ghost to make a disk to disk image,but when I restored the image ,the system could not be started :(
If you have some experience about this ?
thanksPowered Off
Regards Kalvin Weng AT&S (China) Co.,Ltd Tel.: +86 21 24080509 Email: k.weng@cn.ats.net
This e-mail and any attachment may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Hi Kalvin,
Use dd - boot with a live DVD. If for example you have an external usb drive and an internal ata drive then use:
dd if=/dev/hda of=/dev/sda bs=8257536
(this will clone an entire drive - after a lot of sampling found that bs 8 mb factor was optimal - you can also set hdparm on /dev/hda fo c1,d1 and u1)
you can also back only those partitions you want - similar as above -
dd if=/dev/hda1 of=/dev/sda1 bs=8257536
Rgds. Otto Rodusek. How would I clone a system, but only the files / inodes, if I want to use it on a different HDD? Let's say I have setup a 80GB HDD, with 3
Otto Rodusek (AP-SGP) wrote: partitions /, /home & /opt and I want to clone it for later use, but in 2 years time I may want to use a 250GB HDD, so the partitioning could be different then.
Kind Regards Rudi Ahlers CEO, SoftDux
Web: http://www.SoftDux.com Forum: http://Forum.SoftDux.com
Join SA WebHostingTalk today, on http://www.WebHostingTalk.co.za
Hi Rudi, After you setup your new disk (with fdisk), then use mkfs to create the new file system (ie ext3 or reiserfs or whatever), then use rsync to build the new disk. After you finished with rsync the drives are pretty much cloned - however will still not be able to boot. You must then run grub to create the new boot directives - your new drive should then be able to boot. Alternatively, if your boot/root drive partitions as the same size then just use dd to do a pure clone. For example say you have originally 80gb hdd as follows: hda1 = 24gb (root/boot) hda2 = 24gb (/home) hda3 = 30gb (/usr) hda4 = 2 gb (/swap) your new drive may be set as follows: sda1 = 24 gb (root/boot) sda2 = 150gb (/home) sda3 = 74gb (/usr) sda4 = 2gb (/swap) then simply dd /dev/hda1 to /dev/sda1, rsync /home to /dev/sda2, and /usr to sda3 plug in the new drive and it totally works. Rgds. Otto Rodusek. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org