F18 bug, bootloader install failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=895644


This has three separate causes, and abrt has made it a bit messy so I wonder if it's not going to get the attention it probably needs. Should new bugs be filed, and linked as clones of this one?


1. The originally reported case, I think the installation target is a USB stick that contains a dd'd Fedora 18 ISO. grub2-install complains about multiple partition schemes and won't proceed. This makes sense since the ISO's contain multiple partition maps, but I'm unable to reproduce, instead I get the crash in bug 895659. Maybe it's a parted bug, if it's not cleaning up the partition maps? Or, since the only partition must be deleted (reclaimed), anaconda could use wipefs on the whole device, to better prepare it.

2. Custom partitioning multiple disk installs, GPT scheme. If one of the disks doesn't have BIOS Boot, grub2-install fails to install and a crash is triggered. My argument is that EFI System and BIOS Boot partitions are system boot domain, not user domain, therefore anaconda should just create them - even when the user specifies custom partitioning. The knowledge to do this manually is esoteric, and further it's non-obvious whether the disk partition scheme is MBR or GPT so the user isn't in a good position to do this.

File against 18, or as RFE for rawhide?


3. If the installation target is a drive with a 61 sector MBR gap (legacy start LBA 63 for 1st partitions), the core.img is too large to be embedded if LVM or btrfs are chosen device types. So grub2-install fails, then anaconda crashes.

Arguably the legacy partition scheme is flawed, and waiting until the end of the installation to inform the user is bad UX. But at least a simple explanation would be better than no explanation, or a crash. Ideally, though, I think the installer should prequalify the drive, and tell the user in advance the boot loader will fail to install, and what the work arounds are:
a.) Use Standard Partition scheme, instead of LVM or Btrfs.
b.) Move/resize partition 1 so it starts on LBA 2048, then re-run the installer.
c.) After Fedora installation, manually install boot loader to the /boot partition using grub2-install --force.

File against 18, or as RFE for rawhide?


Chris Murphy
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux