Re: Partitionierungsproblem
On 04.Nov 2004 - 11:17:42, Peter Weiss wrote:
> Hallo,
>
> irgendwie habe ich es geschafft bei der Installation auf meinem Notebook mir
> die Partitionstabelle so halb zu schreddern. Das führt dazu dass Kernel
> ab 2.6.8. nicht mehr booten sondern mit
>
> VFS: Cannot open root device "305"or unknown-block(3,5)
> Please append a correct "root=" boot option
> Kernel panic VFS: Unable to mount root fs on unknown-block(3,5)
>
> abbrechen. Die fdisk-Ausgabe sieht ja noch ganz gut aus:
Das ist aber nicht hdaX sondern eine ganz merkwuerdige Angabe. Welchen
Bootmanager nutzt du und wie sieht dessen Konfig aus?
> # fdisk -l
>
> Disk /dev/hda: 60.0 GB, 60011642880 bytes
> 255 heads, 63 sectors/track, 7296 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 1825 14659281 c W95 FAT32 (LBA)
> /dev/hda2 1826 4865 24418800 f W95 Ext'd (LBA)
> /dev/hda3 4866 7284 19430617+ a5 FreeBSD
> /dev/hda4 7285 7296 96390 83 Linux
> /dev/hda5 1826 3042 9775521 83 Linux
> /dev/hda6 3043 3165 987966 82 Linux swap
> /dev/hda7 3166 3895 5863693+ 83 Linux
> /dev/hda8 3896 4865 7791493+ 83 Linux
>
Hmm, ein fdisk -lu waere interessanter, ob sich da irgendwelche
Bloecke im Weg stehen..
> sfdisk meldet Partitionen, die ich nicht angelegt habe:
>
> # sfdisk -d
> Warning: extended partition does not start at a cylinder boundary.
> DOS and Linux will interpret the contents differently.
> # partition table of /dev/hda
> unit: sectors
>
> /dev/hda1 : start= 63, size= 29318562, Id= c, bootable
> /dev/hda2 : start= 29318625, size= 48837600, Id= f
> /dev/hda3 : start= 78156225, size= 38861235, Id=a5
> /dev/hda4 : start=117017460, size= 192780, Id=83
> /dev/hda5 : start= 29318688, size= 19551042, Id=83
> /dev/hda6 : start= 48869793, size= 1975932, Id=82
> /dev/hda7 : start= 50845788, size= 11727387, Id=83
> /dev/hda8 : start= 62573238, size= 15582987, Id=83
> /dev/hda9 : start= 78156225, size= 14680064
> /dev/hda10: start= 92836289, size= 2097152
> /dev/hda11: start= 94933441, size= 2097152
> /dev/hda12: start= 97030593, size= 9830400
> /dev/hda13: start=106860993, size= 10156467
Waere mal interessant wie gross die Platte tatsaechlich ist.
> Wenn ich die Diagnose Optionen etwas weiter aufdrehe meldet sfdisk:
>
> # sfdisk -V -l -x
>
> Disk /dev/hda: 116280 cylinders, 16 heads, 63 sectors/track
> Warning: extended partition does not start at a cylinder boundary.
> DOS and Linux will interpret the contents differently.
> Warning: The partition table looks like it was made
> for C/H/S=*/255/63 (instead of 116280/16/63).
Dafuer gibts ne Kerneloption und fdisk kennt da auch eine fuer.
> For this listing I'll assume that geometry.
> Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
>
> Device Boot Start End #cyls #blocks Id System
> /dev/hda1 * 0+ 1824 1825- 14659281 c W95 FAT32 (LBA)
> /dev/hda2 1825 4864 3040 24418800 f W95 Ext'd (LBA)
> /dev/hda3 4865 7283 2419 19430617+ a5 FreeBSD
> start: (c,h,s) expected (1023,254,63) found (1023,255,63)
Das sollte dir zu denken geben (denke ich).
> /dev/hda4 7284 7295 12 96390 83 Linux
> start: (c,h,s) expected (1023,254,63) found (1023,255,63)
>
> /dev/hda5 1825+ 3041 1217- 9775521 83 Linux
> - 3042 3164 123 987997+ 5 Extended
> - 1825 1824 0 0 0 Empty
> - 1825 1824 0 0 0 Empty
Also diese "-" Zeilen scheinen mir normal, jedenfalls treten sie hier
auch auf.
> /dev/hda9 4865 5778- 914- 7340032
> /dev/hda10 5778+ 5909- 131- 1048576
> /dev/hda11 5909+ 6039- 131- 1048576
> /dev/hda12 6039+ 6651- 612- 4915200
>
> /dev/hda13 6651+ 7283 633- 5078233+
> Warning: partitions 3 and 9 overlap
>
> Die Partitionierung habe ich mit einem fdisk von Knoppix gemacht.
Hmm, vielleicht liegt da der Hund begraben... Jedenfalls ist es nicht
gut das diese Partitionen da existieren. Als erstes solltest du sowohl
die Ausgabe von fdisk -lu also auch die obige "Debug-Ausgabe" von
sfdisk irgendwo wegsichern. Dann koenntest du mal schauen was
passiert, wenn du die Tabelle mittels fdisk neu schreibst.
Eventuell auch einfach die Partitionstabelle leeren und mittels der
von fdisk -lu gelieferten Infos mit fdisk neu erstellen. Dabei
verlierst du keine Daten, allerdings sollte man das nicht aus einem
laufenden System heraus machen.
Andreas
--
Don't go around saying the world owes you a living. The world owes you
nothing. It was here first.
-- Mark Twain
Reply to: