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!

0 points

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).

permalink
report
reply
0 points

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!

permalink
report
parent
reply
0 points
*

rEFInd can auto-detect bootable devices, and you can select them during startup. You need to install it to the efi partition as your boot manager.

With a simple config edit and file copy operation, I put a memtest86 efi image on my boot partition, and it shows up as an option for every boot. It’s nice to know I won’t have to fumble around with USB drives if I need to test my RAM in the future.

permalink
report
reply
0 points

Thats awesome! But sounds pretty hacky… so I would remove grub and use refind instead?

Fedora Kinoite is built for Grub afaik, with the deployments and all. Not wanting to destroy that really…

permalink
report
parent
reply
0 points

I use Fedora Sericea, another Silverblue spin, on my laptop. It wasn’t hard to install rEFInd, and it coexists just fine with GRUB in my experience. rEFInd detects that grub is there and shows it as an option, like any other bootable media.

The rEFInd documentation at https://www.rodsbooks.com/refind is extensive, but the summary of how to install is

That was it for me, but the full installation steps are available at https://www.rodsbooks.com/refind/installing.html if you run into trouble.

The next time I rebooted, rEFInd popped up and I was back in Fedora with no problem.

permalink
report
parent
reply
0 points

Damn thanks! Thats great!

But for some reason my Bios works now, it shows USB devices, doing a memtest currently, after booting Fedora KDE and having a Win11 usb fail because of missing Lenovo Drivers loool I hate this OS SO MUCH.

permalink
report
parent
reply
0 points

Have you tried to press Enter to show bios setup? (Don’t have one, but that’s what a quick search tell)

permalink
report
reply
0 points

Have to check

permalink
report
parent
reply
0 points

WTF, the BIOS doesn’t let you select the boot-order? Which Thinkpad is this?

permalink
report
reply
0 points
*

Weird, suddenly, after like 20 tries, I can boot any media? Wtf?

Yes I could select the boot order but only for the UEFI entries (Fedora, Linux firmware updater, Windows Boot manager)

Not for plugged in devices. I never saw the name of my NVME for example, now suddenly its there?

I hate this proprietary garbage Bios so much, I cant wait to get a Clevo NV41MZ and flash dasharo on that, then try Heads.

permalink
report
parent
reply
0 points

Never heard of the Clevo before, thanks

permalink
report
parent
reply
0 points

Novacustom and 3mdeb do all the work. So if you want to support them, get a machine from them!

permalink
report
parent
reply
0 points

Did you enable CSM? By default you should never see a device to boot from and should only see valid UEFI targets.

permalink
report
parent
reply
0 points

What is CSM?

permalink
report
parent
reply
0 points

It sounds like you got it working-ish.

One thing you might be running into is having hiberboot (AKA fast startup)enabled in windows. Instead of shutting down it hibernates when you choose “shutdown”.

If it is in the hibernated state instead of actually shutdown. You won’t be able to choose a different boot option.

Here is some info on how to turn it off. https://www.elevenforum.com/t/turn-on-or-off-fast-startup-in-windows-11.1212/

permalink
report
reply
0 points

No that is off, I really have no problems with Windows not shutting down.

But now I actually have an UEFI+legacy boot menu, listing my entries AND drives!

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 9.4K

    Monthly active users

  • 3.2K

    Posts

  • 37K

    Comments