Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Grub2 Password


In Libreboot

    1. Generate the HASH of the password
grub2-mkpasswd-pbkdf2

The output should be something like

grub.pbkdf2.sha512.10000.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    1. Open with sudo /etc/grub.d/40_custom. At the end add:
#──────────────────────────────────────
set superusers="admin"
password_pbkdf2 admin grub.pbkdf2.sha512.10000.XXXXXXXXXXXXXXXXXXXXXXXX
#──────────────────────────────────────
    1. Update grub
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
sudo reboot
    1. Test Test with "e", it should ask for an user and a password.