I installed Leap 16.0 in addition to my existing Windows 11 OS. The installation worked alright, but now the boot loader only offers to boot Leap 16.0, but no Windows.
This is really odd, because I did nearly the same thing a month ago and Windows appeared alright then. The only difference is, I now used the space from another parallel Tumbleweed installation on the disk for the new /home, while last time I kept Tumbleweed as the 3rd system. At that time TWD disappeared from the boot menu after the first reboot, but Windows and Leap 16 both worked alright.
Here’s the link to my post from one month ago: https://forums.opensuse.org/t/after-installing-leap-16-i-can-not-boot-my-parallel-twd-installation/192311
I used the same installation DVD as one month ago and I only used the three partitions that the 1st Leap 16 installation had used - Windows was kept unaltered.
As I read something similar here in the forum, I tried os-prober as root. The result is: 359.247065 ł DM multipath kernel driver not loaded
It calls itself “Gnu Grub version 2.12” and it looks as it always has. With a green bar to select entries and openSUSE on the left top corner. It looked exactly the same, when I installed from the same installation medium one month ago, but then, it had more entries.
How can I choose which boot loader is installed by the standard installation routine? The installation medium is the ISO image from the opensuse.org page.
In the KDE partition manager the boot partition is called
/boot/efi
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0003,0002,9999
Boot0000* opensuse-secureboot HD(1,GPT,adb7b20f-f490-439d-a93e-adc3f5bc75b4,0x3a800,0x100000)/File(\EFI\opensuse\shim.efi)
Boot0002* Solid State Disk PciRoot(0x0)/Pci(0xe,0x0)/NVMe(0x1,5C-D2-E4-55-11-90-98-C6)/HD(4,GPT,0cdd634a-8bed-4f81-a38a-e5eb58c29046,0x49f98000,0x100000)0000424f
Boot0003* Solid State Disk PciRoot(0x0)/Pci(0xe,0x0)/NVMe(0x2,5C-D2-E4-54-58-59-01-00)/HD(1,GPT,adb7b20f-f490-439d-a93e-adc3f5bc75b4,0x3a800,0x100000)0000424f
Boot9999* USB Drive (UEFI) PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)0000424f
There are several small partitions, of which I can’t really recognize the exact purpose.
/dev/nvme0n1p2 ntfs is 1.11 GiB
/dev/nvme0n1p4 fat32 is 512 MiB (might have been the original Windows bootloader, the computer came with)
/dev/nvme1n1p2 unknown Microsoft reserved 16 MiB
/dev/nvme1n1p3 ntfs is 525 MiB
Then it look like you have overwritten the Windows loader, you need to boot from the windows install media and re-install the Windows boot loader… I suggest a google on what to do.
Your analysis was correct, I must have overwritten the Windows boot loader, when I chose to use nvme1n1p1 as the EFI partition in the openSUSE installer. Apparently Windows had it placed there, although the Windows OS is on the other disk (nvme0n1p1). I’ve learned, this is a typical setup. Probably, I used another partition with my first Leap installation for EFI but couldn’t recognize this in the partition list, when I did the 2nd installation.
Now I have managed to re-create the Windows bootloader (it took a 2-hour chat with the Co-pilot to get the Windows installer do this task. One could praise the precise answers and nice assistance of the Co-pilot, if all the problems it helped to overcome were not created by the same company).
Now the Laptop still only boots Leap 16, but it seems, I have the Windows bootloader on nvme0n1p4. At least, using your mount command from above, I see there:
boot
Microsoft
/Boot
/bootx64.efi
/fallback.efi
/MokManager.efi
/Recovery
opensuse
So, before I destroy it again: How should I do the Leap 16 installation to include the Windows boot option?
There is no issue sharing, you just need to ensure on a linux install to use the partition as /boot/efi but not to format. So for the Agama installer I use the trash icon to delete the / and swap suggestions, then create a /boot/efi select the partition and don’t format.
Likewise in the summary take a note of what it’s saying, likely going to delete, so you need to select any others and ensure “do not modify” is selected.