From 9e14556177445d9eb88a8f028a4d71044147b19a Mon Sep 17 00:00:00 2001 From: Amy Date: Tue, 16 Nov 2021 22:31:55 +0100 Subject: [PATCH] fixed refind config to adjust for btrfs --- citrine.internal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index 9bf80b1..971ef32 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -365,7 +365,7 @@ echo "%wheel ALL=(ALL) ALL" >> /mnt/etc/sudoers if [[ "$EFI" == "yes" ]]; then 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 + echo '"Crystal Linux" "rw root=/dev/placeholder rootflags=subvol=@"' > /mnt/boot/refind_linux.conf sed -i "s/placeholder/$root/" /mnt/boot/refind_linux.conf else arch-chroot /mnt curl https://git.getcryst.al/crystal/Syslinux_install_script/raw/branch/master/syslinux-install_update -o /usr/bin/syslinux-install_update