grub boot fix, DID THE KERNEL EVEN INSTALL?
This commit is contained in:
parent
6ff3f2fd86
commit
4dce1c800b
@ -70,7 +70,7 @@ partition () {
|
|||||||
echoc " - Formatting disk..." $GREEN
|
echoc " - Formatting disk..." $GREEN
|
||||||
|
|
||||||
#DANGER ZONE
|
#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}1
|
||||||
wipefs ${DISK}2
|
wipefs ${DISK}2
|
||||||
@ -89,13 +89,14 @@ partition () {
|
|||||||
|
|
||||||
sysinstall () {
|
sysinstall () {
|
||||||
echoc " - Updating mirror list. This might take a while." $YELLOW
|
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
|
echoc " - Installing system." $GREEN
|
||||||
pacstrap /mnt
|
pacstrap /mnt base base-devel linux linux-firmware nano
|
||||||
|
|
||||||
echoc " - Installing bootloader." $GREEN
|
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-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
|
||||||
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
|
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user