Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks for responding and thanks for the information that both grub and grub2 under /boot are "normal" (even if /boot/efi is not normal for a BIOS boot).

I had resigned myself to reinstalling. However, being bloody-minded, I thought I had little to lose by screwing the system up further and decided to fiddle a little first. I tried the following: - I established that I was not booted in EFI mode.

su # switch to root
modprobe efivars
ls /sys/firmware # check that subdirectory efi doesn't exist
  • I figured out yum well enough to figure out I had grub-efi and grub2 (non-efi) installed. (I couldn't get regexps to work with yum very well though - only for search but not list.)
  • I removed grub-efi, mactel-boot and (hence) anaconda.
  • I removed the empty hierarchy of directories under /boot/efi and /boot/efi itself.
  • I regenerated grub2's cfg at /boot/grub2/grub.cfg.

    grub2-mkconfig -o /boot/grub2/grub.cfg

  • I reinstalled grub2 to disk.

    grub2-install --recheck /dev/sdX # substitute appropriately for X e.g. /dev/sda in my case

  • I rebooted using systemctl reboot without having to use the boot menu!

  • Just to check, I powered off and restarted with the power button and I still don't get dropped to the rescue shell.

Note that anaconda should have recognised my machine as EFI capable and not insisted on BIOS boot since the firmware supports UEFI booting and the option is enabled in BIOS setup. Perhaps its detection is not 100%?

In any case, I'm not bothered. It would have been slightly simpler to use EFI for me as that's what I use on my laptop but it is no big deal.

Now I just need to figure out how Fedora configures things. Currently flummoxed by lack of /etc/locale.conf and /etc/locale.gen...