A few days back I needed to get the nVidia drivers and their kernel modules installed. After some time with help from here we managed to get me up and running on the nVidia drivers, but there was an accidental trade off. As you can see from the image below each kernel is listed when I reboot instead of having a Grub menu of EndeavourOS, Endeavour Advanced Options, BTRFS options, and UEFI option. I’d like to get this corrected. In the nVidia thread a couple of suggestions were made that did not seem to work, so I thought a stand alone thread would be better. My Grub is below. Thanks
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR="EndeavourOS"
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 nowatchdog"
GRUB_CMDLINE_LINUX=""
module_blacklist=nouveau
# 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=/boot/grub/themes/EndeavourOS/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="true"
GRUB_DISABLE_SUBMENU=y
I guess so it can be easily installed as a package. The alias has to go into your .bashrc and that’s a bit more complicated to implement automatically. What if you’re using zsh? Or some obscure shell, like fish? I guess that’s why they made it a script.
Idk, the whole thing seems a bit silly to me, just do grub-mkconfig -o /boot/grub/grub.cfg. It’s not like you’re running this command several times a day and you’re actually saving some time by not typing it out in full…
OK waited a while before revisiting this. Mow that the one issue is resolved I’d like to know how difficult it would be to get the advanced menu to actually show the kernel versions. I’m use to being able to click advanced options during boot and seeing listed a couple of the current kernel I’m running, a couple of the previous kernel, and a couple of older kernels. The way it is now the 4 listed are all 5.8.10 as far as I know. To me that’s a problem if there happens be a bug that affects all the 5.8.10 kernels, there no rolling back to say 5.8.9, 5.7?, or 4,?.? if needed. The only option at that point is to use Timeshift. Would like help fixing this if possible. Thanks