I installed Fedora 42 (KDE) on my laptop and this is the first time I am trying Fedora. Unfortuantely after installing Fedora, I am not able to boot into Windows 11. My laptop is now directly booting into Fedora without showing Grub menu for selecting the OS. Previously I had Kubuntu on my laptop and I was able to select the OS. After searching in internet, I tried some commands but I have no success. Can anyone of you help me ?
Following are the outputs while running some of the commands. At the end you can see the output of kparted tool
user@fedora:~$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
[sudo] password for user:
Generating grub configuration file …
Adding boot menu entry for UEFI Firmware Settings …
done
It seems there is no Microsoft folder. Do I need to reinstall Windows ? Actually I have some installs in my Windows partition, so didn’t want to reinstall.
it seems that your windows partition is not encrypted.
You will need to start WindowsRE (windows recovery environment) and let it fix start-up problems. You need to boot a windows install media and perform the recovery. My guess is that the WINRE_DRV partition is not bootable either without the bootloaders.
You don’t have to install windows. You boot the install media and there is an option to do recovery. It should re-create the Microsoft folder and files and leave everything else in place.
you can also copy the files in /boot/efi/EFI/ to an external medium, just in case.
I followed the steps mentioned in this video except I didnt format the EFI drive mentioned at time 13:20 to keep the fedora EFI files - https://www.youtube.com/watch?v=CZ17JrgFFhw
After that the laptop booted directly to windows. Then I went to BIOS and changed the boot order i.e first boot as Fedora instead of Windows.
Inside Fedora, I ran the commands “sudo os-prober” and “efibootmgr” to check if my windows is detected.
I ran this command to show windows menu in Grub “sudo grub2-mkconfig -o /boot/grub2/grub.cfg”