Skip to content

Instantly share code, notes, and snippets.

View NTB45's full-sized avatar
πŸ˜€
😭

Nabeel Akhtar NTB45

πŸ˜€
😭
View GitHub Profile
@NTB45
NTB45 / Boot_to_different_os_in_rEFInd.md
Last active March 17, 2025 14:52
Reboot to different OS in rEFInd

Filler

So, after looking at Darkhogg's "Reboot to {OS}" scripts for rEFInd Next Boot selection scripts I realised that that method doesn't work for me.

I could not find the PreviousBoot file at /sys/firmware/efi/efivars.

So, I started looking around the rEFInd efi directory and voila Its in the /boot/efi/EFI/refind/vars directory.

How to do it

So instead of modifying the contents of the file