[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Copying one hard drive to another



On Sat, May 12, 2001 at 09:06:17PM -0600, Cameron Matheson wrote:
> Hey,
> 
> I need to copy everything from hard drive to another.  I'm assuming this is
> done w/ dd, but I need to be sure.  Could someone give me an example of how to
> copy /dev/hda1 to /dev/hdb1?

mount /dev/hdb1 /mnt
cd <mountpoint of /dev/hda1>
find -xdev | cpio -padm /mnt

Voila ...

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgpgrog2rcynX.pgp
Description: PGP signature


Reply to: