Added a delay before mkfs command to fix error "The file /dev/sda1 does not exist and no size was specified."
This commit is contained in:
parent
70b9ef1b09
commit
e6900006b0
1 changed files with 1 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ info "fs create" "Creating ${target_partition}"
|
|||
parted --script --align optimal "${target_drive}" mkpart primary ext4 0% 100%
|
||||
|
||||
info "fs create" "Creating ext4 filesystem on ${target_partition}"
|
||||
sleep 5
|
||||
mkfs -t ext4 -L rootfs "${target_partition}"
|
||||
|
||||
info "fs id" "Getting UUID for target partition"
|
||||
|
|
|
|||
Loading…
Reference in a new issue