summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 47df852..0140510 100755
--- a/install.sh
+++ b/install.sh
@@ -31,7 +31,7 @@ setup_btrfs () {
DEVICE=$1
mkfs.btrfs -f -L GENTOO $DEVICE
- mkdir /mnt/install
+ mkdir -p /mnt/install
mount -o compress=lzo $DEVICE /mnt/install
btrfs subvolume create /mnt/install/@
@@ -147,6 +147,7 @@ else
# user done the partitioning
setup_btrfs $partition
if [[ ! -z $UEFI_MODE ]]; then
+ mkdir -p /mnt/install/boot/efi
read -erp "Enter formatted EF00 ESP partition for EFI: " -i "/dev/sda1" efi_partition
mount $efi_partition /mnt/install/boot/efi
fi