Not getting grub menu on reboot

Been like this for a while, it boots straight into EnOS. Not really bothered me until today as it is not a dual-boot, but I am trying to bottom a problem (slow WIFI) on the zen kernel.

Any ideas?

# Grub boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="EndeavourOS"
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 nowatchdog intel_iommu=on,igfx_off"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 intel_iommu=on,igfx_off"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME="/usr/share/grub/themes/endeavouros-galleon/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
GRUB_SAVEDEFAULT="false"
GRUB_DISABLE_SUBMENU=y
System:
  Kernel: 5.12.9-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
  Desktop: GNOME 40.1 Distro: Arch Linux
Machine:
  Type: Laptop System: Notebook product: W65_67SZ v: N/A serial: N/A
  Mobo: Notebook model: W65_67SZ serial: N/A UEFI: American Megatrends
  v: 1.03.05 date: 02/26/2014
Battery:
  ID-1: BAT0 charge: 52.3 Wh (100.0%) condition: 52.3/62.2 Wh (84.1%)
  volts: 12.6 min: 11.1 model: Notebook BAT status: Full
Memory:
  RAM: total: 15.55 GiB used: 5.34 GiB (34.3%)
  Array-1: capacity: 32 GiB slots: 4 EC: None max-module-size: 8 GiB
  note: est.
  Device-1: ChannelA-DIMM0 size: 8 GiB speed: 1600 MT/s type: DDR3
  Device-2: ChannelA-DIMM1 size: No Module Installed
  Device-3: ChannelB-DIMM0 size: 8 GiB speed: 1600 MT/s type: DDR3
  Device-4: ChannelB-DIMM1 size: No Module Installed
CPU:
  Info: Dual Core model: Intel Core i5-4310M bits: 64 type: MT MCP
  arch: Haswell rev: 3 cache: L2: 3 MiB
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  bogomips: 21550
  Speed: 882 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 882 2: 2510
  3: 2694 4: 1103
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics
  vendor: CLEVO/KAPOK driver: i915 v: kernel bus-ID: 00:02.0
  Display: server: X.Org 1.20.11 driver: loaded: modesetting
  unloaded: fbdev,vesa resolution: 1600x900~60Hz
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2)
  v: 4.5 Mesa 21.1.2 direct render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
  vendor: CLEVO/KAPOK driver: snd_hda_intel v: kernel bus-ID: 00:03.0
  Device-2: Intel 8 Series/C220 Series High Definition Audio
  vendor: CLEVO/KAPOK driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  Sound Server-1: ALSA v: k5.12.9-zen1-1-zen running: yes
  Sound Server-2: JACK v: 0.125.0 running: no
  Sound Server-3: PulseAudio v: 14.2 running: no
  Sound Server-4: PipeWire v: 0.3.30 running: yes
Network:
  Device-1: Intel Wireless 7260 driver: iwlwifi v: kernel port: f040
  bus-ID: 04:00.0
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  vendor: CLEVO/KAPOK driver: N/A port: e000 bus-ID: 05:00.2
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb
  v: 0.8 bus-ID: 3-7:2
  Report: This feature requires one of these tools: hciconfig/bt-adapter
Drives:
  Local Storage: total: 2.1 TiB used: 941.38 GiB (43.7%)
  ID-1: /dev/sda vendor: Seagate model: ST2000LM003 HN-M201RAD
  size: 1.82 TiB temp: 29 C
  ID-2: /dev/sdb vendor: Samsung model: SSD 860 EVO 250GB
  size: 232.89 GiB
  ID-3: /dev/sdc type: USB vendor: SanDisk model: Ultra Fit
  size: 57.28 GiB
Partition:
  ID-1: / size: 223.79 GiB used: 173.88 GiB (77.7%) fs: btrfs
  dev: /dev/sdb2
  ID-2: /boot/efi size: 299.4 MiB used: 1.8 MiB (0.6%) fs: vfat
  dev: /dev/sdb1
  ID-3: /home size: 223.79 GiB used: 173.88 GiB (77.7%) fs: btrfs
  dev: /dev/sdb2
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
  dev: /dev/sdb3
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 333 Uptime: 6m Init: systemd Compilers: gcc: 11.1.0
  clang: 12.0.0 Packages: 2241 Shell: Zsh v: 5.8 inxi: 3.3.03

