packed-arch/scripts/40-bootloader.sh

6 lines
221 B
Bash
Raw Normal View History

2024-07-09 14:10:04 +00:00
#!/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