leomeinel/arch-install

Consider using --removable for games

leomeinel opened this issue · 0 comments

Detecting if the volume is attached via USB and using --removable flag for grub-install will prevent the external disk overwriting NVRAM and should allow external storage to boot without an entry in it.

https://man.archlinux.org/man/grub-install.8.en#removable

Another option would be just using different --bootloader-id for the branches.

For my usecase it doesn't make a lot of sense since I'll be running 'games' on an external ssd and 'main' on an internal nvme. 'server' will be running on a different machine, so there shouldn't be a problem with any overwrites.