installer: suppress "Error: /dev/sda: unrecognised disk label" on empty disk

This commit is contained in:
mglae 2020-10-20 19:48:40 +02:00
parent 49a0e028ad
commit 25fdeab358

View File

@ -180,7 +180,7 @@ do_install_quick() {
{ {
# remove all partitions # remove all partitions
msg_progress_install "1" "Get all partitions $INSTALL_DEVICE" msg_progress_install "1" "Get all partitions $INSTALL_DEVICE"
get_partition $INSTALL_DEVICE get_partition $INSTALL_DEVICE 2>>$LOGFILE
msg_progress_install "5" "Wiping disk $INSTALL_DEVICE" msg_progress_install "5" "Wiping disk $INSTALL_DEVICE"
dd if=/dev/zero of=$INSTALL_DEVICE bs=4096 count=1024 2>>$LOGFILE dd if=/dev/zero of=$INSTALL_DEVICE bs=4096 count=1024 2>>$LOGFILE