Setup RHEL7 using GPT instead of Fdisk
So I deployed our first RHEL7.3 VM in our development environment from an ISO. And while I created a /boot/efi directory because I prefer to build with GPT vs Fdisk, it still created all of the partitions as Fdisk.
I consulted Red Hat's documentation on RHEL7 installation:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-disk-partitioning-setup-x86.html
I guess I'm not understanding where I went wrong with this.
thanks
Responses
I think this is the relevant section from the documentation
BIOS systems, and UEFI systems in BIOS compatibility mode
If the disk is already formatted, the partitioning scheme is retained.
If the disk is not formatted, or the user erased all partitions from the disk, Anaconda will use:
MBR if the disk has less than 232 sectors. Most commonly, disks sectors are 512 bytes in size, in which case this would be equivalent to 2 TiB.
GPT if the disk has 232 sectors or more.
And then this note:
Note
Append the inst.gpt option to the boot command line to override the default behavior and use GPT on a disk of less than 232 sectors in size. Note that you cannot manually override Anaconda to use MBR on a disk which is 232 sectors in size or larger.
Is the UEFI configuration running in BIOS compatability mode? This may be taking you down a different (unexpected) path.
What size are the disks? as this will determine behaviour.
If the disks are are smaller than the limit (2TiB), did you provide inst.gpt to the command line of the installer?
-edit- clarification of UEFI in BIOS mode.
Christopher,
This documentation (section 20.1) should help:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/chap-anaconda-boot-options.html
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
