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

index 4ff9ca85f8bd0376afce28579590e4c3b64949ca..604182f356dc00fc40b5ebb127f9fa541b9bf698 100755 (executable)
@@ -128,12 +128,12 @@ mount --bind /dev $CLONE/dev
 mount --bind /dev/pts $CLONE/dev/pts
 
 # GRUB EFI
-chroot apt install grub-efi
-chroot grub-install
+chroot $CLONE apt install grub-efi
+chroot $CLONE grub-install
 chroot $CLONE update-initramfs -u
 chroot $CLONE update-grub
-chroot file /boot/efi/EFI/debian/grubx64.efi
-chroot efibootmgr --verbose | grep debian
+chroot $CLONE file /boot/efi/EFI/debian/grubx64.efi
+chroot $CLONE efibootmgr --verbose | grep debian
 
 # UMOUNT
 umount $CLONE/dev/pts