mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-23 14:40:45 +01:00
mklabel msdos if there is no partition
This commit is contained in:
parent
cc7094d2a0
commit
f281489a36
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ if [ ${hddExists} -eq 0 ]; then
|
|||
echo "Press ENTER to create a Partition - or CTRL+C to abort"
|
||||
read key
|
||||
echo "Creating Partition ..."
|
||||
sudo parted -s /dev/sda mklabel msdos
|
||||
sudo parted -s /dev/sda unit s mkpart primary `sudo parted /dev/sda unit s print free | grep 'Free Space' | tail -n 1`
|
||||
echo "DONE."
|
||||
sleep 3
|
||||
|
|
Loading…
Add table
Reference in a new issue