Linux VM (Ubuntu 22.04) - Grub-Menu invisible
-
Hi,
Have you runsudo update-grubafter changing your configuration? -
@GuillaumeHullin said in Linux VM (Ubuntu 22.04) - Grub-Menu invisible:
Hi,
Have you runsudo update-grubafter changing your configuration?Yes, I did
-
2 ideas:
- What is the value of
GRUB_TIMEOUT_STYLE? - Do you have a GPU connected? it's a shot in the dark but I got this kind of issue because of GPU drivers... but on bare-metal machines

- What is the value of
-
I'm not sure to why you are setting up serial connection?
@KPS said in Linux VM (Ubuntu 22.04) - Grub-Menu invisible:
GRUB_TERMINAL="serial"
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"I'm pretty new on XCP-ng... but I'm pretty sure the "console" of a VM is not a "serial console".
FYI, this is my
/etc/default/grubGRUB_DEFAULT=0 GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX="" -
@GuillaumeHullin
This was just something, I found while googeling...
I did use your config, but still:- Black screen instead of the boot-menu.
-
@GuillaumeHullin said in Linux VM (Ubuntu 22.04) - Grub-Menu invisible:
GRUB_TIMEOUT_STYLE
I did change GRUB_TIMEOUT_STYLE from "hidden" to "timeout".
Now, the system is counting down from 5 to 1 (on a screen, where the rest is black), but the menu is still missing -
@KPS Are you geographically separated from your XCP-ng hosts? I've noticed from time to time due to internet latency that I don't always see the grub menu.
-
@KPS said in Linux VM (Ubuntu 22.04) - Grub-Menu invisible:
GRUB_TIMEOUT_STYLE
Set it to
menuIf ‘GRUB_TIMEOUT_STYLE’ is set to ‘countdown’ or ‘hidden’, the timeout is instead counted before the menu is displayed.
Source: https://www.gnu.org/software/grub/manual/grub/html_node/Simple-configuration.html -
@GuillaumeHullin
That was the trick!GRUB_TIMEOUT_STYLE="menu" did solve it!
-
@KPS Glad to hear

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login