Trying grub boot instead

This commit is contained in:
Thomas Cole 2021-06-30 10:03:35 -04:00
parent 267a4f2ae7
commit c6a082fc2b

View File

@ -10,7 +10,7 @@ ENDCOLOR="\e[0m"
MACADDRS=( MACADDRS=(
52:54:00:2a:41:b1 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:ad:12
1c:69:7a:63:83:e1 1c:69:7a:63:83:e1
1c:69:7a:63:ac:45 1c:69:7a:63:ac:45
@ -95,11 +95,12 @@ sysinstall () {
pacstrap /mnt pacstrap /mnt
echoc " - Installing bootloader." $GREEN 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 #arch-chroot /mnt bootctl install
#echo "default arch timeout 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 #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 echoc " - Updating fstab." $GREEN
genfstab -t PARTUUID /mnt >> /mnt/etc/fstab genfstab -t PARTUUID /mnt >> /mnt/etc/fstab