Kernel parameters can be used to change some kernel settings at boot time. You can change the parameter temporary (only for a single boot) or permanently.
To display the current kernel parameter run:
$ cat /proc/cmdline
These changes are valid only once. If you restart your system, they no longer hold.
Reboot
Open the grub menu at boot
Use „arrow key up“ or „arrow key down“ to stop the countdown
If the grub menu does not appear, press „shift“ several times during booting
Select the desired kernel entry
Press „e“
Edit the line, which starts with linux
. The last words on this line are the kernel parameters.
Press „F10“ to boot
For example:
menuentry 'Ubuntu, with Linux 3.5.0-54-generic (Writable)' --class ubuntu --class gnu-linux --class gnu --class os { |
linux /vmlinuz-3.5.0-54-generic root=/dev/mapper/faramir-root ro quiet splash |
The three kernel parameters in this example are ro quiet splash
.
$ sudo nano /etc/default/grub
Add your parameters to the line:
GRUB_CMDLINE_LINUX_DEFAULT=„quiet splash“
(this line may contain different kernel parameters)
It should look like this:
GRUB_CMDLINE_LINUX_DEFAULT=„quiet splash yourParameter=1
$ sudo update-grub
reboot the pc