Red Hat Bugzilla – Bug 589473
parted should recognize msdos partition id 27h as a diagnostics partition
Last modified: 2010-07-02 15:41:26 EDT
+++ This bug was initially created as a clone of Bug #589451 +++
Microsoft recommends using id 27 for recovery partitions:
And anaconda depends on parted to identify these partitions as such, so as to keep them out of grub.conf (see bug 534066).
However parted currently does not recognize an id of 27 as a diagnostics partition, that needs to be fixed.
Note to QA: to test, create a msdos partition table with fdisk with a partition with an id of 27, then do
parted /dev/sda p
The output should show "diag" in the flags column.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
This is fixed in parted-2.1-8.el6, moving to modified.
Verified on build RHEL6.0-20100512.0 with parted-2.1-8.el6.
/dev/sda6 has ID of 27:
[root@ibm-js20-6 ~]# fdisk /dev/sda -l
Device Boot Start End Blocks Id System
/dev/sda6 4412 4864 3636192+ 27 Unknown
parted shows it with DIAG flag:
[root@ibm-js20-6 ~]# parted /dev/sda print
Partition Table: msdos
Number Start End Size Type File system Flags
6 36.3GB 40.0GB 3723MB logical diag
Closing as VERIFIED.
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.