diff options
Diffstat (limited to 'setupdisk.sh')
-rw-r--r-- | setupdisk.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setupdisk.sh b/setupdisk.sh index e9cd692..0a058c7 100644 --- a/setupdisk.sh +++ b/setupdisk.sh @@ -1,5 +1,7 @@ #!/bin/bash +printf "%b" " ${IGRN}Creating primary partition at \ +${IWHT}${LFS_DISK}${RST}...\n" sudo fdisk "${LFS_DISK}" >/dev/null 2>&1 << EOF o n @@ -19,4 +21,6 @@ w q EOF +printf "%b" " ${IGRN}Formatting ${IWHT}${LFS_DISK}${LFS_PART} with \ +${YLW}EXT4${IGRN} filesystem and label ${IWHT}${LFS_VER}${RST}...\n" sudo /sbin/mkfs -t ext4 -L "${LFS_VER}" -F "${LFS_DISK}${LFS_PART}" >/dev/null 2>&1 |