Originally posted by darkbasic
View Post
Announcement
Collapse
No announcement yet.
Fedora 29 To Fully Embrace The FreeDesktop.org Boot Loader Specification
Collapse
X
-
- Likes 1
-
Originally posted by johanb View PostMost of these are due to a shitty UEFI payload, better Coreboot/Libreboot support for modern hardware can't come soon enough.
A lot of them boil down to :
- Linux kernel needs parameters.
Linux-EFI expects them from the command line *only*. So the only way is to save them into the boot entry in the EFIvars. (If you move the same harddisk to a different machine, or clear the settings on this machine, you lose the kernel boot parameters).
GRUB2 (and almost every other boot loader) expects to find the parameters into a separate file (here: grub.cfg). You can straight boot into the bootloader as an EFI executable, the boot loader will take care of loading the parameters and passing them to the kernel.
Whether running on some shitty UEFI implementation or on the most modern and best Coreboot + Tianocore won't change a thing.
What you would need is a standard way for the Linux-EFI to load its parameters from a config file.
But still, Coreboot will fix the "shitty UEFI" part, guaranteeing that there *is* a menu to pick one possible boot entry (instead of only trying them in-order), and guaranteeing that there's a sane EFIvars editor that will help you re-add the boot menu entry if it is missing (because you switched machines or erased the settings).
- Likes 1
Leave a comment:
-
Originally posted by johanb View PostAll desktop motherboards and most laptops have these features, but some x86 tablets do not and pretty much all non-x86 platforms do not care about these features in their payload.
If we had coreboot on those devices we could choose any payload we want on these devices such as tianocore/seabios or even develop your own.
Originally posted by johanb View PostI have had this issue on my previous motherboard after a EFI upgrade, completely removed all boot entries except for my windows entry.
Had to get a live-usb to be able to boot my linux distro again.
When I updated my current AMD motherboard I did not have that issue though so at least it doesn't seem like it's common practice on most EFI implementations.
If we had coreboot we could choose to not use payloads which do not do such a critical thing without warning you.
Originally posted by johanb View PostWould be nice to be have a feature to be able to export and import the EFI boot entry list (as well possibly also other EFI settings).
Originally posted by johanb View PostExample of how EFI is not mature enough on non-x86 platforms.
There's not any coreboot support at all for non-x86 platforms as far as I know so it's hard for free software developers to improve this.
Originally posted by johanb View PostIMO it is insane to be to not be able to easily choose boot drive, an example of a bad EFI implementation.
Leave a comment:
-
Originally posted by starshipeleven View Postwtf?! grubby?!
why the heck do they even need to use an abstraction layer to manipulate their own distro's bootloder? Does fedora even use more than one bootloader? I thought GRUB2 could run on any architecture.
"This is especially important in Fedora because the same bootloader is not used in all architectures. GRUB 2 is used in most of them, but there are others such as zipl for s390x and Petitboot for ppc64le. Not all bootloaders have the same configuration file format, so there is a need for an indirection level and per bootloader specific logic to edit these configuration files, when adding or removing a boot entry."
This was discussed before here
https://www.phoronix.com/scan.php?pa...cuss-No-Grubby
Last edited by RahulSundaram; 15 June 2018, 07:38 AM.
- Likes 5
Leave a comment:
-
Originally posted by darkbasic View Post
If they don't drop btrfs alltogether in the meantime...
Leave a comment:
-
Originally posted by johanb View PostExample of how EFI is not mature enough on non-x86 platforms.
There's not any coreboot support at all for non-x86 platforms as far as I know so it's hard for free software developers to improve this.
Since 2016 the u-boot (one of the most common bootloader in embedded) can provide EFI too, it's an optional feature. https://www.cnx-software.com/2016/08...arm-platforms/
- Likes 3
Leave a comment:
-
Originally posted by brrrrttttt View PostBy most, you mean 2.5/5?
BIOS could (and did) do fine on all other points.
uboot is 100% better than UEFI even on x86 (if it was even possible at all outside of specific x86-based products)
- Likes 1
Leave a comment:
-
Originally posted by brrrrttttt View PostBy most, you mean 2.5/5?
- The various EFI implementations implement the boot order/boot item logic to different levels. Some firmware implementations do not offer a boot menu at all and instead unconditionally follow the EFI boot order, booting the first item that is working.
If we had coreboot on those devices we could choose any payload we want on these devices such as tianocore/seabios or even develop your own.
- If the firmware setup is used to reset all data usually all EFI boot entries are lost, making the system entirely unbootable, as the firmware setups generally do not offer a UI to define additional boot items. By placing the menu item information on disk it is always available, regardless if the BIOS setup data is lost.
Had to get a live-usb to be able to boot my linux distro again.
When I updated my current AMD motherboard I did not have that issue though so at least it doesn't seem like it's common practice on most EFI implementations.
If we had coreboot we could choose to not use payloads which do not do such a critical thing without warning you.
- Harddisk images should be moveable between machines and be bootable without requiring explicit EFI variables to be set. This also requires that the list of boot options is defined on disk, and not in EFI variables alone.
- EFI is not universal yet (especially on non-x86 platforms), this specification is useful both for EFI and non-EFI boot loaders.
There's not any coreboot support at all for non-x86 platforms as far as I know so it's hard for free software developers to improve this.
- Many EFI systems disable USB support during early boot to optimize boot times, thus making keyboard input unavailable in the EFI menu. It is thus useful if the OS UI has a standardized way to discover available boot options which can be booted to.
Leave a comment:
-
Originally posted by johanb View PostI was about to say that bootloaders are obsolete nowadays since you can just skip them and boot straight into Linux from UEFI, then I read this section:
Most of these are due to a shitty UEFI payload, better Coreboot/Libreboot support for modern hardware can't come soon enough.
Really looking forward to when tianocore is more mature and has more features.
Leave a comment:
-
Originally posted by nanonyme View PostWow, so after this change the limitation that /boot cannot be on a Btrfs partition can possibly be lifted since Grub2 already supported booting from Btrfs default subvolume and grubby was the bottleneck
why the heck do they even need to use an abstraction layer to manipulate their own distro's bootloder? Does fedora even use more than one bootloader? I thought GRUB2 could run on any architecture.
- Likes 5
Leave a comment:
Leave a comment: