1

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?

Míla Mrvík
  • 525
  • 2
  • 15

2 Answers2

0

One way you can resolve this:

You can run any live linux OS, chroot to your still existing installed Linux Distribution, and reinstall grub, which will re-add Linux to the boot menu alongside Windows.

Community
  • 1
  • 1
Ron
  • 5,900
  • 2
  • 20
  • 30
  • I am not using GRUB nor any other bootloader. EFI-stub is a GRUBless way to boot Linux kernel on bare metal :). I can use live Linux to recreate the boot record. The only problem is that I have no USB drive availible. – Míla Mrvík May 06 '20 at 15:49
0

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
KagurazakaKotori
  • 562
  • 4
  • 14