Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
Look in /boot for the initrd.img-* files. –  Alex R. Feb 3 at 18:06
add comment

1 Answer 1

up vote 3 down vote accepted

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

cat /boot/grub/grub.cfg | grep menuentry
share|improve this answer
    
Thank you! You saved me a lot of time –  user241861 Feb 3 at 18:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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