From f3cbbe2b6da7257e5cfc6332b5ea1c7ddd82f5f9 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 12 Jan 2020 17:49:44 +0100 Subject: Added debug echos. --- util/partition_disk.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/partition_disk.sh b/util/partition_disk.sh index 6164d1b..a7a1087 100644 --- a/util/partition_disk.sh +++ b/util/partition_disk.sh @@ -23,6 +23,7 @@ boot_mode=$2 # "UEFI" or "BIOS" if [ "$boot_mode" == "UEFI" ]; then + echo "Partitioning for UEFI mode." wipefs -a $disk_path # make sure that fdisk does not ask for removing # signatures which breaks the script fdisk $disk_path << EOF @@ -45,6 +46,7 @@ EOF echo "Partitioned disk for UEFI/GPT- OK" elif [ "$boot_mode" == "BIOS" ]; then + echo "Partitioning for BIOS mode." wipefs -a $disk_path # make sure that fdisk does not ask for removing # signatures which breaks the script fdisk $disk_path << EOF -- cgit v1.2.3-70-g09d2