You are not logged in.

#1 2021-10-16 09:14:47

light9876
Member
Registered: 2020-01-05
Posts: 131

[SOLVED] Let protected GRUB boot into system without entering password

I am following these instructions to set a password to my GRUB (after I discovered it's possible to reset the root password through GRUB):

https://wiki.archlinux.org/title/GRUB/T … _GRUB_menu

But this requires me to enter the password every time I restart the PC.

Is there a way to let GRUB boot into arch without having to enter the password?

* * *

The other solution is to supperss the menu:

https://wiki.archlinux.org/title/GRUB/T … _held_down

But setting `GRUB_FORCE_HIDDEN_MENU="true"` still makes it accessible by repeatedly pressing `ctrl+shift+alt+down` until it shows up.

Is there a way to hide GRUB completely?

* * *

I understand that there are other possibilities to reset the root password (booting into a USB). But I'm not worried about that.

Last edited by light9876 (2021-10-16 19:02:56)

Offline

#2 2021-10-16 10:40:36

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED] Let protected GRUB boot into system without entering password

Security theater. You should encrypt your system.

If you absolutely don't want that and just want the false sense of security, don't use grub, use systemd-boot and disable the editor in your loader config.

Offline

#3 2021-10-16 19:02:19

light9876
Member
Registered: 2020-01-05
Posts: 131

Re: [SOLVED] Let protected GRUB boot into system without entering password

Thank you. I will attemp this on my next arch install.

For now I found a solution: By following exactly the opposite of what this segment says:

https://wiki.archlinux.org/title/Silent … RUB_silent

So that

/etc/default/grub

contains:

GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT=1
GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT
GRUB_FORCE_HIDDEN_MENU="true"

Last edited by light9876 (2021-10-16 19:02:44)

Offline

Board footer

Powered by FluxBB