cloning bootable hard drive

Jarod Wilson jarod at wilsonet.com
Tue Feb 26 15:34:49 EST 2008


On Tue, 2008-02-26 at 10:17 -0500, Derek Atkins wrote:
> R Hofland <hofland_r at yahoo.com> writes:
> 
> > I'm not having a lot of luck doing quick clones of my installs from
> > one bootable hard drive to create another bootable drive. I haven't
> > tried all my options yet but I thought it wise to ask the community
> > for advice.
> >
> > Again, it is Suse 10.3 using the Grub boot loader which resides in
> > the root partition, but I'd like to be able to do this with any
> > flavor of Linux and booter. A bootable CD with appropriate software
> > to quickly create a bootable drive with swap, /, etc. and then copy
> > all of the files from the original drive is best. I have Acronis but
> > it has not worked so well for my Suse installs.
> 
> How are you copying the drive?  I would do:
> 
>  dd if=/dev/<olddrive> of=/dev/<newdrive> bs=1m

Assuming <newdrive> is at least as big as <olddrive>, that should work
too. Some potential fixups needed to make proper use of additional space
on a larger drive though. I went from a 120G drive to a 250G drive in my
laptop, and wanted to expand each of my partitions, so my previously
mentioned rsync method worked much better for me.

Looking at clonezilla is still on my 'things to do some day' list, but I
rarely cross anything off that list lately...


-- 
Jarod Wilson
jarod at wilsonet.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Discuss mailing list