2

I want to change my default boot OS in GRUB2. But the only way I know of seeing the order of the OS I want in the GRUB menu is doing a reboot and seeing the menu displayed.

In grub.cfg there are many more menuentry lines than actual choices in the GRUB menu, so I can't identify in that file the one I want.

Is there any place where the actually displayed menu is stored so that I can see it without having to reboot?

6

I believe grub-emu should work for you

sudo apt-get install grub-emu

Then in terminal execute

grub-emu

enter image description here

See here for details

  • 1
    Yep, this is the answer. Thanks! By the way, how do you close the grub-emu window? When I open it, my keyboard becomes unresponsive and the only thing that works is closing the terminal window from which I run grub-emu. – ARX Nov 19 '17 at 2:19
  • @ARX Have you tried the reboot or exit command in GRUB? – daisy Nov 19 '17 at 2:27
  • Can't. No keyboard. While grub-emu's window is focused, it's dead. – ARX Nov 19 '17 at 5:03
  • 1
    NOTE: Type in the ORIGINAL shell window (where you start it from), not the "display"-window. After c (for grub prompt) and then exit the Shell-prompt is missing, type reset (a command from 'terminfo') and ENTER to get it back. – Hannu Nov 19 '17 at 17:08
  • That last comment should be added to the answer IMHO. – pchaigno May 8 '18 at 10:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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