Windows doesnt show up in grub but exits

Hi i have laptop where i have Windows (11), Ubuntu budgie and yesterday I installed Endeavour.
After installing windows dissapeared from both ubuntu grub and didnt show in endeavour’s grub.
I followed the installation dualboot guide, didn’t do nothing

$ sudo os-prober
/dev/nvme1n1p3:Ubuntu 20.04.3 LTS (20.04):Ubuntu:linux
$ ls -l /boot/efi/EFI
total 6
drwx------ 2 root root 1024 sep 16 21:15 Boot
drwx------ 2 root root 1024 oct 16 22:47 EndeavourOS
drwx------ 2 root root 1024 jul 21 18:19 Manjaro
drwx------ 4 root root 1024 dic  4  2020 Microsoft
drwx------ 2 root root 1024 sep 16 21:15 ubuntu
drwx------ 2 root root 1024 mar 10  2021 UpdateCapsule
$ cat /etc/default/grub
# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="EndeavourOS"
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 nowatchdog"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME=/boot/grub/themes/EndeavourOS/theme.txt

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y
GRUB_DISABLE_SUBMENU=y

# To enable usage of os-prober, set GRUB_DISABLE_OS_PROBER to 'false'.
# Note: enabling os-prober creates a potential security risk!
# More info: https://www.gnu.org/software/grub/manual/grub/grub.html
GRUB_DISABLE_OS_PROBER=false
$ update-grub
Generando un fichero de configuración de grub...
Encontrado tema: /boot/grub/themes/EndeavourOS/theme.txt
Encontrada imagen de linux: /boot/vmlinuz-linux-lts
Encontrada imagen de memoria inicial: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-lts-fallback.img
Encontrada imagen de linux: /boot/vmlinuz-linux
Encontrada imagen de memoria inicial: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-fallback.img
Encontrada imagen de linux: /boot/vmlinuz-linux-lts
Encontrada imagen de memoria inicial: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-lts-fallback.img
Encontrada imagen de linux: /boot/vmlinuz-linux
Encontrada imagen de memoria inicial: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-fallback.img
Aviso: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Encontrado Ubuntu 20.04.3 LTS (20.04) en /dev/nvme1n1p3
Adding boot menu entry for UEFI Firmware Settings ...
Done
$ lsblk 
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda         8:0    1  14,8G  0 disk /run/media/ismael/CCCOMA_X64FRE_ES-ES_DV9
nvme1n1   259:0    0 476,9G  0 disk 
nvme1n1p1 259:1    0    16M  0 part 
nvme1n1p2 259:2    0   977M  0 part 
nvme1n1p3 259:3    0  30,7G  0 part 
nvme1n1p4 259:4    0  15,3G  0 part [SWAP]
nvme1n1p5 259:5    0    40G  0 part /home
nvme1n1p6 259:6    0  30,7G  0 part /
nvme0n1   259:7    0 476,9G  0 disk 
nvme0n1p1 259:8    0   100M  0 part /boot/efi
nvme0n1p2 259:9    0    16M  0 part 
nvme0n1p3 259:10   0 476,2G  0 part 
nvme0n1p4 259:11   0   590M  0 part 

Grub-customizer doesnt shows it

Can you still boot up Windows by bringing up your Bios’ one-shot boot menu?

What is the output of:
efibootmgr -v
?

I know i can boot windows with F12 for now, but i want it to enter into grub

$ efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0007,0006,2002,2003,2001
Boot0000* endeavouros	HD(1,GPT,1fe11463-abc3-48bc-a9e0-e1ba423303d2,0x800,0x32000)/File(\EFI\endeavouros\grubx64.efi)
Boot0001* EFI USB Device (Generic Flash Disk)	UsbWwid(58f,6387,0,6B335B3)/CDROM(1,0x834,0xa4605c)RC
Boot0003* EFI PXE 0 for IPv4 (54-05-DB-B6-42-BA) 	PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x0)/MAC(5405dbb642ba,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0004* EFI PXE 0 for IPv6 (54-05-DB-B6-42-BA) 	PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x0)/MAC(5405dbb642ba,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0006* Windows Boot Manager	HD(1,GPT,1fe11463-abc3-48bc-a9e0-e1ba423303d2,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0007* ubuntu	HD(1,GPT,1fe11463-abc3-48bc-a9e0-e1ba423303d2,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC
[ismael@andevaur-LEGION syngesture]$ 

The output looks ok to me.

Just wanted to make sure that Windows Boot Manager is intact.

Given that you have followed the instructions in the dualboot guide, I’m afraid I don’t know what the issue might be.

Strange as well that Windows has disappeared from Ubuntu’s Grub boot menu too.

Please wait for other forum members to chime in!

I have a clue, my windows system doesnt detect any System partition (efi or boot) just the recovery one.

Also i installed endevour /boot partition at windows /efi partition beccause I installed there ubuntu’s

May I ask why you use the bootloader of both distributions (Ubuntu, EndeavourOS) at the same time? These are usually a problem. I would rather use EndeavourOS Grub in your place because EndeavourOS does not always appear in the Ubuntu boot. Anyway, follow this.

if you install os-prober and then update grub it should work. I had the same issue

1 Like

@ismaelct

Did you run the command to update grub?

sudo grub-mkconfig -o /boot/grub/grub.cfg

1 Like

this would be wrong. if I understand it right.

I’m also not sure what the OP means when they say they installed the Endeavour/boot partition at Windows /efi. There shouldn’t be a boot partition on UEFI.

Maybe the original poster has something similar to the one I had.