Live data from Hacker News

Fedora considers deprecating legacy BIOS

lwn.net

201–210 of 233 posts

Re: Fedora considers deprecating legacy BIOS

#201

Earlier quoted context omitted.

They also do this because it is likely that Microsoft will stop signing their bootloaders/kernels with their UEFI CA keys if they allow arbitrary user modules to be loaded (because it would be trivial to abuse those kernels to break Windows' full disk encryption). And if Microsoft stops signing your bootloaders it is an automatic death sentence for your distribution, as you can no longer boot the LiveCD without "scar…

>And if Microsoft stops signing your bootloaders it is an automatic death sentence for your distribution, as you can no longer boot the LiveCD without "scary prompts" and/or fiddling with the BIOS setup. Not really? Several popular Linux distributions simply do not support Secure Boot. Arch Linux is one of them.

Just for clarification, I believe you mean that it's not something supported out of the box, in the form of a signed kernel / bootloader. It is something Arch Linux users could choose to set up themselves; there's a whole wiki article on it.

Re: Fedora considers deprecating legacy BIOS

#202

Earlier quoted context omitted.

The intersection point between simple and useful is this: - Firmware understands some sort of minimal filesystem and how to talk to a device containing it. - Firmware has a configuration store that holds a few variables and a device tree. - Firmware has the ability to load binary images into RAM from the minimal filesystem above. - On boot, configuration is checked, the kernel and initrd are binary-loaded into RAM, a…

I don't think firmware should care at all about filesystems, because that's already halfway towards being an OS. It should just load the first sector from the selected boot device and jump to it.

- You're already getting into "halfway towards being an OS" territory if you want to netboot.

- Eliminating variable code from the boot process makes it more secure and reliable. Why do I need to load a separate loader to load my OS which is overwriteable by my OS if the firmware can do it in a standard, fixed way?

- At least have some mechanism to load an arbitrary number of sectors.

Re: Fedora considers deprecating legacy BIOS

#203
post #25
post #4

> UEFI is defined by a versioned standard that can be tested and certified against. By contrast, every legacy BIOS is unique. The "standard" for BIOSes was at first the IBM PC ROS's Reference Manual, and later the PS/2 Reference. Naturally, many vendors failed to implement it correctly. But the problem with EFI is the same. Still hoping that someday, EFI netboot support will be something usable. I once considered usi…

- previously, x86 MBR-style partition tables (which were the only thing really supported in Linux) gave you no strong semantic information about what a partition was[1]. GPT may involve GUIDs, but in the grand scheme of things that's a small part of the cost of mounting stuff. - FAT is old, and FAT is well-supported by basically anything, and what features do you want in the partition that contains your bootloader th…

FAT filesystems tend to get the cluster chains corrupted, then all your files are suddenly truncated to exactly 1 cluster long.

So I'd rather use EXT3 or NTFS because of Journaling, and not FAT.

Re: Fedora considers deprecating legacy BIOS

#205
post #117
post #40

Earlier quoted context omitted.

The UEFI runtime services provide functionality that is not generically exposed through any other OS environment. Linux could just refuse to provide those runtime features, and things would roughly work[1] - we'd still need to call some UEFI features in the boot stub, but the same is true of BIOS (look at what the 16-bit code does in terms of obtaining information that the kernel uses after init). If you want to drop…

can efivarfs still be accessed after booting with efi=noruntime? If so, I might add that on my systems and see if anything breaks.

No, all runtime services are gone. You don't /strictly/ need them in order to boot - most Linux distributions will install a loader in the fallback path and the firmware will run it even if there are no boot entries.

Re: Fedora considers deprecating legacy BIOS

#206
post #31

My short summary of this: pretty much every x86 client system since 2012 has shipped with working UEFI support (because Microsoft required it for new Windows 8 systems), and from a compatibility perspective Linux works Just Fine with basically all of them. Servers took a little longer (HP, especially, wanted to do things like just add GPT support to their BIOS implementation), but even that's in a good position now.…

Drawing the line at 10 years old is ... way too close for comfort. I could understand to drop i386 because it basically amounts to another entire architecture, and besides it seems with i386 you are also generally RAM limited which makes it harder to use a recent DE. But a 10 year old computer is perfectly capable of running even the latest version of the heavy-est DEs. Also, "working UEFI supports" means working eno…

Eep! efi=no_disable_early_pci_dma only does anything if CONFIG_EFI_DISABLE_PCI_DMA is set, and distros should not be setting that by default (it's a thing that works Just Fine in theory, and specific implementations may fail hard with it - eg, if ExitBootServices() triggers a callback that assumes that a PCI device is able to DMA, things may explode). It's a useful security feature (I mean, I wrote it, I would say that) but it can break even if implementations follow the spec perfectly.

Re: Fedora considers deprecating legacy BIOS

#207
post #31

My short summary of this: pretty much every x86 client system since 2012 has shipped with working UEFI support (because Microsoft required it for new Windows 8 systems), and from a compatibility perspective Linux works Just Fine with basically all of them. Servers took a little longer (HP, especially, wanted to do things like just add GPT support to their BIOS implementation), but even that's in a good position now.…

Linux works Just Fine with basically all of them. Do you remember this? https://news.ycombinator.com/item?id=11008449

Yeah, turns out representing EFI variables as a filesystem was a mistake (sorry, that was my fault)

Re: Fedora considers deprecating legacy BIOS

#208
post #189

Earlier quoted context omitted.

Wayland has changed since you last tried. I haven't got copy paste or blue light issues with it since Fedora 35 went with Wayland-by-default. Screen share is iffy on Electron, but that behemoth is slow to pick up new technologies. I don't know about video players crashing either. When talking about a fast moving new piece of technology, it's good to give it a try once in a while and not let your 4 year old experience…

I gave up last week. Vlc and celluloid were crashing under gnome. They worked under swaywm but couldn't find a way to install a redshift wayland clone that worked. There are a whole lot of things that still simply 'don't work' especially if you venture outside of gnome and kde.

If you were using GNOME, then it has a redshift clone built in.

Re: Fedora considers deprecating legacy BIOS

#209
post #68

Earlier quoted context omitted.

You can use several GNU/Linux distros which support BIOSes, even libre ones.

I agree, and that's the strength of linux, but here's a slight devils advocate: If someone is heavily invested into RH for their BIOS only infra, this could be an issue for them. I'm sure there's large operations that would need fixing up if these change happens. Not that RH is obligated to cater fully to that crowed of course. But 10 years is a bit silly, especially with how expensive hardware is now due to covid. A…

RHEL has a 3 year cadence, so if (if) RHEL 10 makes this change it won't have been 10 years, it will have been 13 years.

Re: Fedora considers deprecating legacy BIOS

#210

Oh god. So after Windows drops support basically for any PC that is 4 years old, a Linux distribution entertains the idea to follow closely and drop support for any PC that is 10 years old? Is this corporate influence? I cannot believe BIOS boot support is even close to the amount of code required for UEFI boot. Before you say "UEFI is much older than 10 years old", please remember that UEFI only started being a defa…

It's Red Hat, they dropped their support for community based linux. Why wouldn't they also drop support for old hardware.

That's not true... CentOS Stream is more of a "community" than CentOS was. If you had a bug in CentOS all you can do is file an issue in the Red Hat bug tracker and wait because there was no way to contribute.

With Stream it's open to not just bugfixes but community-contributed enhancements.

Post reply on HN