bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22190: mkpart: "primary" unrecognised


From: Brian C. Lane
Subject: bug#22190: mkpart: "primary" unrecognised
Date: Thu, 17 Dec 2015 08:57:31 -0800
User-agent: Mutt/1.5.24 (2015-08-30)

On Thu, Dec 17, 2015 at 04:16:53PM +1300, worik wrote:
> $ sudo parted -s /dev/sdb mkpart primary 0 8000
> parted: invalid token: primary
> Error: Expecting a file system type.
> 
> 
> The man page says:
> 
> mkpart part-type [fs-type] start end
>                      Make a part-type partition with filesystem fs-type
> (if specified), beginning at  start  and  ending  at  end  (by default
> in megabytes).   fs-type  can  be  one of "fat16", "fat32", "ext2",
> "HFS", "linux-swap", "NTFS", "reiserfs", or "ufs".  part-type
>                      should be one of "primary", "logical", or "extended".

What type of disklabel is it? If it is GPT then primary, etc. isn't
used. We should figure out how to make this clearer in the docs.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]