1 |
On 10/8/07, Brian Litzinger <brian@××××××××××××.com> wrote: |
2 |
> On Mon, Oct 08, 2007 at 11:17:40AM +0200, Beso wrote: |
3 |
> > does this work from hd to external usb disk? |
4 |
> |
5 |
> dd will not work between disparate media. It is even |
6 |
> risky between different (capacity, manufacturer) drives. |
7 |
|
8 |
For my purpose, and I think most anyone in my situation, this is a key |
9 |
issue. I built this AMD64 machine 2-3 years ago. Any drive I put in |
10 |
today is going to have completely different drive geometries. |
11 |
|
12 |
I am buying a drive today and will hopefully get started on this |
13 |
project this evening to tomorrow. I'm leaning the gparted-clonezilla |
14 |
direction but not overly confident at this point. Still have much to |
15 |
learn. |
16 |
|
17 |
Thanks, |
18 |
Mark |
19 |
|
20 |
> |
21 |
> If by "this" you mean the latter stategy involving |
22 |
> sfdisk/rsync/grub the sfdisk step will mostly not work |
23 |
> between disparate media. |
24 |
> |
25 |
> > 2007/10/7, Brian Litzinger <brian@××××××××××××.com>: |
26 |
> > > |
27 |
> > > On Sun, Oct 07, 2007 at 12:49:11AM -0400, Peter Davoust wrote: |
28 |
> > > > This may be a little noobish, and it may have been said, but can't you |
29 |
> > > > just install the new drive, partition it identically to the original |
30 |
> > > > drive and then... |
31 |
> > > > |
32 |
> > > > dd if=/dev/hda1 of=/dev/hdb1 |
33 |
> > > > dd if=/dev/hda2 of=/dev/hdb2 |
34 |
> > > > |
35 |
> > > > so on and so forth until you've got everything copied? Or event just |
36 |
> > > > |
37 |
> > > > dd if=/dev/hda of=/dev/hdb |
38 |
> > > > |
39 |
> > > > Wouldn't that work? |
40 |
> > > |
41 |
> > > The latter works fine in my experience. I do it regularly. |
42 |
> > > |
43 |
> > > The downside, is that cloning a 750GB drive takes a while |
44 |
> > > as it duplicates everything including unused sectors. |
45 |
> > > |
46 |
> > > Things like clonezilla just copy the "used"/active sectors. |
47 |
> > > |
48 |
> > > A popular way is to use sfdisk. I do not remember the exact |
49 |
> > > syntax, but a pair of sfdisk commands can transfer the partition |
50 |
> > > information directly between two drives. |
51 |
> > > |
52 |
> > > Then use rsync to move the data across. |
53 |
> > > |
54 |
> > > You may have to run grub setup on the new disk too. |
55 |
> > > |
56 |
> > > -- |
57 |
> > > Brian Litzinger |
58 |
> -- |
59 |
> gentoo-amd64@g.o mailing list |
60 |
> |
61 |
> |
62 |
-- |
63 |
gentoo-amd64@g.o mailing list |