aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-04-15 17:23:19 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-04-15 17:23:19 -0400
commit293fd940d6e309683f18c2a45d5ba1ce45d96003 (patch)
tree30e8ba3b1f39cd5a893e028be6c9ae63302ef64a
parent582d98e7b61e60b1a4c879d5c320ee9708f25d1e (diff)
moved mounting
-rwxr-xr-xinstall.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index 6c1ee08..fbc60ad 100755
--- a/install.sh
+++ b/install.sh
@@ -35,14 +35,14 @@ EOF
yes | mkfs.vfat ${PART}1
yes | mkfs.ext4 ${PART}2
-mount ${PART}2 /mnt
-mkdir /mnt/efi
-mount ${PART}1 /mnt/efi
pacstrap /mnt base
genfstab -U /mnt >> /mnt/etc/fstab
cp -r . /mnt
touch installed
fi
+mount ${PART}2 /mnt
+mkdir /mnt/efi
+mount ${PART}1 /mnt/efi
#echo "arch-chroot into the new system and run dotfiles/build.sh"
ip link
arch-chroot /mnt << EOF