Mount partitions as part of formatting step

This commit is contained in:
maride 2017-07-31 00:51:32 +02:00
parent 94570d65a4
commit 40d03a6da8

View File

@ -21,3 +21,8 @@ fi
echo "~> Formatting $rootformat EXT4" echo "~> Formatting $rootformat EXT4"
mkfs.ext4 $rootformat mkfs.ext4 $rootformat
echo "~> Mount partitions"
mount $rootformat /mnt
mkdir -b /mnt/boot
mount ${blockdevice}1 /mnt/boot