packed-arch/scripts/40-bootloader.sh
2024-07-09 16:10:04 +02:00

6 lines
221 B
Bash

#!/bin/bash
arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=BOOT
cp /mnt/boot/EFI/BOOT/{grubx64.efi,BOOTX64.EFI} 2>&1 || true
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg