[HOW TO] add a grub parameter

There may be times that a user must add a specialized grub parameter in order to overcome an issue.
The purpose of this guide is not to provide parameters, as that would be a case by case basis. It is to provide a guide on how to add one.

To add a parameter, in a terminal (TTY, Recovery Prompt or Terminal Emulator) run:

sudo nano /etc/default/grub

Arrow key down to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" and place your parameter within the quotation tags. For example if you are adding the nomodeset parameter, it would look like:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
Once the parameter is added, tap ctrl+x to exit the nano editor.
Then tap the y key to say yes to save.
Finally, tap the enter key to save the current configuration of the file.

With Grub, once this is done, you must update grub in order for the parameter to be used.
Run in terminal:

sudo update-grub

At this point, the new parameter is added and grub is updated. Job complete.

4 Likes

To make (the same, temporarily) changes before the machine boots:

1) Start the system and wait for the GRUB menu to show (if you don't see the GRUB menu, press and hold the left Shift key right after starting the system).

2) down to and select Advanced Options...

3) Highlight the kernel you want to use, and press the e key. You should be able to see and edit the commands associated with the highlighted kernel.

4) down to the line starting with linux and add your grub parameter (for example, nomodeset) to the end of that line.

5) It is recommended that if you're doing this, you also add noplymouth, so you can see the boot messages as they scroll by. That disables the boot splash screen.

6) Press Ctrl + x to boot.

1 Like