Cannot boot Fedora from Ubuntu GRUB menu in multi boot system

On my computer I have 3 operating systems: Windows 10, Ubuntu and Fedora. After turning on the computer I see this:

Grub customizer screen shot

The system that turns on first is Ubuntu, and it gives me chance to choose system I would like to use (on attached image). The links for Ubuntu and Windows work fine, but I can't boot Fedora (which I installed lately) from this menu. Instead of one link called "fedora" as it should be, I have a lot of lines with EFI/fedora/..., and none of them works. To boot fedora I must go through the firmware boot menu, which is quite inconvenient.

Fedora works fine once it boots, so the problem is with Ubuntu's GRUB. I tried to use grub customizer on fedora, but it does not see Ubuntu, only Windows.

How can I fix GRUB to boot my Fedora installation as well as Ubuntu and Windows?

9

1 Answer

Now saw you have proxy files. Those are from Grub Customizer. You should either stay with Grub Customizer. But if it does not do what you want, totally reinstall grub2, so Grub Customizer is uninstalled. You may want to backup any custom settings in 40_custom that you already have done, otherwise those get overwritten.

You can try this in 40_custom:

menuentry "Fedora UEFI" { search --file --no-floppy --set=root 26F5-18E3 chainloader (${root})/efi/fedora/grub.cfg
}

Or a configfile entry that loads Fedora's grub since it is in a separate /boot that is not inside the LVM. May be grub.conf not grub.cfg with Fedora.

menuentry "Fedora configfile" { search --file --no-floppy --set=root e5cbe847-a1be-4eee-a35a-e59fca2ec794 configfile (${root})/boot/grub/grub.cfg
}

All the examples I have for booting Fedora directly do not use LVM, so I do not know details on the mount in grub of the LVM. If LVM mounted your grub update should find it and add a direct boot of the fedora install. You may need to add the loading of lvm modules into grub also using insmod lvm

Another alternative is just copy the boot stanza from Fedora's grub into Ubuntu's 40_custom, its just then you have to regularly update when Fedora has kernel update.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like