fix: add --no-nvram to efi grub-install to preserve built-in boot order

This commit is contained in:
Aiden McClelland
2026-02-26 14:48:33 -07:00
parent d422cd3c66
commit e74f8db887
2 changed files with 2 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ fi
chroot /media/startos/next bash -e << "EOF"
if [ -f /boot/grub/grub.cfg ]; then
grub-install /dev/$(eval $(lsblk -o MOUNTPOINT,PKNAME -P | grep 'MOUNTPOINT="/media/startos/root"') && echo $PKNAME)
grub-install --no-nvram /dev/$(eval $(lsblk -o MOUNTPOINT,PKNAME -P | grep 'MOUNTPOINT="/media/startos/root"') && echo $PKNAME)
update-grub
fi