Grub menu not visible on ubuntu 22.04 canonical

Dennis Muller 0 Reputation points
2024-05-28T15:06:28.44+00:00

I have created an ubuntu 22.04 server using the canonical market place image

I followed these steps:

  1. In a text editor, open the /etc/default/grub.d/50-cloudimg-settings.cfg file.
  2. Change the GRUB_TIMEOUT value to a non-zero value.
  3. In a text editor, open /etc/default/grub.
  4. Comment out the GRUB_HIDDEN_TIMEOUT=1 line.
  5. Ensure that there's a GRUB_TIMEOUT_STYLE=menu line.
  6. Run sudo update-grub.

However, even after rebooting the vm the grub menu is not visible, nor am I able to access it with Esc or Shift.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,033 questions
{count} votes

1 answer

Sort by: Most helpful
  1. hossein jalilian 11,055 Reputation points Volunteer Moderator
    2024-05-28T20:43:46.2633333+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    To resolve this issue, comment out GRUB_HIDDEN_TIMEOUT to disable it and set GRUB_TIMEOUT=5. After making these changes, verify that the modifications have been correctly applied by checking the generated grub.cfg.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.