GNU Linux GRUB customizations and automation
Customizing GNU GRUB Multiboot boot loader for Linux.
Table of Contents
Remove splash screen at login
echo 'GRUB_CMDLINE_LINUX_DEFAULT="quiet"' >> /etc/default/grubAdd splash option to enable Plymouth
cat <<EOF >> /etc/default/grub
if ! echo "$GRUB_CMDLINE_LINUX_DEFAULT" | grep -q splash; then
    GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT splash"
fi
EOFSetup grub theme
Force a 16x9 mode first, then 16x10, then default for grub theme.
cat <<EOF >> /etc/default/grub.d/kali-themes.cfg
GRUB_GFXMODE="1280x720,1280x800,auto"
GRUB_THEME="/boot/grub/themes/kali/theme.txt"
EOFChange grub background
Replace the background image mentioned in kali/theme.txt i.e.
/boot/grub/themes/kali/background.png.