Red Hat Bugzilla – Bug 1012132
RFE make missing bootloader target error message more understandable
Last modified: 2014-01-27 18:49:33 EST
Description of problem: On GPT disks, if a required BIOSBoot or EFI System partition isn't present, anaconda's error message is: "you have not created a bootloader stage1 target device". This message doesn't adequately inform most users how they should resolve the problem.
Version-Release number of selected component (if applicable):
GPT disks on BIOS or (U)EFI computers.
Steps to Reproduce:
1. Use Manual Partition and don't create either a BIOSBoot or /boot/efi partition. Then try to install.
"you have not created a bootloader stage1 target device"
a.) The installer simply creates what's required using some rational default if the user doesn't (reduce their input /home by the needed amount).
b.) The installer presents the user with a more helpful message to resolve the problem, e.g.
BIOS: You need to create BIOSBoot mountpoint, size 1MB.
(U)EFI: You need to create /boot/efi mountpoint, size 200MB.
I'm uncertain if this message occurs with MBR partition scheme.
This was fixed for GPT+BIOS back in the F16 timeframe, and I just verified that it still is. From blivet/__init__.py, sanityCheck() :
# check that GPT boot disk on BIOS system has a BIOS boot partition
if _platform.weight(fstype="biosboot") and \
stage1 and stage1.isDisk and \
getattr(stage1.format, "labelType", None) == "gpt":
missing = True
for part in [p for p in self.partitions if p.disk == stage1]:
if part.format.type == "biosboot":
missing = False
I just tested both F20 (release ver) and current F21 nightly, doing a custom partition layout to a GPT-labelled disk with an existing partition (so it wouldn't get automatically re-formatted to ms-dos), and saw that error message in both cases.
I just today had a patch committed which fixes the UEFI case:
I'm about to send a change which fixes it a different way that dlehman is more happy with, but either way, I happen to have just fixed the UEFI case. So, closing as RAWHIDE.