linux-surface / linux-surface

Linux Kernel for Surface Devices
4.53k stars 202 forks source link

Surface Go 2 Dual Boot refues to boot to OpenSUSE #1417

Open hardwareadictos opened 1 month ago

hardwareadictos commented 1 month ago

Hey! Just installed OpenSUSE on my Surface Go and seems that the current documented procedure for dual boot alongside with windows doesn't work:

https://github.com/linux-surface/linux-surface/wiki/Surface-Go-2#dual-booting-linux-and-windows

EDIT: Even after disabling Windows Boot Manager, it still boots to windows, changing title.

localhost:/home/xxx # sudo efibootmgr -Ab 0000
efibootmgr: Boot entry 0 not found
Could not set active state for Boot0000: No such file or directory

localhost:/home/xxx # efibootmgr -b 0 -B
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0004,0003,2001,2002
Boot0001* openSUSE      HD(1,GPT,84baec3b-965e-4f6f-acb7-64797f1756b8,0x800,0x82000)/File(\EFI\opensuse\grubx64.efi)RC
Boot0003* USB HDD: KingstonDataTraveler 3.0     PciRoot(0x0)/Pci(0x14,0x0)/USB(12,0)/USB(1,0)/HD(1,MBR,0x708bc338,0xb48,0x2e44)RC
Boot0004* opensuse-secureboot   HD(1,GPT,84baec3b-965e-4f6f-acb7-64797f1756b8,0x800,0x82000)/File(\EFI\opensuse\shim.efi)
Boot2001* EFI USB Device        RC
Boot2002* EFI Network   RC

Seems that the efibootmgr syntax changed (¿?)

Managed to disable Windows Bootmanager entry for dual boot with windows with this:

https://bbs.archlinux.org/viewtopic.php?id=278962

hardwareadictos commented 1 month ago

Update 11042024: Seems there could be an issue with efibootmgr, so i resurrect this old issue on their git: https://github.com/rhboot/efibootmgr/issues/186