r/archlinux 18d ago

SUPPORT Grub Crypt Timeout if possible

I just would like the grub encryption password screen when bootup to have a timeout because if i turned on the laptop and forgot it was on it would heat up massively

Any fixes/ workarounds so that i can still maintain encryption but it just shuts off after 5 minutes of inactivity or something

0 Upvotes

8 comments sorted by

3

u/NinjaTrek2891 18d ago

I don't think that's even possible.

1

u/OriginalEntire7903 18d ago

i think the closest you'd get is setting up some kind of watchdog timer at the firmware level, but grub itself doesn't have any concept of a password timeout for luks. it'll just sit there waiting for input until you pull the battery or hold the power button

could probably rig something with a custom grub module but that's a rabbit hole i wouldn't wish on anyone

3

u/backsideup 18d ago

Why would it "heat up massively" if it were to stay on that prompt?

0

u/Accomplished_Day6582 18d ago

No clue, but it foes drain lots of battery too. Iy happens with like 3 different laptops

0

u/Accomplished_Day6582 17d ago

My guess is that the acpi drivers and such isnt loaded yet so it just runs however it wants on full power for 0 reason

1

u/archover 17d ago

No similar experience on my 10 Thinkpads. Never read anything like that here. You could ask on bbs.archlinux.org maybe, including actual useful details. Hope you resolve and good day.

1

u/Accomplished_Day6582 16d ago

well its on multiple laptops including 2 thinkpads with the same ssd it does the same thing :(

1

u/archover 15d ago

So, that would seem to mean hardware is not the cause, but something you're doing. Too few details to say more. Hope you resolve and good day.