this post was submitted on 27 Sep 2023
35 points (97.3% liked)

Linux

47232 readers
786 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

In this blog I document my journey in learning the UEFI boot process and discover that not all laptop firmware implement the UEFI standard correctly or how you'd expect.

I'm curious if anyone else has had trouble getting laptops specifically to retain their UEFI BootOrder and if anyone else here has seen behavior like this on devices recently.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 11 months ago (2 children)

Not quite the same issue, but similar in the sense that it was caused by a UEFI that didn't conform to spec.

I have an HP laptop that I installed Debian on, and it would never actually boot to grub even though I checked the boot entries several times over. You could open the settings and choose the boot entry manually, so it's not like it was a problem with the OS or with grub. Turned out, this model was hard coded to only allow a boot entry named "Windows Boot Manager" to be loaded by default. I used efibootmgr to rename the debian entry and it booted into grub straight away.

[–] [email protected] 4 points 11 months ago (2 children)

Turned out, this model was hard coded to only allow a boot entry named “Windows Boot Manager” to be loaded by default.

Holy moly that's absolutely shocking. Yeah I didn't quite realize how scuffed various UEFI implementations were until I encountered this issue and started looking around. Wild.

[–] [email protected] 3 points 11 months ago* (last edited 11 months ago)

Imagine if you remane your install to Windows Boot Manager

Edit: I'm pretty sure you can actually do that with efibootmgr

[–] [email protected] 2 points 11 months ago

Guess what? My HP 2000 Notebook PC laptop (not my daliy driver) decides it's a great idea to prefer "OS boot manager" (WBM), over "Linux Boot Manager" (sysd boot). The funny thing is that renaming the "Microsoft" folder in the ESP to something like "Macrosaft" fucking works. My daily driver lets me just set it in the UEFI BIOS screen.

[–] [email protected] 2 points 11 months ago* (last edited 9 months ago)

[This comment has been deleted by an automated system]