From 8433260bbcd7bcb1b5873c3de486072497820133 Mon Sep 17 00:00:00 2001 From: amy Date: Thu, 28 Oct 2021 13:29:07 +0200 Subject: [PATCH] final fix for refind installation, actually fully works now --- citrine.internal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index 0ba187b..ddb9ce7 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -316,7 +316,7 @@ echo "# Enabled by Crystalinstall (citrine)" >> /mnt/etc/sudoers echo "%wheel ALL=(ALL) ALL" >> /mnt/etc/sudoers if [[ "$EFI" == "yes" ]]; then - root="$(findmnt -n -o SOURCE / | awk 'BEGIN { FS = "/" }; { print $3 }')" + root="$(findmnt -n -o SOURCE /mnt/ | awk 'BEGIN { FS = "/" }; { print $3 }')" arch-chroot /mnt refind-install echo '"Crystal Linux" "rw root=/dev/placeholder"' > /mnt/boot/refind_linux.conf sed -i "s/placeholder/$root/" /mnt/boot/refind_linux.conf