mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-09-05 16:37:17 -04:00
Manually specify EFI directory
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ rc-update add NetworkManager
|
|||||||
# bootloader installation and configuration
|
# bootloader installation and configuration
|
||||||
pacman -S grub efibootmgr os-prober mtools dosfstools --noconfirm
|
pacman -S grub efibootmgr os-prober mtools dosfstools --noconfirm
|
||||||
if [ "$boot" == 1 ]; then
|
if [ "$boot" == 1 ]; then
|
||||||
grub-install --target=x86_64-efi --bootloader-id=GRUB-rwinkhart --recheck
|
grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=GRUB-rwinkhart --recheck
|
||||||
fi
|
fi
|
||||||
if [ "$boot" == 2 ]; then
|
if [ "$boot" == 2 ]; then
|
||||||
grub-install --target=i386-pc "$disk"
|
grub-install --target=i386-pc "$disk"
|
||||||
|
|||||||
Reference in New Issue
Block a user