1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-25 02:51:32 -05:00

Update install.sh

This commit is contained in:
TommyTran732 2021-04-23 14:26:53 +00:00 committed by tommytran732
parent eca936f69f
commit 5406351f40
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -204,6 +204,8 @@ arch-chroot /mnt /bin/bash -e <<EOF
# Installing GRUB.
echo "Installing GRUB on /boot."
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/20_linux_xen
# Creating grub config file.
echo "Creating GRUB config file."