on Mon, May 20, 2002, R. Lockhart ([EMAIL PROTECTED]) wrote:
> I need to transfer all my data, os, partitions, formatting, to a new
> hard drive. I got a lemon hd (still perfect electronicly but making
> ugly noises). A replacement is on the way from the manufacturer but
> I'm not sure about the best way to mirror a-b.

Please set your mailer/editor linewrap to 68-75 characters.  I strongly
recommend 72 as a good default.

Thank you.

> I've looked at www.Linux-Backup.net:
> 
> dd if=/dev/hda of=/dev/hdb bs=1024
> 
> That would do it?


In a few days.  

dd does a binary copy of the device itself.  This of little use unless
you're interested in doing forensics on scrambled data.   There's likely
to be much slack space.

Better:

   $ mkdir /mnt/oldhd
   $ mkdri /mnt/newhd
   $ mount /dev/hda /mnt/oldhd
   $ mount /dev/hdb /mnt/newhd
   $ cd /mnt/oldhd
   $ tar cvf - . | ( cd /mnt/newhd; tar xf - )

(rsync, or cp -padR are other alternatives).

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Iomega:  click of death, Jaz Junk, and now, NAS?  Not!
     http://www.google.com/search?q=iomega+jaz+drive+failure

Attachment: pgpEphifPVXxF.pgp
Description: PGP signature

Reply via email to