From 3bae5a919f3d40f836554313a5302a956914c431 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 18 Apr 2020 20:55:19 -0400 Subject: grub.cfg has to be on an accessible boot part (/boot not /efi) --- build.sh | 2 +- install.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 33b8233..f48561d 100755 --- a/build.sh +++ b/build.sh @@ -24,6 +24,6 @@ sh mod.sh sh config.sh sh source.sh -grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB +grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg mkinitcpio -P diff --git a/install.sh b/install.sh index 729e6d8..443f465 100755 --- a/install.sh +++ b/install.sh @@ -35,8 +35,8 @@ if [ ! -e installed ]; then mkfs.ext4 /dev/Crypt/root mount /dev/Crypt/root /mnt - mkdir /mnt/efi - mount ${PART}1 /mnt/efi + mkdir /mnt/boot + mount ${PART}1 /mnt/boot swapon /dev/Crypt/swap pacstrap /mnt base || exit 1 @@ -47,7 +47,7 @@ if [ ! -e installed ]; then else cryptsetup open ${PART}2 cryptlvm mount /dev/Crypt/root /mnt - mount ${PART}1 /mnt/efi + mount ${PART}1 /mnt/boot fi sudo install -d /mnt/root/dotfiles cp -r . /mnt/root/dotfiles -- cgit