This morning, there was a grub update in Pacman. The update caused an error when it attempted to update grub.cfg after install (no no additional grub.cfg updates will work until resolved). The error was because of a missing close " caused by the GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1 resume=UUID=***** line added in this document. https://endeavouros.com/docs/hardware-and-network/graphic-cards-gpu-driver-and-setup/nvidia/nvidia-optional-enhancements-and-troubleshooting/. I closed the quote, saved the grub file and was able to reinstall grub. It added duplicate grub entries that deeded removed on reboot, which I did. Everything is installed and running fine now, but on shut down and start up the Grub terminal stuff shows up which wasn’t happening before. Not sure if the command needs edited or what.
You mean the boot up and shutdown messages?
If you don’t want to see them, you could add
GRUB_CMDLINE_LINUX_DEFAULT line in
/etc/default/grub and update the grub:
sudo grub-mkconfig -o /boot/grub/grub.cfg
and why do you add example into your real config? it says there you should add
resume=UUID=***** and all the rest of the example is there to show exactly the place where you should add the option…
Yes, and I figured as much about quiet. Just odd that they didn’t show before.
The rest of the info is added as well. It was just the missing quote that caused the error. Here is my full .cfg
# GRUB boot loader configuration GRUB_DISABLE_SUBMENU="y" GRUB_DEFAULT="0" GRUB_TIMEOUT="13" GRUB_DISTRIBUTOR="EndeavourOS" GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1 resume=UUID=*****" 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="1024x768" # 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"
this is not your UUID and as i say it was anexample you have removed the settings that was there before and replaced them with example text that will not work for you you only need to add the option for nvidia:
nvidia-drm.modeset=1 adding in additional what was there before, and not replacing anything…
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 nowatchdog"
is what it would look like per default without using swap and hibernate if you have enabled swap and hibernate it would look like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 resume=UUID=the-uuid-of-your-swap-partition-here nowatchdog"
uuid is the unique id nr of a device:
you can check yours by this in a terminal:
ls -l /dev/disk/by-uuid/
this is the /etc/grub/default
so your line needs to be exactly that if you do not want to use hibernate sleep e.t.c.:
GRUB_CMDLINE_LINUX_DEFAULT="quiet nvidia-drm.modeset=1 loglevel=3 nowatchdog"
that is exactly one line and it has " to close the line after nowatchdog
Duh, I guess I did have the uuid in there originally. I’ll give this a try. Thanks!
Feel free to delete my idiot post. All is good.
we do not believe in stupid questions
Is better a question asked than forgotten or never get an answer. Always wondering?