From: Guillaume Pellerin Date: Mon, 29 Jan 2024 13:43:21 +0000 (+0100) Subject: fix efi install X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=79c1a0d3674455152b9b61b3ba670036819b9365;p=clone-me.git fix efi install --- 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