Open jhamfler opened 5 years ago
Same problem here. I got it running by changing the console language.
LANG=en_US sudo ./live-usb-maker
Base problem is that parted did its output in German which states
... Festplatte /dev/sdb: 123456789B ...
While the sed command expects
... Disk /dev/sdb: 123456789B ...
Division by zero since parted printed the wrong format. Also I had to install parted. Maybe check at beginning if it is available.
Error:
Problem: total_size wasn't set
empty:
sudo parted --script /dev/sdc unit MiB print 2>/dev/null | sed -rn "s/^Disk.*: ([0-9]+)MiB$/\1/p"
not empty: