Fedora Grub ignored my nobara install | Multi Boot | Windows

Hi guys! I have already installed Windows 11 and Nobara on my PC, I installed Fedora because reasons. But after I rebooted I noticed Grub only listed Fedora 40 and Windows 11. After I logged into Fedora I noticed it created another EFi partition. So my partitions are as follows
Windows 11 and its EFI are on nvme01.
Nobara is installed on sdb, but it respected the original nvme01 EFI.
Fedora is also installed on sdb but it created a new EFI on sdb as well.
So far I tried updating the grub (on both Fedora and Nobara) with
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
in both cases after i run the command it says it detects Nobara/Fedora but when I reboot I can only log into 2 of the 3 OSs (if i boot from Nobara grub, I only have Nobara/win 11 and if I boot from Fedora Grub I can only boot Fedora/Win 11 ).
I wish there was a way to fix the grub so I don’t have to re install and brick my PC, or at least not lose my 2 linux installations, thank you!

You need to adjust that during installation. point the mount of /boot/efi to the existing ESP. Just reinstall Fedora.

1 Like

Added fedora, nobara, systemd-boot

Note that fedora boots using grub and last time I checked nobara uses systemd-boot. Thus different boot managers and not necessarily compatible.

3 Likes

Oh Really . . . :face_with_monocle:

I would personally let systemd-boot manage all of this, but I digress . . . :smile:

1 Like

oh man, does this mean that even if I reinstall Fedora and set /boot/efi to my original efi partition it will still ignore Nobara AND potentially disable my Nobara boot?

I have not tried so cannot say.
They clearly boot differently and use uefi differently though.
AFAIK systemd-boot is still unable to use secure boot.

1 Like

oh I have secure boot disabled since i’ve been distro hopping the last few weeks and I had a lot of issues. But I digress, is there an attainable solution to my problem? is there some boot manager that will allow me to boot win/nobara/fedora?

Theoretically grub should do that. Grub can certainly handle windows and fedora so the only question I would have would be the systemd boot with nobara.

Note that I believe nobara uses systemd-boot but I have not recently checked that. If it uses grub instead there should be no problems.

1 Like

So if I update/modify the grub on Nobara side that would be the answer? So i should search for something like ā€œhow to manually edit systemd-bootā€ or something like that? thanks for the kind replies!

I just installed nobara on a VM.
It does indeed now boot with grub.
Thus, it is possible to use grub to boot all 3 OSes.

Note however, that the last OS where grub is updated will definitely take control of booting so managing 2 different fedora based OSes on the same system may be tricky.

Since fedora does an OS probe when configuring grub then you should be able to have 3 different OSes on 3 different drives with each using its own efi partition and as long as you have the fedora drive set to boot in bios it likely will work out. Note though that since nobara also names its boot folder fedora (/boot/efi/EFI/fedora) it may be difficult to identify which grub entries are nobara and which are fedora.

You will have to test and confirm.

2 Likes

Thank you! I’m on the process of removing Fedora from my system to re install and properly set partitions (and have it install grub on the proper uefi partition) to see if it works, I will update the results so it will be helpful if someone else has the same problem!

To make the installation clean and create its own efi partition you should select only the drive it is being installed onto. That will force fedora to create its own efi partition on that drive.

but that’s how I did it originally :sleepy: I let Fedora pick empty space on my sdb, it created its own efi on sdb and ignored Nobara, that’s what I’m trying to solve .

After you get fedora installed then we can work on the boot issues. This requires baby steps in moving forward.

It is quite common for fedora to ignore other ā€˜fedora’ installations and nobara fits that category. However it is also quite possible to manually connect the installs within grub.

It is late enough that I will be off for the night.
Probably someone can assist with the grub config (probably a custom menu entry) to complete adding nobara to your grub boot.

Thank you very much , I already re installed Fedora, and I let it handle partitions, since even in manual mode I couldn’t get it to set the uefi on another physical drive (windows is on nvme01 and Nobara and my new Fedora install are on sdb) sadly Nobara is still ignored , hope you can help me further whenever it’s possible for you, have a nice weekend!
ps: just to recap
windows and its Efi are on nvme01
Nobara/Fedora are installed on sdb
Fedora creted a new efi on sdb

This probably means nobara was installed with legacy (MBR) boot and fedora cannot boot uefi and also have grub see and boot an OS that was installed in legacy mode.
You would need to boot nobara by selecting it from bios and check the boot mode it uses.

The output of lsblk -f from fedora may provide enough info to verify if that guess is correct or not without booting nobara.

If you boot nobara the command cat /sys/firmware/efi/efivars should return the following if it was booted in efi mode.

$ cat /sys/firmware/efi/efivars
cat: /sys/firmware/efi/efivars: Is a directory

I did cat /sys/firmware/efi/efivars in Nobara and I got that, hope it’s good news cat: /sys/firmware/efi/efivars: Es un directorio (my system is in spanish, it says Is a directory)

good news and bad news.
Good because both were installed in uefi mode.
Bad because both use the file path /boot/efi/EFI/fedora for the uefi path and since both are on the same drive they probably only have one efi partition on that drive.

It will take some careful config management to have both boot from grub, and one should probably use the efi partition that is on the windows drive to keep the files separate.

Please show the result of lsblk -fso we can see the drive config.

Sorry if this is unhelpful, but, how much space do you require for the separate Fedora installation? Is spending somewhere around 20 USD within reach?

Getting a small drive (I recently got a 240GB SSD for a laptop for $18 USD) that could be used to hold the installation of either one of Nobara/Fedora might save a lot of time and pain from trying to work around the challenge that Fedora isn’t really designed to share a drive with another installation that believes it’s Fedora (which unfortunately Nobara presents itself as in this way, even though it’s clearly a pretty distant relative at this point).

1 Like