Red Hat Bugzilla – Bug 811784
parted doesn't recognize the microsoft reserved partition type 0x0C01
Last modified: 2012-06-05 13:58:07 EDT
Description of problem:
gdisk enables you to enter any arbitrary GPT partition type 0x0C01.
parted doesn't. If you need to partition and leave space for the microsoft reserved partition, how do you do this with parted?
(parted) help mkpart
mkpart PART-TYPE [FS-TYPE] START END make a partition
PART-TYPE is one of: primary, logical, extended
FS-TYPE is one of: ext4, ext3, ext2, fat32, fat16, hfsx, hfs+, hfs, jfs,
swsusp, linux-swap(v1), linux-swap(v0), ntfs, reiserfs, hp-ufs, sun-ufs,
xfs, apfs2, apfs1, asfs, amufs5, amufs4, amufs3, amufs2, amufs1, amufs0,
amufs, affs7, affs6, affs5, affs4, affs3, affs2, affs1, affs0,
linux-swap, linux-swap(new), linux-swap(old)
START and END are disk locations, such as 4GB or 10%. Negative values
count from the end of the disk. For example, -1s specifies exactly the
'mkpart' makes a partition without creating a new file system on the
partition. FS-TYPE may be specified to set an appropriate partition
If parted is going to be the reason gdisk doesn't make it into the Anaconda installer and rescue image, could we please get basic functionality added to parted to make it usable? We need *something* in the install/rescue image that understands the basics of GUID partitioning such that we can work with/around modern-day MS partition types
gdisk is included on the install images.