10.3.5. The "drive must have a GPT disk label" Error Message

download PDF
When installing Red Hat Enterprise Linux on a system with UEFI system and using a disk with an existing partitioning layout as the boot drive (the drive where the boot loader is installed), you may encounter the following error message during custom partitioning:
sda must have a GPT disk label
This happens because the boot drive (in this case, sda) has a Master Boot Record (MBR) label, but UEFI systems require a GUID Partition Table (GPT) label. Therefore you can not reuse an existing partitioning layout on a MBR-labeled drive; the disk must be relabeled, which means you will have to create a new partition layout and lose all existing data.
To work around this problem, go back to the screen where you select your partitioning strategy. Select an option other than custom partitioning (for example Use All Space). Make sure to check the Review and modify partitioning layout check box, and click Next.
On the following screen, modify the automatically created layout so it suits your needs. After you finish and click Next, Anaconda will use your layout and relabel the drive automatically.
You can also solve this issue by using a Kickstart file or by relabeling the disk using a different system before you begin the installation. See Section 3.5.2, “Disk Drives with MBR on UEFI Systems” for details. Also see Section A.1.2, “Partitions: Turning One Drive Into Many” for additional information about MBR and GPT.
Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.