How do I add UEFI entries to boot any USB device? - eviltoast

My stupid Lenovo “Thinkpad” UEFI doesnt have a real F12 devices menu.

It just shows registered UEFI targets that can be booted.

This is pretty catastrophic, somehow I got Fedora and Windows installed, but thats it. If something breaks, I am in trouble. I cant do a memtest86 even though I think my RAM is faulty.

So in Linux, is there a way to add an UEFI entry to boot just any USB stick? Or to boot a specific one, like with Ventoy on it?

Thanks!

  • darius@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I’m a bit late here but when installing grub to a USB drive with a GPT/EFI compatible partitioning, you need to run the following command: “grub-install --target=x86_64-efi --efi-directory=/boot/efi --removable” (without the quotes).

    • Pantherina@feddit.deOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Do you know if any flashing tool does this automatically? Etcher? Fedora media writer? Because they always override everything.

      Kde iso image writer doesnt seem to do this, but this might be the fix!