Grub Menu Windows 10 boot manager not shown in Grub2 menu after Leap install

Somehow, I managed to install Leap and lose Window 10 in the Grub2 boot menu.
Below is what I get when I do the operations shown:

Disk-List-in-Dolphin
Top down:
Windows
/home
/boot/efi
/ (root)

I do not know what I did during the install to rid the boot menu of Windows boot manager.

localhost:~ # os-prober
localhost:~ # grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file …
Found theme: /boot/grub2/themes/openSUSE/theme.txt
Found linux image: /boot/vmlinuz-5.14.21-150400.24.38-default
Found initrd image: /boot/initrd-5.14.21-150400.24.38-default
Warning: 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.
Adding boot menu entry for UEFI Firmware Settings …
done

localhost:~ # bootctl
Couldn’t find EFI system partition. It is recommended to mount it to /boot or /efi.
Alternatively, use --esp-path= to specify path to mount point.
System:
Firmware: n/a (n/a)
Secure Boot: enabled
Setup Mode: user
TPM2 Support: no
Boot into FW: supported

Current Boot Loader:
Product: n/a
Features: ✗ Boot counting
✗ Menu timeout control
✗ One-shot menu timeout control
✗ Default entry control
✗ One-shot entry control
✗ Support for XBOOTLDR partition
✗ Support for passing random seed to OS
✗ Boot loader sets ESP information
ESP: n/a
File: └─n/a

Random Seed:
Passed to OS: no
System Token: not set

Boot Loaders Listed in EFI Variables:
Title: opensuse-secureboot
ID: 0x0000
Status: active, boot-order
Partition: /dev/disk/by-partuuid/fc6b0a69-dff0-48f0-b47a-ce51df3aa5ba
File: └─/EFI/opensuse/shim.efi

More information:
The bios is set to secure boot

fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: HITACHI HUA72201
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FC365053-2185-42EB-A59D-E6D12E08D24E

Device Start End Sectors Size Type
/dev/sda1 976338944 1186054143 209715200 100G Linux filesystem
/dev/sda2 206848 239615 32768 16M Microsoft reserved
/dev/sda3 239616 976337998 976098383 465.4G Microsoft basic data
/dev/sda4 1952436224 1953521663 1085440 530M Windows recovery environment
/dev/sda5 1186054144 1815199743 629145600 300G Linux filesystem
/dev/sda6 1815199744 1836171263 20971520 10G Linux swap
/dev/sda7 1836171264 1837195263 1024000 500M Microsoft basic data

Partition table entries are not in disk order.
localhost:~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 100G 0 part /
├─sda2 8:2 0 16M 0 part
├─sda3 8:3 0 465.4G 0 part /run/media/bill/D0B61BBBB61BA150
├─sda4 8:4 0 530M 0 part
├─sda5 8:5 0 300G 0 part /home
├─sda6 8:6 0 10G 0 part [SWAP]
└─sda7 8:7 0 500M 0 part /boot/efi
sr0 11:0 1 1024M 0 rom

@Bill_L What does efibootmgr -v show? Since it appears the efi partition is sda7, add the entry for windows manually… or was windows installed as legacy boot? Show ls -la /boot/efi/EFI.

Show full output of ls -lR /boot/efi

localhost:~ # efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0002,0001,0005,0006
Boot0000* opensuse-secureboot HD(7,GPT,fc6b0a69-dff0-48f0-b47a-ce51df3aa5ba,0x6d71c000,0xfa000)/File(\EFI\opensuse\shim.efi)
Boot0001* DTO UEFI USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
Boot0002* DTO UEFI USB Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
Boot0005* DTO Legacy USB Floppy/CD VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
Boot0006* Hard Drive VenMedia(b6fef66f-1495-4584-a836-3492d1984a8d,0200000000)AMBO

