[opensuse] How can I make a ghost image for SUSE Linux
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 ? thanks 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. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
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.
Try MondoRescue (http://www.mondorescue.org/). Use it to create a recovery CD (or DVD). When booting off it to recover your system, you're given the option of resizing your partitions (and much more). Excellent tool. OpenSuSE RPMs are available on the site. HTH Cheers. Bye. Ph. A. -- *Philippe Andersson* Unix System Administrator IBA Particle Therapy | Tel: +32-10-475.983 Fax: +32-10-487.707 eMail: pan@iba-group.com http://www.iba-worldwide.com The contents of this e-mail message and any attachments are intended solely for the recipient (s) named above. This communication is intended to be and to remain confidential and may be protected by intellectual property rights. Any use of the information contained herein (including but not limited to, total or partial reproduction, communication or distribution of any form) by persons other than the designated recipient(s) is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free. Ion Beam Applications does not accept liability for any such errors. Thank you for your cooperation.
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
You can do this as a file backup with tar, for example. However, I find it simpler and much more convenient to easily "snapshot" the partition as a whole. If dd is not sufficient for that, partimage will be your friend. In order to restore to a larger disk, later on, qtparted will be handy (by enlarging the former smaller partition to it's then actual size). This will only be difficult in the unlikely event that you want to restore to a "smallerthantoday" partion, later on. As Operating Systems and Harddisks sizes tend to grow I decided not to worry about that. ;-)) regards Eberhard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Wed, 24 Oct 2007, by K.Weng@cn.ats.net:
Dear All
If someone knows that which software can be used to make a ghost image for the SUSE Linux ..
I'v used Clonezilla with XP, but it works with Linux filesystems equaly well of course. Also the partition copy and paste function in Gparted does what you'd expect without problems.
That will make me more easier to install the OS ..
And a lot faster in case of a disaster.
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 :(
Not sure if Ghost knows (enough) about MBR info needed for Linux boot.
If you have some experience about this ?
Enough to know that the 'free' tools are at least as good as their commercial counterparts. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.20 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 :(
Not sure if Ghost knows (enough) about MBR info needed for Linux boot.
I haven't used this in several years, but I've used ghost to clone linux drives when LILO was the popular bootloader: ghost -ia -ib -or (image all, image boot, overide space check) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10/24/07, Kalvin Weng
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 ?
thanks
Look at partimage. For 10.3 you can find packages in this repo: http://download.opensuse.org/repositories/home:/wberrier/openSUSE_10.3/ Otherwise, it is included in Knoppix and INSERT linux, so you can boot outside your system. It can compress the image (zip or bz2), save the MBR, skip the empty space, etc. Cheers -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2007-10-24 at 14:52 +0800, 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 ?
thanks
You can use the systemrescuecd ( http://www.sysresccd.org/Main_Page ) this distro comes with partimage ( http://www.partimage.org/Main_Page ) which is an excellent harddisk cloning tool. partimage can also restore your mbr which is very important. The other solution offered (mondorescue etc.) are imo more backup options then imaging solutions -- Regards, Aniruddha Please adhere to the OpenSUSE_mailing_list_netiquette http://en.opensuse.org/OpenSUSE_mailing_list_netiquette -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Aniruddha wrote:
On Wed, 2007-10-24 at 14:52 +0800, 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 ?
thanks
You can use the systemrescuecd ( http://www.sysresccd.org/Main_Page ) this distro comes with partimage ( http://www.partimage.org/Main_Page ) which is an excellent harddisk cloning tool.
partimage can also restore your mbr which is very important. The other solution offered (mondorescue etc.) are imo more backup options then imaging solutions
Also clonezilla: http://clonezilla.sourceforge.net/ http://freshmeat.net/projects/clonezilla-sysresccd/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (10)
-
Aniruddha
-
Bruce Ferrell
-
Eberhard Roloff
-
Kalvin Weng
-
Khanh Tran
-
Otto Rodusek (AP-SGP)
-
Philippe Andersson
-
Rudi Ahlers
-
Sunny
-
Theo v. Werkhoven