On 10/8/07, Brian Litzinger <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 08, 2007 at 11:17:40AM +0200, Beso wrote:
> > does this work from hd to external usb disk?
>
> dd will not work between disparate media.  It is even
> risky between different (capacity, manufacturer) drives.

For my purpose, and I think most anyone in my situation, this is a key
issue. I built this AMD64 machine 2-3 years ago. Any drive I put in
today is going to have completely different drive geometries.

I am buying a drive today and will hopefully get started on this
project this evening to tomorrow. I'm leaning the gparted-clonezilla
direction but not overly confident at this point. Still have much to
learn.

Thanks,
Mark

>
> If by "this" you mean the latter stategy involving
> sfdisk/rsync/grub the sfdisk step will mostly not work
> between disparate media.
>
> > 2007/10/7, Brian Litzinger <[EMAIL PROTECTED]>:
> > >
> > > On Sun, Oct 07, 2007 at 12:49:11AM -0400, Peter Davoust wrote:
> > > > This may be a little noobish, and it may have been said, but can't you
> > > > just install the new drive, partition it identically to the original
> > > > drive and then...
> > > >
> > > > dd if=/dev/hda1 of=/dev/hdb1
> > > > dd if=/dev/hda2 of=/dev/hdb2
> > > >
> > > > so on and so forth until you've got everything copied? Or event just
> > > >
> > > > dd if=/dev/hda of=/dev/hdb
> > > >
> > > > Wouldn't that work?
> > >
> > > The latter works fine in my experience.  I do it regularly.
> > >
> > > The downside, is that cloning a 750GB drive takes a while
> > > as it duplicates everything including unused sectors.
> > >
> > > Things like clonezilla just copy the "used"/active sectors.
> > >
> > > A popular way is to use sfdisk.  I do not remember the exact
> > > syntax, but a pair of sfdisk commands can transfer the partition
> > > information directly between two drives.
> > >
> > > Then use rsync to move the data across.
> > >
> > > You may have to run grub setup on the new disk too.
> > >
> > > --
> > > Brian Litzinger
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
[EMAIL PROTECTED] mailing list

Reply via email to