Windows entry in limine

How to add my windows entry in limine?
I see that boot.loader.limine.extraEntries = ‘’‘’ ;

But I couldn’t see how to detect and in what format I should add windows to this string.

https://wiki.archlinux.org/title/Limine#Windows_entry_(UEFI)

Thanks a lot. Got it working after some time.

Solution:
Coz the the efi of windows is in my HDD while NixOS in SSD. I had to use uuid(), instead of the boot() in the arch wiki shared above.

extraEntries = ''
        /Windows
          protocol: efi
          path: uuid(1c135138-506a-45ed-8352-6455f45e9fea):/EFI/Microsoft/Boot/bootmgfw.efi
      '';

Tip: This uuid can actually be mounting the potential partition temporarily and checking for the efi file existence.

The wiki page mentions this :wink:

Alternatively replacing boot():/ with uuid(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx):/ , where xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx is the PARTUUID of the ESP, if limine.conf is not on the ESP.

yes yes. I got that from that wiki only. Just mentioned it explicitly so that anyone who searches later can find a solution easily

1 Like