Fix relative/chroot path
This commit is contained in:
parent
af9eda2a85
commit
c52b6171ea
@ -21,7 +21,7 @@ echo "~> Configuring 'grub' for $bootloader"
|
||||
if [ "$bootloader" == "EFI" ]; then
|
||||
arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=BOOT
|
||||
# thanks to Virtualbox, this step is necessary
|
||||
cp /boot/EFI/BOOT/{grubx64.efi,BOOTX64.EFI}
|
||||
cp /mnt/boot/EFI/BOOT/{grubx64.efi,BOOTX64.EFI}
|
||||
else
|
||||
arch-chroot /mnt grub-install --target=i386-pc /dev/*da
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user