Gentoo Archives: gentoo-user

From: Zac Medico <zmedico@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] He's baaaaaack!
Date: Mon, 25 Jul 2005 21:17:50
Message-Id: 42E55606.3010009@gmail.com
In Reply to: Re: [gentoo-user] He's baaaaaack! by Richard Fish
1 Richard Fish wrote:
2 > Martins Steinbergs wrote:
3 >
4 >> log to linux, erase partition table, get those heads corect, write new
5 >> partition table --> reboot, LBA is on and win is booting. none of
6 >> dos/win apps worked for me to fix partition table.
7 >>
8 >> i asume LBA is needed only for win itself, not vfat or ntfs
9 >> partitions, therefore files are accesible from linux
10 >>
11 >> martins
12 >>
13 >>
14 >>
15 >
16 > Um, if you do this, you will more than likely destroy the filesystems as
17 > well, because the new partitions will not line up exactly with the old
18 > ones.
19 >
20
21 In most cases, with such a misalignment, wouldn't the filesystem driver see that the superblock (or whatever signature it uses) is misplaced and refuse to mount?
22
23 I have destroyed an ext3 partition due to improper geometry settings for an external usb hard drive. Something about a computer I plugged it into (bad bios?) caused this. From the Large Disk HOWTO I learned to manually specify the C,H,S as a kernel parameter sda=24321,255,63 in order to correct the problem.
24
25 Good "fdisk -l" output:
26
27 Disk /dev/sda: 200.0 GB, 200049647616 bytes
28 255 heads, 63 sectors/track, 24321 cylinders
29 Units = cylinders of 16065 * 512 = 8225280 bytes
30
31 Bad "fdisk -l" output:
32
33 Disk /dev/sda: 137.4 GB, 137438952960 bytes
34 255 heads, 63 sectors/track, 16709 cylinders
35 Units = cylinders of 16065 * 512 = 8225280 bytes
36
37 Zac
38 --
39 gentoo-user@g.o mailing list