mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 06:48:00 +01:00
remove -a optimal from parted for now
This commit is contained in:
parent
03b9da27c4
commit
a0e24d0e93
1 changed files with 2 additions and 2 deletions
|
@ -580,7 +580,7 @@ if [ "$1" = "format" ]; then
|
|||
echo "error='partition cleaning failed'"
|
||||
exit 1
|
||||
fi
|
||||
sudo parted -s -a optimal -- /dev/${hdd} mklabel gpt 1>/dev/null 1>&2
|
||||
sudo parted -s /dev/${hdd} mklabel gpt 1>/dev/null 1>&2
|
||||
sleep 2
|
||||
sync
|
||||
fi
|
||||
|
@ -595,7 +595,7 @@ if [ "$1" = "format" ]; then
|
|||
if [ $ext4IsPartition -eq 0 ]; then
|
||||
# write new EXT4 partition
|
||||
>&2 echo "# Creating the one big partition"
|
||||
sudo parted -a optimal /dev/${hdd} mkpart primary ext4 0% 100% 1>&2
|
||||
sudo parted /dev/${hdd} mkpart primary ext4 0% 100% 1>&2
|
||||
sleep 6
|
||||
sync
|
||||
# loop until the partition gets available
|
||||
|
|
Loading…
Add table
Reference in a new issue