User Tools

Site Tools


linux:grub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:grub [2020/08/16 22:40] – created Wulf Rajeklinux:grub [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 18: Line 18:
 GRUB_TERMINAL=console GRUB_TERMINAL=console
 #GRUB_GFXMODE="1920x1080x32" #GRUB_GFXMODE="1920x1080x32"
 +#GRUB_GFXMODE=1920x1080,1024x768x32,auto
 GRUB_GFXPAYLOAD_LINUX="keep" GRUB_GFXPAYLOAD_LINUX="keep"
 GRUB_DISABLE_OS_PROBER=true GRUB_DISABLE_OS_PROBER=true
Line 26: Line 27:
 #640x480 #640x480
 </code> </code>
 +
 +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
  
 <code> <code>
 sudo update-grub sudo update-grub
 </code> </code>
 +
 +
 +After a boot entry has been selected in GRUB2, for a short time (1-2 sec) another screen is displayed which shows:
 +<code>
 +Loading linux...
 +Loading initial ramdisk ...
 +</code>
 +To suppress this output, edit /etc/grub.d/10_linux
 +<code>
 +quiet_boot=0
 +and comment out all instances of:
 +#  if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
 +#    message="$(gettext_printf "Loading Linux %s ..." ${version})"
 +#    sed "s/^/$submenu_indentation/" << EOF
 +#       echo    '$(echo "$message" | grub_quote)'
 +#EOF
 +#  fi
 +
 +then
 +sudo update-grub
 +</code>
 +
 +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 |775
 +|15 bits |32,768 colors |784 |787 |790 |793
 +|16 bits |65,536 colors |785 |788 |791 |794 |834 |884
 +|24 bits |16,777,216 colors |786 |789 |792 |795
 +
linux/grub.1597614050.txt.gz · Last modified: 2023/05/29 11:53 (external edit)