From f579d5095a27b713b47cef8af7b8dac0fadd0bc1 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 25 Mar 2023 16:21:51 +0100 Subject: fix grub command --- nais | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nais b/nais index c501fb8..f967fad 100755 --- a/nais +++ b/nais @@ -126,10 +126,10 @@ install_arch() { if [ "$BOOT_MODE" = "bios" ]; then arch-chroot /mnt grub-install --target=i386-pc --recheck "/dev/$DISK" else - arch-chroot /mnt grub-install --target=x86_64-efi --efi-direcotry=/boot/EFI --bootloader-id=GRUB --recheck + arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=GRUB --recheck fi - grub-mkconfig -o /boot/grub/grub.cfg + arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg echo Finished. exit -- cgit v1.2.3-70-g09d2