From 4dce1c800b12d9aeb766f55f74431390e369dab3 Mon Sep 17 00:00:00 2001 From: Thomas Cole Date: Wed, 30 Jun 2021 12:08:17 -0400 Subject: [PATCH] grub boot fix, DID THE KERNEL EVEN INSTALL? --- archinstall.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/archinstall.sh b/archinstall.sh index 0e32fc2..56f1b85 100755 --- a/archinstall.sh +++ b/archinstall.sh @@ -70,7 +70,7 @@ partition () { echoc " - Formatting disk..." $GREEN #DANGER ZONE - parted --script $DISK -- mklabel gpt mkpart ESP fat32 1Mib 129MiB set 1 boot on mkpart primary ext4 129MiB 100% + parted --script $DISK -- mklabel gpt mkpart ESP fat32 1Mib 500MiB set 1 boot on mkpart primary ext4 500MiB 100% wipefs ${DISK}1 wipefs ${DISK}2 @@ -89,13 +89,14 @@ partition () { sysinstall () { echoc " - Updating mirror list. This might take a while." $YELLOW - reflector --protocol https --sort rate --country 'United States' --save /etc/pacman.d/mirrorlist --verbose + #reflector --protocol https --sort rate --country 'United States' --save /etc/pacman.d/mirrorlist --verbose echoc " - Installing system." $GREEN - pacstrap /mnt + pacstrap /mnt base base-devel linux linux-firmware nano echoc " - Installing bootloader." $GREEN - arch-chroot /mnt pacman -Syy grub efibootmgr + arch-chroot /mnt pacman -Syy grub efibootmgr os-prober + echo "GRUB_DISABLE_OS_PROBER=false" > /mnt/etc/default/grub arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg