How To Configure GRUB2 Boot Loader
How To Configure GRUB2 Boot Loader
$ cat /etc/default/grub
Sample output:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefef
ef"
# Uncomment to disable graphical terminal (grub-pc
only)
#GRUB_TERMINAL=console
# note that you can use only modes which your graphic
card supports via VBE
#GRUB_GFXMODE=640x480
#GRUB_DISABLE_LINUX_UUID=true
#GRUB_DISABLE_RECOVERY="true"
Whenever you made any changes in this file, you must run the following
command to apply the changes to the GRUB2.
$ sudo update-grub
Download – Free eGuide: “22 Useful Tweaks To Make Ubuntu Feel Like Home”
$ sudo update-grub
You can increase or decrease this timeout setting. If the value is “0”, the
default OS will immediately start to boot. If the value is “5” , the boot menu
will appear for 5 seconds, so that you can select which OS you want to load
when the system starts.
You can use JPG/JPEG format images as well. But GRUB supports only
256 color JPG/JPEG image formats only. So, it is better to use PNG format
images.
GRUB_BACKGROUND="/home/sk/ostechnix.png"
Once you made the necessary changes in the GRUB file, Save and close
it.
$ sudo update-grub