Browse Source

added verbose output for mkfs

Toastie 1 year ago
parent
commit
f244148526
1 changed files with 3 additions and 3 deletions
  1. 3 3
      bootstrap-bookworm.sh

+ 3 - 3
bootstrap-bookworm.sh

@@ -85,7 +85,7 @@ then
   partprobe $disk --summary
 
   # Format disks -- pkg: e2fsprogs dosfstools and to file system check
-  mkfs.ext4 $disk1 && e2fsck $disk1
+  mkfs.ext4 --verbose $disk1 && e2fsck $disk1
 fi
 
 if [ "$partition" = "efi-crypt" ]
@@ -112,8 +112,8 @@ then
   partprobe $disk --summary
   
   # Format disks -- pkg: e2fsprogs dosfstools and to file system check
-  mkfs.fat  -F 32 -n EFIBOOT $disk0 && fsck $disk0
-  mkfs.ext4 $disk1 && fsck $disk1
+  mkfs.fat  --verbose -F 32 -n EFIBOOT $disk0 && fsck $disk0
+  mkfs.ext4 --verbose  $disk1 && fsck $disk1
 
   # Prepare mount points and mount
   mkdir $mnt"/boot/efi"