aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-03-25 16:21:51 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-03-25 16:21:51 +0100
commitf579d5095a27b713b47cef8af7b8dac0fadd0bc1 (patch)
tree34ece1e53b3ecbc7e12eba643fb8fa4860d5ab9b
parent0ffa63e278cbd627019ce83791efbc53fb796d32 (diff)
fix grub command
-rwxr-xr-xnais4
1 files 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