Red Hat Bugzilla – Bug 864360
gpt isn't automatically created on UEFI system
Last modified: 2012-10-23 19:24:03 EDT
Created attachment 623992 [details]
Description of problem:
On computer that has empty disk (no partitions, msdos partition label), when you choose to boot using UEFI, autopartitioning doesn't make gpt partition label. When someone choose to let anaconda make partitions automatically, error shows up with "sda2 must have one of the following disklabel types: gpt". When you manually make gpt partition label (for example using parted), it completes without error. See attached screenshot.
Steps to Reproduce:
1. Remove all partitions from disk, use msdos partition label
2. Boot F18 Beta TC1, choose "automatic partitioning"
Error shows up. GPT partition label isn't created.
It should run without an error, GPT partition label should be made.
Please switch to tty2 (ctrl-alt-f2) and attach the logs from /tmp/*log to this bug as individual text/plain files.
Created attachment 624864 [details]
Created attachment 624866 [details]
Created attachment 624867 [details]
Created attachment 624868 [details]
Created attachment 624871 [details]
Created attachment 624872 [details]
Created attachment 624873 [details]
Also doesn't work when there are partitions on the msdos disk.
Discussed at 2012-10-11 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-10-11/f18beta-blocker-review-3.1.2012-10-11-16.04.log.txt . Accepted as a blocker per criterion "The installer must be able to complete an installation using automatic partitioning to any sufficiently large target disk, whether unformatted, empty, or containing any kind of existing data" in the case of doing a UEFI install to a disk with an ms-dos disklabel, which is fairly common - probably still more common than doing a UEFI install to a disk which already has a gpt disklabel. Any old random disk you grab to do an install onto has a pretty high chance of having an ms-dos disklabel.
Discussed at 2012-10-17 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-10-17/f18beta-blocker-review-4.2012-10-17-16.00.log.txt . anaconda team, it seems like this bug is clearly understood and just needs fixing, this is your regular poke :)
I sucessfuly installed TC6 on UEFI system with MBR disklabel and GPT was correctly auto-created. This failed for me with TC2.
I only tested with empty ms-dos disklabel without any partitions so it should probably be tested a little more.
This is working now.
I can autopart a disk with msdos label and no partitions.
autopart a disk with msdos and 1 or more partitions, shows an error about needing a gpt label. If you then go into custom partitioning and delete the partitions and use the button to create new ones. It will then use gpt for this new layout.
This was fixed by commit f1fa2900ac11 and 3a7b537f119