From af306aeb76238f9ae5cb714ea445447c51968daf Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Thu, 8 Jul 2021 06:55:13 -0400 Subject: [PATCH] Update install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index aae9dd5..d80ca41 100644 --- a/install.sh +++ b/install.sh @@ -191,8 +191,8 @@ sed -i 's/#\(GRUB_ENABLE_CRYPTODISK=y\)/\1/' /mnt/etc/default/grub echo "" >> /mnt/etc/default/grub echo -e "# Booting with BTRFS subvolume\nGRUB_BTRFS_OVERRIDE_BOOT_PARTITION_DETECTION=true" >> /mnt/etc/default/grub sed -i 's# part_msdos##g' /mnt/etc/default/grub -sed -i 's#rootflags=subvol=${rootsubvol} ##g' /mnt/etc/grub.d/10_linux -sed -i 's#rootflags=subvol=${rootsubvol} ##g' /mnt/etc/grub.d/20_linux_xen +sed -i 's#rootflags=subvol=${rootsubvol}##g' /mnt/etc/grub.d/10_linux +sed -i 's#rootflags=subvol=${rootsubvol}##g' /mnt/etc/grub.d/20_linux_xen # Adding keyfile to the initramfs to avoid double password. dd bs=512 count=4 if=/dev/random of=/mnt/cryptkey/.root.key iflag=fullblock &>/dev/null