It’s probably caused by the change to running os-prober by default:

https://wiki.archlinux.org/title/GRUB#Detecting_other_operating_systems

But this is not a dual boot??

1 Like

I need to slow down when I read things. I read your OP as (paraphrasing) “it didn’t bother me because I don’t normally boot something other than EnOS”. :pensive:

There’s nothing obvious in the config you’ve posted, so have you e.g. regenerated the menu recently, and what’s the contents of /boot/grub/grub.cfg? (e.g. is there more than one item?)

1 Like
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod btrfs
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3ff8ff8b-71b4-402a-82c6-24ddd0b82628
else
  search --no-floppy --fs-uuid --set=root 3ff8ff8b-71b4-402a-82c6-24ddd0b82628
fi
    font="/@/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_GB
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod btrfs
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3ff8ff8b-71b4-402a-82c6-24ddd0b82628
else
  search --no-floppy --fs-uuid --set=root 3ff8ff8b-71b4-402a-82c6-24ddd0b82628
fi
insmod gfxmenu
loadfont ($root)/@/usr/share/grub/themes/endeavouros-galleon/dejavu_32.pf2
loadfont ($root)/@/usr/share/grub/themes/endeavouros-galleon/dejavu_sans_12.pf2
loadfont ($root)/@/usr/share/grub/themes/endeavouros-galleon/dejavu_sans_14.pf2
loadfont ($root)/@/usr/share/grub/themes/endeavouros-galleon/dejavu_sans_16.pf2
loadfont ($root)/@/usr/share/grub/themes/endeavouros-galleon/dejavu_sans_24.pf2
loadfont ($root)/@/usr/share/grub/themes/endeavouros-galleon/dejavu_sans_48.pf2
loadfont ($root)/@/usr/share/grub/themes/endeavouros-galleon/terminus-12.pf2
loadfont ($root)/@/usr/share/grub/themes/endeavouros-galleon/terminus-14.pf2
loadfont ($root)/@/usr/share/grub/themes/endeavouros-galleon/terminus-16.pf2
loadfont ($root)/@/usr/share/grub/themes/endeavouros-galleon/terminus-18.pf2
insmod png
set theme=($root)/@/usr/share/grub/themes/endeavouros-galleon/theme.txt
export theme
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'EndeavourOS, on linux-zen' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-advanced-3ff8ff8b-71b4-402a-82c6-24ddd0b82628' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	else
	  search --no-floppy --fs-uuid --set=root 3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	fi
	echo	'Loading kernel linux-zen ...'
	linux	/@/boot/vmlinuz-linux-zen root=UUID=3ff8ff8b-71b4-402a-82c6-24ddd0b82628 rw rootflags=subvol=@  quiet loglevel=3 nowatchdog intel_iommu=on,igfx_off
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/intel-ucode.img /@/boot/initramfs-linux-zen.img
}
menuentry 'EndeavourOS, on linux-zen (fallback initramfs)' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-fallback-3ff8ff8b-71b4-402a-82c6-24ddd0b82628' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	else
	  search --no-floppy --fs-uuid --set=root 3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	fi
	echo	'Loading kernel linux-zen ...'
	linux	/@/boot/vmlinuz-linux-zen root=UUID=3ff8ff8b-71b4-402a-82c6-24ddd0b82628 rw rootflags=subvol=@  quiet loglevel=3 nowatchdog intel_iommu=on,igfx_off
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/initramfs-linux-zen-fallback.img
}
menuentry 'EndeavourOS, on linux-lts' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-3ff8ff8b-71b4-402a-82c6-24ddd0b82628' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	else
	  search --no-floppy --fs-uuid --set=root 3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	fi
	echo	'Loading kernel linux-lts ...'
	linux	/@/boot/vmlinuz-linux-lts root=UUID=3ff8ff8b-71b4-402a-82c6-24ddd0b82628 rw rootflags=subvol=@  quiet loglevel=3 nowatchdog intel_iommu=on,igfx_off
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/intel-ucode.img /@/boot/initramfs-linux-lts.img
}
menuentry 'EndeavourOS, on linux-lts (fallback initramfs)' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-3ff8ff8b-71b4-402a-82c6-24ddd0b82628' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	else
	  search --no-floppy --fs-uuid --set=root 3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	fi
	echo	'Loading kernel linux-lts ...'
	linux	/@/boot/vmlinuz-linux-lts root=UUID=3ff8ff8b-71b4-402a-82c6-24ddd0b82628 rw rootflags=subvol=@  quiet loglevel=3 nowatchdog intel_iommu=on,igfx_off
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/initramfs-linux-lts-fallback.img
}
menuentry 'EndeavourOS, on linux' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-3ff8ff8b-71b4-402a-82c6-24ddd0b82628' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	else
	  search --no-floppy --fs-uuid --set=root 3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	fi
	echo	'Loading kernel linux ...'
	linux	/@/boot/vmlinuz-linux root=UUID=3ff8ff8b-71b4-402a-82c6-24ddd0b82628 rw rootflags=subvol=@  quiet loglevel=3 nowatchdog intel_iommu=on,igfx_off
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/intel-ucode.img /@/boot/initramfs-linux.img
}
menuentry 'EndeavourOS, on linux (fallback initramfs)' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-3ff8ff8b-71b4-402a-82c6-24ddd0b82628' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	else
	  search --no-floppy --fs-uuid --set=root 3ff8ff8b-71b4-402a-82c6-24ddd0b82628
	fi
	echo	'Loading kernel linux ...'
	linux	/@/boot/vmlinuz-linux root=UUID=3ff8ff8b-71b4-402a-82c6-24ddd0b82628 rw rootflags=subvol=@  quiet loglevel=3 nowatchdog intel_iommu=on,igfx_off
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/initramfs-linux-fallback.img
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/41_snapshots-btrfs ###
submenu 'Arch Linux snapshots' {
    configfile "${prefix}/grub-btrfs.cfg"
}
### END /etc/grub.d/41_snapshots-btrfs ###

