I have just updated a remote machine which is running Ubuntu Server 12.04. I have only access through SSH and now it's asking for a reboot. I'm guessing a new kernel was installed. I need to make it boot in a very specific kernel, otherwise it will just hang. Is there any way to check (from the command line, since I am connecting through SSH) what GRUB2 is going to do on the next reboot?
I mainly need to make sure that:
- The machine is going to boot on the right kernel (Which now may
have been moved into the "
Previous Linux Versions
" submenu) - The GRUB2 menu is going to "obey" my timeout request (in some
occasions I found machines that would just get stuck with the GRUB2
boot menu, despite of having a
GRUB_TIMEOUT
parameter specified in/etc/default/grub
)
So is there any way to "simulate" or diagnose what GRUB2 is going to do on the next reboot? Some way to check things like "It is going to boot kernel yaddayaddayadda and it has a timeout activated of yadda seconds"
I know it's a long shot, but maybe there is something like a diagnose tool (which is going to have to be command line... I don't even have X-Windows on the computer I'm connecting to)
Thank you in advance!