Page 1 of 1

Parted mkpart full disk

Posted: Wed Feb 17, 2021 4:30 pm
by mister_v
Hello,

How do I tell parted to use the full disk when creating a new partition.
It always ask for a beginning and end.

Code: Select all

mkpart primary ext4 0 ?

Re: Parted mkpart full disk

Posted: Wed Feb 17, 2021 4:52 pm
by Chris
standard the numbers are MB, you can lookup the size and the free space with print.

If you want to create an new partition on an empty disk,
the easiest way is using percentage:

Code: Select all

mkpart primary ext4 0% 100%