I have a Dell R170 server with Ubuntu installed on it. It is in UEFI boot mode. The system boots properly.
I have configured /etc/default/grub with options that should make it display the grub menu and wait 5 seconds before booting the default option. These settings work for other other systems in BIOS boot mode, and for libvirtd VMs that are in either BIOS or UEFI boot mode. Every time I change /etc/default/grub I run sudo update-grub
.
I have been unable to figure out how to get it to show the grub menu and wait for the configured 5 seconds. What have I overlooked? I've tried a LOT of things to try and fix it, so far without success.
This is the contents of /etc/default/grub:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=5
GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="splash reboot=pci delayacct --backround=/boot/grub/splash.png"
GRUB_CMDLINE_LINUX="elevator=none"
In the end, I got it working with
GRUB_TERMINAL=console
. Which is a little bit annoying as I was wanting to have a background image for grub. But I have already successfully customized the plymouth boot splash screen and don't NEED a background for grub. The hostname for the system isgandalf
.Do you use a GPT disk label? Share the output of
fdisk -l
.Make sur you have
/boot/efi
EFI System partition mounted. If it's mounted and you are using GPT disk label for partitions, you can run the following command to update the config:This should update
/boot/efi/EFI/ubuntu/grub.cfg
and/boot/grub2/grub.cfg
files.