1. Temporarily add a kernel parameter
Kernel parameters tend to be not needed generally, and adding one you often do as little other than testing. In this case it's best to just add it temporarily for one boot directly from the Grub menu, the black OS-picker menu you get when starting the computer. If you dual-boot with e.g. Windows and have not specifically adjusted things you should get said menu on startup automatically; if you single-boot you may not without on a UEFI system tapping the Esc key at the point that the boot transitions from BIOS to disk or on a Legacy system holding down Left-Shift at that time.
Once in the Grub menu you highlight the relevant Linux boot entry, use
e
to edit it and add the suggested kernel parameter on the "linux" line, instead of or before or after where it normally says "quiet splash". An example when the suggested kernel parameter is i915.enable_fbc=0
would beCode: Select all
linux /boot/vmlinuz-5.8.0-53-generic root=UUID=12345678-1234-5678-9abc-123456789abc ro quiet splash i915.enable_fbc=0
cat /proc/cmdline
that indeed the parameter was specified.2. "Permanently" add a kernel parameter
Permanently in the sense of not needing to provide it manually per boot: it is otherwise of course as easily undone as done. For this you add the parameter to /etc/default/grub with e.g.
Code: Select all
sudo nano /etc/default/grub
i915.enable_fbc=0
isCode: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_fbc=0"
sudo update-grub
and reboot. You can again once booted verify from cat /proc/cmdline
that the parameter was specified.