Parted mkpart full disk

Post Reply
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Parted mkpart full disk

Post 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 ?
Chris
Site Admin
Posts: 129
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: Parted mkpart full disk

Post 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%
Post Reply