[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Etch, Update => Boot-Error



Am Samstag, 2. September 2006 19:03 schrieb Andreas Pakulat:
> On 02.09.06 17:49:32, Kai Hildebrandt wrote:
> > Hi.
> >
> > B_Kloss wrote:
> > > ETCH
> > > 2.6.16-2-686
> > > / ist auf hdb2 mit ext3
> > >
> > > Aber dann:
> > >
> > > filesystem type unknown
> > > partition type 0x82
> > > kernel /boot/vmlin...... root= dev/hdb2 ro - so steht es auch in der
> > > menu.lst
> >
> > Typ 0x82 ist swap. Du hast dich da wohl in der Partition geirrt? Grub
> > zählt von 0 an aufwärts.
>
> Lies nochmal, (hd1,1) == hdb2.
>
> Andreas
Sorry, habe vorige Mail zu früh geschickt.

War ich gemeint mit "lies nochmal"???

Das war das Problem:
Beim Boot kommt noch das Grubmenü und wenn man dann die Bootoption wählt, dann 
kommt die Meldung:

root (hd1,1) 
filesystem type unknown
partition type 0x82
kernel /boot/vmlin...... root= dev/hdb2 ro - so steht es auch in der menu.lst
Error 17 Cannot mount selected partition

Was ist los?

Hier nochmal, soweit ich das sehe:

Disk /dev/hdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1         243     1951866   82  Linux swap / Solaris
/dev/hdb2   *         244        2675    19535040   83  Linux
/dev/hdb3            2676        3040     2931862+  83  Linux
/dev/hdb4            3041       19929   135660892+   5  Extended
/dev/hdb5            3041        6687    29294496   83  Linux
/dev/hdb6            6688       19929   106366333+  83  Linux

So sieht die Platte aus.

Das ist die
mars:/mnt/boot/grub # cat device.map
(hd0)   /dev/hda
(hd1)   /dev/hdb
(hd2)   /dev/hdd

Also ist doch hdb2 = hd1,1

Heißt das, dass der Grub nach dem Update versucht die Swap-Partition als 
Root-Partition zu mounten, obwohl die menu.lst sagt:

## ## End Default Options ##

title           Debian GNU/Linux, kernel 2.6.16-2-686
root            (hd1,1)
kernel          /boot/vmlinuz-2.6.16-2-686 root=/dev/hdb2 ro
initrd          /boot/initrd.img-2.6.16-2-686
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.16-2-686 (single-user mode)
root            (hd1,1)
kernel          /boot/vmlinuz-2.6.16-2-686 root=/dev/hdb2 ro single
initrd          /boot/initrd.img-2.6.16-2-686
savedefault
boot


Es sollte hier der 2.6.18-er-Kernel drin stehen.
Es wird eine 82-er Partition versucht zu mounten für /

Spricht das für die These von Andreas, dass hier doch ein update-grub gemacht 
werden soll?

@Andreas: Ich habe nicht verstanden, was das mit der Pfadangabe aus Deiner 
ersten Mail soll, bzw, was ich da machen soll. Von der Debian-DVD starten und 
den Punkt "Bootloader reparieren" (oder so ähnlich) anwählen? Oder was?
Sorry, bin nicht sehr fit auf dem Gebiet.

Habe jetzt erstmal nichts unternommen und die alte Platte laufen lassen, um 
nichts zu verschlimmbessern.

Gruß

Bernd



Reply to: