You are on page 1of 3

Configuring GRUB

to view the contents of the /etc/default/grub file try running the following
command in the terminal window

The /etc/default/grub file contents


To edit the contents or to add some contents, we will need to access the
/etc/default/grub file by opening it with any text editor of our choice,
preferably the nano editor. This can be done by running the command
stated below in our terminal

When the /etc/default/grub file opens with the nano editor, it should look
like this
Whenever you make any changes to the /etc/default/grub file, you must
update Grub for the newly made changes to take effect. This can be done
by running the following command in the terminal

For example to edit the background of the GRUB menu screen first we
open the /etc/default/grub file with the nano editor, then we add the
following line to the file

After we added that line we need to exit and save the new settings, then we
update the new settings to grub

You might also like