Another kernel panic after preupgrade

stan gryt2 at q.com
Thu Nov 11 20:30:28 UTC 2010


On Thu, 11 Nov 2010 21:10:34 +0100
oekopez at gmx.de wrote:

> 
> > > The old F13 kernel, which are booting partly but failing with some
> > > graphic card problems include root hd(0,0), also. 
> > 
> > If the old root was hd(0,0) then preupgrade should leave your root
> > as hd(0,0).

> # mkdir sda1
> # mount /dev/sda1 sda1
> # ls sda1
> config-2.6.33.3-85.fc13.x86_64         lost+found
> config-2.6.34.7-56.fc13.x86_64         memtest86+-4.10
> config-2.6.34.7-61.fc13.x86_64
> System.map-2.6.33.3-85.fc13.x86_64
> config-2.6.35.6-48.fc14.x86_64
> System.map-2.6.34.7-56.fc13.x86_64
> efi
> System.map-2.6.34.7-61.fc13.x86_64
> elf-memtest86+-4.10
> System.map-2.6.35.6-48.fc14.x86_64
> grub                                   upgrade
> initramfs-2.6.33.3-85.fc13.x86_64.img
> vmlinuz-2.6.33.3-85.fc13.x86_64
> initramfs-2.6.34.7-56.fc13.x86_64.img
> vmlinuz-2.6.34.7-56.fc13.x86_64
> initramfs-2.6.34.7-61.fc13.x86_64.img
> vmlinuz-2.6.34.7-61.fc13.x86_64
> initrd-plymouth.img                    vmlinuz-2.6.35.6-48.fc14.x86_64
> 
> # mkdir sda2
> # mount /dev/sda2 sda2
> mount: unknown filesystem type 'LVM2_member'
> 
> Does this make sense to you?

Yes, your root should still be hd(0,0).  And I think all you need to do
is reinstall grub since your boot partition looks just fine.  It gets
uncertain here because I'm not sure if you should install it to the MBR
of the first drive or the first partition (your boot partition).  I
think it is the MBR of the first drive you want.

I think you do it at the grub prompt with the following two commands.
If you can't do it from the grub prompt during boot, you should be able
to do it from the live CD.

grub > root (hd0,0)
grub > setup (hd0)

I haven't done this for a long time, so the procedure could be off.


More information about the users mailing list