Yesterday I updated openSuse 11.3 on my laptop.
Kernel update from 2.6.34.4-0.1… to 2.6.34.7-0.3-desktop was included.
Yast performed fine and at the end it stated to reboot for using the new Kernel.
So I did, but what a bad surprise!!>:(
Normally the Grub menu should have been updated, but not this time.
Fortunately I know how to handle this, but not all users will be able to resolve this problem, so here’s what to do if this happens to you:
You will run into the Text console saying:
Press any button to continue…
Before doing this write down on a piece of paper the text lines visible on the screen, starting with:
kernel /boot/vmlinuz-2.6.34.4-0.1-desktop root=/dev/disk/by-id/ata-Hitachi… resume=/dev/disk…
or whatever it reads for your system.
You will need this info to edit the menu and succeed to boot.
Now press any key and you will get the Grub menu.
The standard option will be highlighted.
press “e” to edit that option.
Next you will see the Grub menu lines
First press key “o” to add a new line, select it by arrow down, press “e” to edit the line.
(In my case it was not possible to edit the full original line, but only the added options like vag=0x317)
Enter the line you wrote down, but change the kernel’s version number to the new one
Should look similar like:
kernel /boot/vmlinuz-2.6.34.7-0.3-desktop root=/dev/disk/by-id/ata-Hitachi…
(it works if you only use the part before “resume=/dev/disk…”)
After finishing hit Enter and you will turn bach to the Grub menu lines.
Now move with the up/down arrow key to the old line, press “d” to remove the old line.
Next move to the line with “initrd /boot/initrd-2.6.34.4-0.1-desktop”, press “e” and edit the line so that it reads:
initrd /boot/initrd-2.6.34.7-0.3-desktop
press Enter to move back to the Grub menu lines.:’(
Now press “b” to boot.
After booting log in, open your file manager as root, browse to /boot/grub and open the menu.lst file to edit and change the kernel old version numbers to the new one.
Save it and next time it your machine will boot normally again.