From c6a082fc2b6084cdf30cefca5c3e559746308789 Mon Sep 17 00:00:00 2001 From: Thomas Cole Date: Wed, 30 Jun 2021 10:03:35 -0400 Subject: [PATCH] Trying grub boot instead --- archinstall.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/archinstall.sh b/archinstall.sh index f1d2f26..a02ef0b 100755 --- a/archinstall.sh +++ b/archinstall.sh @@ -10,7 +10,7 @@ ENDCOLOR="\e[0m" MACADDRS=( 52:54:00:2a:41:b1 - 52:54:00:2a:41:b2 + 52:54:00:a9:73:cb 1c:69:7a:63:ad:12 1c:69:7a:63:83:e1 1c:69:7a:63:ac:45 @@ -95,11 +95,12 @@ sysinstall () { pacstrap /mnt echoc " - Installing bootloader." $GREEN - arch-chroot /mnt bootctl install + grub-install ${DISK}1 + grub-mkconfig -o /boot/grub/grub.cfg - echo "default arch \ntimeout 4" > /mnt/boot/loader/loader.conf - - echo "title Arch Linux \nlinux /vmlinuz-linux \ninitrd /initramfs-linux.img \noptions root=PARTUUID=$(blkid -s PARTUUID -o value "$part_root") rw" > /mnt/boot/loader/entries/arch.conf + #arch-chroot /mnt bootctl install + #echo "default arch timeout 4" > /mnt/boot/loader/loader.conf + #echo "title Arch Linux linux /vmlinuz-linux initrd /initramfs-linux.img options root=PARTUUID=$(blkid -s PARTUUID -o value "$part_root") rw" > /mnt/boot/loader/entries/arch.conf echoc " - Updating fstab." $GREEN genfstab -t PARTUUID /mnt >> /mnt/etc/fstab