I have never edited this, so it should be standard. Regenerated grub 4-5 times today.

1 Like

Right, was checking that there are multiple entries so GRUB isn’t just picking the only one available.

You didn’t at some point update the BIOS and acidently enabled fast boot or similar setting did you?

Just 3 kernels:

Linux - getting reasonable speeds 20 mbits
Zen - piss poor less than 3 mbits
LTS - not tried a speed test yet.

To test any changes I make, I have to shut down completely to get the grub menu up to change the kernel.

If it’s the wired connection (sorry if you mentioned that) try removing R8168.

Nevermind you stated wifi

This sounds familiar… I know Windows has a “fast reboot” feature that’s not really a reboot… is that a hardware thing, e.g. “fast resume”…?

I also kind of wonder whether it’s a GNOME 40 “feature”…

Occurs on all DEs, I have Plasma and bspwm installed (and some more exotic wms like Berry :smiley: )

@BONK WIFI Intel 7260 not wired.

Using speedtest-cli - linux:

Hosted by Boundless Networks (Leeds) [30.59 km]: 38.169 ms
Testing download speed................................................................................
Download: 15.01 Mbit/s
Testing upload speed......................................................................................................
Upload: 10.24 Mbit/s

(Streaming a film from PRime ATM) will shutdown and select zen BRB.

Hosted by Boundless Networks (Leeds) [30.59 km]: 45.281 ms
Testing download speed................................................................................
Download: 14.28 Mbit/s
Testing upload speed......................................................................................................
Upload: 9.98 Mbit/s

Hmmmm perhaps I have found a problem that may be just pure co-incidence :smiley:

They are installing full fibre in my area in Sheffield, I wonder if they screwed something up…??? I have fibre, but copper to the cabinet ATM.

Anyway this is not the problem :rofl:

1 Like

does this even exist? could be grub interpreting it as GRUB_SAVEDEFAULT=true ? as to not using it you would comment the line…

1 Like

It’s a btrfs thang, stops the sparse file error message. But worth a go :smiley:

:edit: no change :frowning:

Think it is time to start planning a reinstall.

@jonathon @joekamprad just a thought, could it be caused by something in the UEFI settings?

BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0005,0006,0000
Boot0000  endeavouros
Boot0005* UEFI OS
Boot0006* UEFI: SanDisk

Moved it to UEFI OS - no change :frowning: