lbwww/site/docs/linux/index.md

6.1 KiB

title x-toc-enable
Linux guides true

You should specifically use argon2id. Please ensure this, because some older LUKS2 setups defaulted to the weaker argon2i. This post by Matthew Garret contains information about that:

https://mjg59.dreamwidth.org/66429.html

NOTE: You should also read the instructions about about GRUB_TERMINAL.

Rebooting system in case of freeze

Linux kernel has a feature to do actions to the system any time, even with it freezes, this is called a Magic SysRq keys. You can do these actions with Alt + Sysrq + Command. These are the actions:

  • Alt + SysRq + B: Reboot the system
  • Alt + SysRq + I: Send SIGKILL to every process except PID 1
  • Alt + SysRq + O: Shut off the system

If some of them don't work, you have to enable it in the kernel command line paramter. So append sysrq_always_enabled=1 to your GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub

You can also run # sysctl kernel.sysrq=1 to enable them.

Fedora won't boot?

This may also apply to CentOS or Redhat. Chroot guide can be found on fedora website

linux16 issue

Libreboot's default GRUB config sources fedora's grub config grub.cfg (in /boot/grub2/grub.cfg), fedora by default makes use of the linux16 command, where it should be saying linux

Do this in fedora:

Open /etc/grub.d/10_linux

Set the sixteenbit variable to an empty string, then run:

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

BLS issue

With newer versions of fedora, scripts from grub package default to generating BLS instead of grub.cfg. To change that behaviour add following line to /etc/default/grub (or modify existing one if it already exists):

GRUB_ENABLE_BLSCFG=false

Then generate grub.cfg with:

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