I want to set up my ubuntu server to boot from an older kernel since the current one causes problems.

How do i see the list of entries in the grub menu so i know which one to set to GRUB_DEFAULT? Without restarting. Its a remote server and id rather not drive 30 kms to see a list.

  • Look in /boot for the initrd.img-* files. – Alex R. Feb 3 '14 at 18:06

Look for menuentry in /boot/grub/grub.cfg

cat /boot/grub/grub.cfg | grep menuentry

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.