Re: Partitionierungsproblem
Hallo Peter,
Peter Weiss schrieb:
> irgendwie habe ich es geschafft bei der Installation auf meinem
> Notebook mir die Partitionstabelle so halb zu schreddern.
>
Was hast Du installiert?
Mit welchem Programm welchen OSs hast Du zuletzt schreibend auf die
Partitionstabelle des mbr zugegriffen?
> 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.
>
root ist /dev/hda4?
Kannst Du die anderen OSe starten?
Was steckt im mbr? lilo, FreeBSD-Bootmanager, mbr?
> Die fdisk-Ausgabe sieht ja noch ganz gut 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
mbr
> /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/hda2: immer zwischen 1826 und 4865
> /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
>
>
> sfdisk meldet Partitionen, die ich nicht angelegt habe:
>
Doch hast Du! Bei der Installation von FreeBSD!
> # 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
>
Mit fdisc von FreeBSD partitioniert?
> unit: sectors
>
mbr
> /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/hda2
> /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/hda3 FreeBSD Partitionen
> /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
>
> 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).
> 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)
> /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
>
> /dev/hda6 3042+ 3164 123- 987966 82 Linux swap
> - 3165 3894 730 5863725 5 Extended
> - 3042 3041 0 0 0 Empty
> - 3042 3041 0 0 0 Empty
>
> /dev/hda7 3165+ 3894 730- 5863693+ 83 Linux
> - 3895 4864 970 7791525 5 Extended
> - 3165 3164 0 0 0 Empty
> - 3165 3164 0 0 0 Empty
>
Extended in Extended? Wozu?
> /dev/hda8 3895+ 4864 970- 7791493+ 83 Linux
> - 3895 3894 0 0 0 Empty
> - 3895 3894 0 0 0 Empty
> - 3895 3894 0 0 0 Empty
>
> /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
>
sfdisk erkennt /dev/hda3 nicht als Extended
> Die Partitionierung habe ich mit einem fdisk von Knoppix gemacht.
>
Waren die Partitionen nicht schon vorher teilweise angelegt?
> Hat wer'ne Idee wie ich das (ohne Verluste) reparieren kann?
>
Kannst Du mit Knoppix auf /dev/hda[124] zugreifen?
Gruß Uli
--
Auftragsdatenbank: http://jobjektiv.de/index.html
Reply to: