Re: Simple partition not detected with 2.6

From: Andries Brouwer
Date: Mon Dec 15 2003 - 12:06:48 EST


On Mon, Dec 15, 2003 at 03:17:46PM +0100, Ludovic Drolez wrote:

> I have one computer which has two partitions per disk.
> This partition is seen by a 2.4.xx kernel (knoppix) but
> not by a 2.6.0t7 kernel.
>
> When booting the knoppix, dmesg says:
>
> hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
> hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
> ide-cd: passing drive hde to ide-scsi emulation.
> Partition check:
> hda: [PTBL] [9729/255/63] hda1 hda2
> hdc: [PTBL] [9729/255/63] hdc1 hdc2
>
>
> But the 2.6.0t7 does not see the partition table.
> Other disks are properly recognized, so it seems to
> be a problem with [PTBL] and 2.6 ...

The [PTBL] part just says that this 2.4 kernel first concluded to
a 155061/16/63 geometry but then saw the partition table and
changed it mind to 9729/255/63.
It is unrelated to partition recognition.

Check that your kernel was compiled without CONFIG_PARTITION_ADVANCED,
or, in case you selected advanced, has CONFIG_MSDOS_PARTITION selected.

If it is something else, come back (and show fdisk output).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/