cloning a drive [was: war story]

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Jul 27 14:14:02 UTC 2011


On Wed, Jul 27, 2011 at 02:57:33AM -0400, William Park wrote:
> I've always been uncomfortable using 'dd', because I always needed to
> reinstall lilo/grub afterwards.  If 'dd' copied faithfully, then I
> wouldn't have to reinstall bootloader.  Also, newer filesystem may have
> newer info or bugfix which older filesystem doesn't have.
> 
> How about 'mkfs' first, then 'cp -ax' ?

I think that breaks hardlinks.  rsync -aHx works though.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list