How to confirm which partition table (MBR/GPT) does the system use ?
Environment
- Red Hat Enterprise Linux 6.x
Issue
- How to confirm which partition table (MBR/GPT) does the system use ?
They want to know which partition table type (MBR/GPT) used on their system.
Resolution
See the 'Partition Table' line in parted command line tool.
]# parted <DEVICE_NAME>
(parted) print
Model: ATA HITACHI HTS72503 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
==(snip)==
(parted) quit
]#
In above example, this system is using msdos (MBR) partition table.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
