Re:Fedora considers deprecating legacy BIOS
by emteycz on Thursday April 21, 2022 @05:23AM
(#31107424)
I don't see why Linux users would care about this. It boots the system, nobody cares it uses some old MS tech.
[ Parent
| on HN ]
Re:Fedora considers deprecating legacy BIOS
by tremon on Thursday April 21, 2022 @05:58AM
(#31107577)
It doesn't just "boot the system". The full EFI specification includes support for runtime services, i.e. proprietary code that keeps running even after your FLOSS operating system has booted. That's something Linux users should care about: it provides a backdoor for clinging to closed-source drivers on a pretend-open platform. There's already been proof-of-concept EFI viruses, it's only a matter of time until the first antivirus EFI service appears.
Re:Fedora considers deprecating legacy BIOS
by mjg59 on Thursday April 21, 2022 @06:29AM
(#31107738)
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 all access to runtime services after kernel boot, you can by simply passing efi=noruntime to the kernel arguments.
[1] Some features would be broken, like recognising whether the system had booted successfully
Re:Fedora considers deprecating legacy BIOS
by anthk on Thursday April 21, 2022 @07:28AM
(#31108087)
Even back in the BIOS days Linux overrode lots of BIOS stuff such as partition size limits once it booted.
Re:Fedora considers deprecating legacy BIOS
by tremon on Thursday April 21, 2022 @09:42AM
(#31109262)
can efivarfs still be accessed after booting with efi=noruntime? If so, I might add that on my systems and see if anything breaks.
Re:Fedora considers deprecating legacy BIOS
by mjg59 on Thursday April 21, 2022 @05:25PM
(#31115391)
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
by blueflow on Thursday April 21, 2022 @05:30AM
(#31107453)
Because "removing legacy" was one of the key arguments of EFI enthusiasts, and its still plenus bovis stercus.
Re:Fedora considers deprecating legacy BIOS
by prmoustache on Thursday April 21, 2022 @05:56AM
(#31107568)
Your point is a bit moot because removing bios support will actually allow the maintainer to stop maintaining the bios parts regardless of the fact some other old things are kept.
While actually not removing bios support won't allow you to get rid of the aformentionned MS techs such as fat support.
Having said that I think this is a wee bit early.
Re:Fedora considers deprecating legacy BIOS
by blueflow on Thursday April 21, 2022 @05:59AM
(#31107582)
You made a factual mistake: MBR/BIOS based boot does not depend on a specific filesystem, nor does it depend on a specific executable file format except for the boot sector. You can safely remove FAT support from your kernel config, except when you need it for EFI.
Re:Fedora considers deprecating legacy BIOS
by prmoustache on Thursday April 21, 2022 @06:28AM
(#31107736)
> You made a factual mistake: MBR/BIOS based boot does not depend on a specific filesystem, nor does it depend on a specific executable file format except for the boot sector.
I never said that.
I said removing bios support allows you to remove anything that provides bios support and that choosing to not remove it won't allow you to get rid of the EFI dependencies so it is a moot point to talk about old techs used by EFI.
"Full of faeces from cows" is and remains vulgar no matter how it's spelled.