aboutsummaryrefslogtreecommitdiffstats
path: root/arch_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch_install.sh')
-rwxr-xr-xarch_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch_install.sh b/arch_install.sh
index 0b24ab6..92d08b9 100755
--- a/arch_install.sh
+++ b/arch_install.sh
@@ -51,7 +51,7 @@ pacman --noconfirm -S grub efibootmgr os-prober
#mkdir /boot/efi
#mount $efipartition /boot/efi
#grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
-grub-install --target=i386-pc /dev/sda
+grub-install --target=i386-pc $drive
sed -i 's/quiet/pci=noaer/g' /etc/default/grub
sed -i 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=0/g' /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg