How to permanently set kernel boot options on an installed OS (not wubi) – grub

Before doing the steps below, take a backup. To permanently change the default kernel boot options, press ALT+F2 or open a terminal from system > accessories > terminal. Type in the following command:
$ gksudo gedit /etc/default/grub <enter>

A text editor will open with the grub configuration file. Near the top of that file you will see something very similar to this:
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash
GRUB_CMDLINE_LINUX=””

I want to change quiet splash to quiet splash nomodeset. To do this, add custom boot options to the GRUB_CMDLINE_LINUX_DEFAULT line, so for instance:
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash nomodeset
GRUB_CMDLINE_LINUX=””

Save the file and exit gedit. If you have to add kernel options that contain quotation marks, add them as such:
$ sudo update-grub <enter>

Leave a Reply

  

  

  

Blue Captcha Image
Refresh

*

October 2019
M T W T F S S
« Sep    
 123456
78910111213
14151617181920
21222324252627
28293031