1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-13 21:51:33 -05:00

Update install.sh

This commit is contained in:
TommyTran732 2021-05-22 01:42:12 -04:00 committed by tommytran732
parent eacbb16edb
commit 1c7bda2c2b
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -266,8 +266,8 @@ arch-chroot /mnt /bin/bash -e <<EOF
# Installing GRUB. # Installing GRUB.
echo "Installing GRUB on /boot." echo "Installing GRUB on /boot."
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB &>/dev/null grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB &>/dev/null
sed -i 's#"rootflags=subvol=${rootsubvol} ##g' /etc/grub.d/10_linux #sed -i 's#"rootflags=subvol=${rootsubvol} ##g' /etc/grub.d/10_linux
sed -i 's#"rootflags=subvol=${rootsubvol} ##g' /etc/grub.d/20_linux_xen #sed -i 's#"rootflags=subvol=${rootsubvol} ##g' /etc/grub.d/20_linux_xen
# Creating grub config file. # Creating grub config file.
echo "Creating GRUB config file." echo "Creating GRUB config file."