There are a few changes I like to make in the default GRUB setup.
There are many GRUB themes to choose from in this repo.
I’ll be installing CRT-Amber-GRUB.
git clone https://github.com/Jacksaur/CRT-Amber-GRUB-Theme
/boot/grub/themes:sudo mv CRT-Amber-GRUB-Theme/ /boot/grub/themes/
Edit /etc/default/grub and set:
GRUB_THEME=/boot/grub/themes/CRT-Amber-GRUB-Theme/theme.txt
Run the following to update GRUB:
sudo grub-mkconfig -o /boot/grub/grub.cfg
sparse file not allowed ErrorIf GRUB shows this error when selecting an OS:
sparse file not allowed
press any key to continue
It usually happens with BTRFS and bootloader saving default boot entries.
To fix:
/etc/default/grub# GRUB_SAVEDEFAULT=truesudo grub-mkconfig -o /boot/grub/grub.cfg
If you see a weird low-res boot screen after GRUB (common on non-GPU setups):
/etc/default/grub# GRUB_GFXPAYLOAD_LINUX=keepsudo grub-mkconfig -o /boot/grub/grub.cfg
If the GRUB menu itself shows in low resolution:
c to enter the GRUB console.videoinfo
to list supported resolutions.1920x1080x32) and open /etc/default/grubGRUB_GFXMODE line like this:GRUB_GFXMODE=1920x1080x32sudo grub-mkconfig -o /boot/grub/grub.cfg
You can also test the resolution live in GRUB with:
set gfxmode=1920x1080x32 && terminal_output gfxterm
thennormalto return to the main menu