linuxbootuefibcdedit

Create EFI-stub boot entry from Windows


I use Linux kerne EFI stub to boot. Now I have run into an emergency, because I have lost my UEFI boot entry and I am stuck with Windows.

Is there any possibility to create UEFI NVRAM boot entry for Linux kernel?

I have managed to create it, but without kernel args (like: root=PARTUUID=....) and Linux is not booting without them.

Is there a way how to create boot menu entry from Windows 10 with CLI args?


Solution

  • One solution could be:

    1. Mount the ESP partition under windows.
    2. Create a startup.nsh script to pass kernel parameters
    3. Create boot menu entry which points to the startup.nsh