Skip to content

Instantly share code, notes, and snippets.

@NTB45
NTB45 / Boot_to_different_os_in_rEFInd.md
Last active May 11, 2023 14:55
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