From b6f2acfaa6070f715b14bc570ac14aa66a5d7391 Mon Sep 17 00:00:00 2001 From: Amy Date: Sun, 12 Dec 2021 20:10:30 +0000 Subject: [PATCH] fix refind config issue --- citrine.internal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index 3e11722..8aff202 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -366,7 +366,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 }' | sed "s/\[//")" + root="$(findmnt -n -o SOURCE /mnt | awk 'BEGIN { FS = "/" }; { print $3 }' | sed "s/\[//")" arch-chroot /mnt refind-install echo '"Crystal Linux" "rw root=/dev/placeholder rootflags=subvol=@"' > /mnt/boot/refind_linux.conf sed -i "s/placeholder/$root/" /mnt/boot/refind_linux.conf