Since installing fedora on my desktop in a partition of one of four disks GRUB only loads fedora, failing on windows and even being unable to boot linux after that error happens.
efibootmgr gives back a very weird looking filename for the windows boot file, will try to mkconfig and see if it fixes itself and ill try to change the filename to the expected one if that doesnt work, but it would still need to be investigated how this happens in the first place (is it even an issue or is it supposed to happen?)
ok i seem to have gotten confused, the problem lies in GRUB cause i can still boot from my BIOS but this entry still seems different from other dual boot systems ive seen online, what should i be looking to edit/fix/do?
Apparently the main issue isnt that efi file entry which seems normal but grub-mkconfig that for some reason takes an 8 digit UUID for the windows partition resulting in a “no such device” error at boot
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sdb2)' --class windows --class os $menuentry_id_option 'osprober-efi-1C88-8132' {
insmod part_gpt
insmod fat
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1C88-8132
else
search --no-floppy --fs-uuid --set=root 1C88-8132
fi
chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
Please provide the output of efibootmgr as well as lsblk -f
The efi partition seems to always use the 8 character UUID as you can see with the output of lsblk. It is fat formatted and must be able to be accessed by the bios and grub.
There is a very slight difference in the entry in mine as you can see. I suspect that may be because I have my bios set to boot uefi only and yours may be allowed to boot either uefi or csm.
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-42F8-BF3E' {
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 42F8-BF3E
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
How did you redo the grub config.?
The proper command is sudo grub2-mkconfig -o /boot/grub2/grub.cfg.
If you used a different command please let us know the exact command used.
The UUID you see in efibootmgr is the partition UUID which you can display using lsblk -f -o +PARTUUID. It seem that the OP has two ESP partitions, one for Windows and one for Linux. This can bee seen by the UUID being different. It is up to the UEFI implementation if that works or not, although it is not recommended, if not for other reasons, it gets more confusing.