Skip to main content
Notes by Peter Galonza(Пётр Галонза)
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Grub

Edit in Grub menu

  1. Choose edit in Grub menu
  2. Add in linux line init=/bin/bash
  3. Change ro to rw
  4. Remove single, splash and quiet words

Generate configuration file

grub-mkconfig -o /boot/grub2/grub.cfg

Linux kernel options

Speculation protection disable

GRUB_CMDLINE_LINUX="mitigations=off"

older then5.1.13

GRUB_CMDLINE_LINUX="PR_SPEC_DISABLE_NOEXEC nospectre_v2 nospectre_v1"

Troubleshooting

No sound after upgrading to linux 5.4.1

GRUB_CMDLINE_LINUX="snd_hda_intel.dmic_detect=0"