From 40d03a6da87d68df219e83d130acbd66050eeddb Mon Sep 17 00:00:00 2001 From: maride Date: Mon, 31 Jul 2017 00:51:32 +0200 Subject: [PATCH] Mount partitions as part of formatting step --- steps/30-formatting.step | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/steps/30-formatting.step b/steps/30-formatting.step index 652988b..1855be1 100755 --- a/steps/30-formatting.step +++ b/steps/30-formatting.step @@ -21,3 +21,8 @@ fi echo "~> Formatting $rootformat EXT4" mkfs.ext4 $rootformat + +echo "~> Mount partitions" +mount $rootformat /mnt +mkdir -b /mnt/boot +mount ${blockdevice}1 /mnt/boot