Enable Grub menu for access to Ubuntu maintenance mode

In the Ubuntu cloud images, it is not possible to get to the GRUB menu to edit kernel parameters. You need to edit the grub settings for that. There are two files you need to edit to make sure that the Grub menu will be accessible during boot:

  • /etc/default/grub
  • /etc/default/grub.d/50-cloudimg-settings.cfg

 

Example lines to edit

  • /etc/default/grub
GRUB_HIDDEN_TIMEOUT=5
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=5
  • /etc/default/grub.d/50-cloudimg-settings.cfg
GRUB_RECORDFAIL_TIMEOUT=0
GRUB_TIMEOUT=5
GRUB_CMDLINE_LINUX_DEFAULT="console=tty"
GRUB_TERMINAL=console

 

Run update-grub as root after modification, now after a reboot press Shift or Escape key during boot when you see the countdown.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.