localhost:~ # la -la /boot/efi/EFI
total 40
drwxr-xr-x 4 root root 8192 Jan 15 20:43 .
drwxr-xr-x 3 root root 16384 Dec 31 1969 …
drwxr-xr-x 2 root root 8192 Jan 15 20:43 boot
drwxr-xr-x 2 root root 8192 Jan 15 20:44 opensuse

localhost:~ # ls -iR /boot/efi
/boot/efi:
3 EFI

/boot/efi/EFI:
4 boot 19 opensuse

/boot/efi/EFI/boot:
23 MokManager.efi 22 bootx64.efi 5 fallback.efi

/boot/efi/EFI/opensuse:
30 MokManager.efi 33 boot.csv 34 grub.cfg 31 grub.efi 35 grubx64.efi 32 shim.efi

How to add Windows 10 manually? I’ve already screwed it up during the instal, I don’t want to do a WRONG and lose it entirely!

@Bill_L you need to run windows recovery and see if it will add the boot option, you need to check out windows forums on that part…

That’s why for dual boot it always pays to partition the disk first from a linux USB rescue system, then install as required… for windows select custom install and point at the partition you want windows on and it will sort out the rest.

You do not have any Windows EFI bootloader and your partitions look like Windows has been installed in legacy BIOS mode (and you converted from MBR to GPT after that). In which case you need to search Internet for instructions how to convert Windows legacy BIOS installation to EFI.

Once Windows EFI bootloader is present on ESP, it should be detected by os-prober.

The issue is with “Somehow …”. To my experience it almost never works with my installs as well as with other users I am watching. You may improve your strategy by writing up the essentials: Install Leap / Tumbleweed from USB Stick On Internal Disk. When installing always follow the write-up.

I know Win10 was installed in Elfi mode. I know that because I installed it with legacy disabled in the bios.
At one point in the Leap install partitioner, there was a 16MB boot/EFI partition. During that gawd awful Partitioner I was informed after trying to Partien for Leap that the Win10 boot partition was not large enough.

I completed the partitions for Leap, and From there I just absolutely do not know what happened to /boot/efi for windows.

I will do my best to ‘recover’ Win10 boot. If not I will reinstall it, the try to get through the Leap partitioner without screwing up AGAIN.

@Bill_L grab a rescue USB image and use image writer to create (normally a XFCE desktop) and pre-partition the disk?

Windows does not create 16MB ESP.

I have Win10 Pro (EFI) back in. I have Leap 15.4 USB stick, I have a Mint USB stick. So, which do I use to preform for Leap??

@Bill_L boot the Leap disk and in the options select rescue mode and let that boot. Then show lsblk output.

Leap is no longer on this machine. I installed Win10 fresh.
Still boot the Leap USB into the rescue mode?

@Bill_L yes, there is a rescue mode option to boot from.

Picture is all I can do.
Output from lsblk in rescue mode:

Same situation here. A friend of mine bought a Samsung 870 EVO 1TB and had me install Windows and Tumbleweed:

6700k:~ # lsblk /dev/sdc
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sdc      8:32   0 931.5G  0 disk 
├─sdc1   8:33   0   100M  0 part 
├─sdc2   8:34   0    16M  0 part 
├─sdc3   8:35   0 833.2G  0 part 
├─sdc4   8:36   0   546M  0 part 
└─sdc5   8:37   0  97.7G  0 part 
6700k:~ # 

I first installed Windows 10 and shrank sdc3. Then I booted into Tumbleweed net-install. With expert partitioner I mounted /dev/sdc1 at /boot/efi and created sdc5. That’s all.

Lsblk doesn’t report much useful for troubleshooting without the -f switch. /dev/sda in that image looks like a simple Windows installation and nothing more, no Linux anywhere except the sdb USB stick.

You should learn how to mount a filesystem while in rescue mode, so you can capture logs and command output that you can copy and paste, and we can quote in reply. It looks like that USB has lots of room for another filesystem you could mount for capturing rescues.