diff --git a/setup.sh b/setup.sh index 182c497..e789f84 100644 --- a/setup.sh +++ b/setup.sh @@ -58,13 +58,14 @@ bootmirror=""; rootraidz=""; for disk in `echo "$disks"`; do bootmirror="$bootmi # refresh drives or there are missing partitions partprobe 2>/dev/null 1>/dev/null -# wait for the partitions to show up -for disk in `echo "$disks"` -do - while ! [ -e "/dev/disk/by-id/${disk}-part3" ]; do +# wait for the partitions to show up +for disk in `echo "$disks"` +do + while ! [ -e "/dev/disk/by-id/${disk}-part3" ]; do partprobe 2>/dev/null 1>/dev/null - sleep 1 - done + echo "Waiting for ${disk} partition 3 to update..." + sleep 3 + done done echo ""