summaryrefslogtreecommitdiff
path: root/stages/first_stage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stages/first_stage.sh')
-rw-r--r--stages/first_stage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/stages/first_stage.sh b/stages/first_stage.sh
index 204548f..ad2f6d4 100644
--- a/stages/first_stage.sh
+++ b/stages/first_stage.sh
@@ -97,8 +97,8 @@ fi
if [ "$luks_encryption" == "no" ];then
if [ "$boot_mode" == "bios" ];then
- mkfs.ext4 ${disk_path}1
- e2label ${disk_path}1 "ROOT"
+ mkfs.ext4 ${path_to_disk}1
+ e2label ${path_to_disk}1 "ROOT"
elif [ "$boot_mode" == "uefi" ];then
echo "Sorry, UEFI is not ready to use ..."
exit 1