]> git.parisson.com Git - clone-me.git/commitdiff
fix efi install
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 29 Jan 2024 13:43:21 +0000 (14:43 +0100)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 29 Jan 2024 13:43:21 +0000 (14:43 +0100)
tc_clone_nuc_nv_efi.sh

index baa7d5a20c2ccef7011232cec81e4e3d54accf08..f55ad96e4a740fd3e9bad296ae0593b7290106d1 100755 (executable)
@@ -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