Re: Copying one hard drive to another
Je 2001/05/14(1)/11:05, Nathan E Norman montris sian geniecon skribante:
> 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
that (well, I'd do it with tar) is probably the best.
BUT -- I've got 3 hardisks of 20 Gig, and when I copy
the contents from one to another, I do use dd
(dd if=/dev/hda of=/dev/hdc bs=102400), and it works
miraculausly well:). I do suppose it will fail if the
disks aren't exactly the same size, though. And I've
never tried copying partitions -- but, it they are
the same sizes, it might work to.
--
joostje
Reply to: