mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
installer: suppress "Error: /dev/sda: unrecognised disk label" on empty disk
This commit is contained in:
parent
49a0e028ad
commit
25fdeab358
@ -180,7 +180,7 @@ do_install_quick() {
|
||||
{
|
||||
# remove all partitions
|
||||
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"
|
||||
dd if=/dev/zero of=$INSTALL_DEVICE bs=4096 count=1024 2>>$LOGFILE
|
||||
|
Loading…
x
Reference in New Issue
Block a user