User Tools

Site Tools


linux:grub

This is an old revision of the document!


Silent Grub

vi /etc/default/grub
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vga=current loglevel=0 rd.systemd.show_status=false rd.udev.log_priority=3 vt.global_cursor_default=0"
#/sys/class/drm/card0-DP-1/edid
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=DP-1:1920x1080@60D drm_kms_helper.edid_firmware=DP-1:edid/edid.bin"
GRUB_CMDLINE_LINUX="quiet splash vga=current loglevel=0 rd.systemd.show_status=false rd.udev.log_priority=3 vt.global_cursor_default=0"
#GRUB_GFXPAYLOAD_LINUX=auto
GRUB_TERMINAL=console
#GRUB_GFXMODE="1920x1080x32"
#GRUB_GFXMODE=1920x1080,1024x768x32,auto
GRUB_GFXPAYLOAD_LINUX="keep"
GRUB_DISABLE_OS_PROBER=true
# 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=1920x1080
#640x480

GRUB_GFXPAYLOAD_LINUX=“keep” - keeps the resolution and avoids plymouth flickering
GRUB_CMDLINE_LINUX=“quiet” - lowers log level and boot output
GRUB_CMDLINE_LINUX=“splash” - shows plymouth splash screen/animation if installed
GRUB_CMDLINE_LINUX=“vga=current” - keeps current vga resolution - other values in table below
GRUB_CMDLINE_LINUX=“loglevel=0 rd.systemd.show_status=false rd.udev.log_priority=3” - lowers loglevel even further than quiet
GRUB_CMDLINE_LINUX=“vt.global_cursor_default=0” - disable blinking cursor

sudo update-grub

Available VGA Modes:

Color bits Colors 640×480 800×600 1024×768 1280×1024 1400×1050 1600×1200
8 bits 256 colors 769 771 773
15 bits 32,768 colors 784 787 790
16 bits 65,536 colors 785 788 791 794 834
24 bits 16,777,216 colors 786 789 792
linux/grub.1597614837.txt.gz · Last modified: 2023/05/29 11:53 (external edit)