From 79c1a0d3674455152b9b61b3ba670036819b9365 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 29 Jan 2024 14:43:21 +0100 Subject: [PATCH] fix efi install --- tc_clone_nuc_nv_efi.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tc_clone_nuc_nv_efi.sh b/tc_clone_nuc_nv_efi.sh index baa7d5a..f55ad96 100755 --- a/tc_clone_nuc_nv_efi.sh +++ b/tc_clone_nuc_nv_efi.sh @@ -126,10 +126,13 @@ mount --bind /proc $CLONE/proc mount --bind /dev $CLONE/dev mount --bind /dev/pts $CLONE/dev/pts -# GRUB -chroot $CLONE grub-install /dev/nvme0n1 +# GRUB EFI +chroot apt install grub-efi +chroot grub-install chroot $CLONE update-initramfs -u chroot $CLONE update-grub +chroot file /boot/efi/EFI/debian/grubx64.efi +chroot efibootmgr --verbose | grep debian # UMOUNT umount $CLONE/dev/pts -- 2.39.5