I am running Lubuntu 18.04(updated to latest kernel 5.0.0-36-generic) as the only operating system on my laptop.
I tried setting a grub bootloader password following the guide here https://help.ubuntu.com/community/Grub2/Passwords
I modified the
40_custom file in
sudo gedit /etc/grub.d/40_custom set superusers="tom" password tom somepasswordhere /* I did not use grub-mkpasswd-pbkdf2 */ sudo update-grub
The last command ran succesfully. So I restarted the system and a prompt appears:
error:can't find command 'hwmatch'. Enter Username: tom Enter Password: somepasswordhere
But the password/username does not work:
error access denied. Failed to boot both default and fallback entries. Press any key to continue.
I need some clarifications:
Should the user name I select is to be random or the one I used to install Lubuntu/root/login username/any thing else ?
Is the bug
error:can't find command 'hwmatch'
causing this ?
- Any keyboard settings causing this ?
I am fairly certain that I am typing the correct password(numlock,capslock etc.) at the prompt. Please note that in 18.04 the above method also protects any submenu in grub. So pressing "c","e" won't work.