I recently set up a dual boot configuration with Windows 11 and Debian, and I've been using it without issues for a while. However, I've encountered a problem where the Windows 11 option has disappeared from the GRUB boot menu. I have already tried using 'sudo update-grub' with no success. I'm looking for assistance to understand why this happened and how I can fix it to have the Windows option show up in the GRUB menu again.
2 Answers
Thanks for all the help. The issue is resolved. Added GRUB_DISABLE_OS_PROBER=false
to the /etc/default/grub
file and did update-grub
.
-
stack exchange tip: don´t type your reply into an answer form. instead add a comment to another answer or to the original question. Please cut out and delete this answer and paste it into an appropriate comment. Commented Nov 23, 2023 at 20:41
-
this is the valid answer, I don´t think it is a reply, it is the answer to the problem– xCovelusCommented Dec 13, 2023 at 9:02
As mentioned in this video, you can add Windows entry manually in Grub file(/etc/grub.d/40_custom).
https://www.youtube.com/watch?v=tyVRfVxiD08
menuentry "Windows" --class windows --class os {
search --fs-uuid --no-floppy --set=root $UUID
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
Replace $UUID with the output of sudo blkid /dev/nvme0n1p1
efibootmgr
andlsblk -f
? (Run them as root / with sudo if possible.) The output oftree /boot/efi
(if the directory / mountpoint exists) could give us some insight as well. (Also, can you confirm whether os-prober is still installed?)sudo efibootmgr -n 0006
and reboot.) Any error/warning given byupdate-grub
? Maybe try to reinstall os-prober, just in case.sudo efibootmgr -n 0006
and went into BIOS Flash update. After the grub doesnt show windows still. No error/warning given byupdate-grub
.tree /boot/efi
). (But it could be that your UEFI is somewhat "broken" as well; so it's better to try your UEFI boot menu instead.) You should at least check whether/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
is still there.