My issues started when I partitioned my Ubuntu 22.04 LTS drive to add Windows 11 (I used my Ubuntu bootable to partition the drive).
Once Windows 11 was installed, my computer began to boot Windows 11 instead of showing me the grub menu. I fixed this by entering the BIOS and moving Ubuntu to the top. My computer was booting into Ubuntu now, but I still wasn't seeing the grub menu.
After looking at this post, Why is Grub menu not shown when starting my computer?, I was able to get my grub menu to show again (@Akalgnotum). But Windows 11 was not included in the menu.
With the guidance of this post, GRUB does not detect Windows I ran:
sudo os-prober
which returned /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
. I then ran sudo update-grub
which gave me this "warning":
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Found linux image: /boot/vmlinuz-5.15.0-43-generic
Found initrd image: /boot/initrd.img-5.15.0-43-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
From what I gather, Windows won't be added by sudo update-grub
because it won't run and use the information given by os-prober.
I have no idea how to fix this. Any suggestions would be extremely helpful. If more information is needed, I'll be happy to provide it.
Thanks!