Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lmz
on July 21, 2024
|
parent
|
context
|
favorite
| on:
Don't snipe me in space-intentional flash corrupti...
For EFI you could probably set BootNext to something else early on, in combination with some restarting watchdog. GRUB can store state between boots
https://www.gnu.org/software/grub/manual/grub/html_node/Envi...
and has "default" and "fallback" vars.
westurner
on July 22, 2024
[–]
So the bootloader would always advance nextboot= to the next boot entry, and a process after a successful boot must update nextboot=$thisbootentry?
Is there another way with fewer write() calls?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: