The `---pretend-input-tty` parameter doesn't work for me on parted 3.3-4 in Ubuntu 20.
I ended up having to use fdisk to delete and then re-create the partition: ``` printf "d\nn\np\n1\n\n\nn\np\nw\n" | fdisk -B /dev/sda ```
The `---pretend- input-tty` parameter doesn't work for me on parted 3.3-4 in Ubuntu 20.
I ended up having to use fdisk to delete and then re-create the partition: n1\n\n\ nn\np\nw\ n" | fdisk -B /dev/sda
```
printf "d\nn\np\
```