From: Guillaume Pellerin Date: Mon, 29 Jan 2024 13:47:57 +0000 (+0100) Subject: fix chroot X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=866d2f44bde8d4043a0daf8655abe03e3ad6f40f;p=clone-me.git fix chroot --- diff --git a/tc_clone_nuc_nv_efi.sh b/tc_clone_nuc_nv_efi.sh index 4ff9ca8..604182f 100755 --- a/tc_clone_nuc_nv_efi.sh +++ b/tc_clone_nuc_nv_efi.sh @@ -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