Gentoo Archives: gentoo-user

From: Digby Tarvin <digbyt@×××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ghosting(?) a drive
Date: Fri, 18 Nov 2005 11:42:57
Message-Id: 20051118113800.GA2435@skaro.cthulhu.dircon.co.uk
In Reply to: Re: [gentoo-user] ghosting(?) a drive by maxim wexler
1 I still think you need to partition the new drive first, then
2 dd the individual partitions.
3
4 Addresses within partitions are normally handled as sector offsets, but
5 booting and locating the start/extent of partitions don't always.
6
7 The fdisk format on PCs is ancient and predates SCSI (and IDE drives that
8 pretend to be SCSI). It encodes addresses in terms of sector/head/cylinder,
9 as well as storing block offset information.
10
11 Unless the old and new drives are identical geometry (for example,
12 the same make and model) then any code that tries to use physical
13 addressing based on geometry is going to screw up if the fdisk table
14 does not match the drive...
15
16 Regards,
17 DigbyT
18
19 On Mon, Nov 14, 2005 at 04:54:57PM -0800, maxim wexler wrote:
20 >
21 > boots into a panic. Here's the last 5 lines:
22 >
23 > [28.856347] ReiserFS: sda3: found reiserfs format
24 > "3.6" with standard journal
25 > [31.560835] ReiserFS: sda3: warning: sh-2029: reiserfs
26 > read_bitmaps: bitmap bitlock(#14057372) reading failed
27 > [31.663418] UDF-fs: No partition found (1)
28 > [31.663466] Kernel panic - not syncing: VFS: Unable to
29 > mount root fs on unknown-block(8,3)
30 > [31.663493]
31 >
32 > After dd'ing I compared both drives w/fdisk and they
33 > were identical except for the device names, of course.
34 > I *did* update fstab and grub.conf and ran
35 > grub-install w/o error. Don't know why it was looking
36 > for a UDF fs.
37 >
38 > one thing I noticed though, the SATA drive is about 3M
39 > smaller than the ATA.
40 >
41 --
42 Digby R. S. Tarvin digbyt@××××××.com
43 http://www.digbyt.com
44 --
45 gentoo-user@g.o mailing list