aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-04-18 20:55:19 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-04-18 20:55:19 -0400
commit3bae5a919f3d40f836554313a5302a956914c431 (patch)
tree89f2f591dc8cace72cd5d549a1f6fb0fc98cdeb4
parent2641baf1ce203722fe9c864489d95e618c999c53 (diff)
grub.cfg has to be on an accessible boot part (/boot not /efi)
-rwxr-xr-xbuild.sh2
-rwxr-xr-xinstall.sh6
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