this post was submitted on 06 Dec 2023
67 points (100.0% liked)

Linux

48287 readers
637 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
top 23 comments
sorted by: hot top controversial new old
[–] Dr_Willis@sh.itjust.works 17 points 11 months ago* (last edited 11 months ago)

I am reminded of the ability MANY years ago to write the kernel file directly to a floppy disk, or start of a hard drive and somehow being able to boot that way.

I just can't recall how I did it, or WHY I did it.

Back when the kernel would fit on a floppy disk. I am truly showing my age.


6 yr old grandson found a box of old floppy disks and was asking what they were. He started stacking them up making card houses and roads for his matchbox cars. Glad he got some use out of those recycled AOL floppies.

[–] dingdongitsabear@lemmy.ml 9 points 11 months ago* (last edited 11 months ago) (2 children)

This latest UKI work for Fedora will lead to better UEFI Secure Boot support, better supporting TPM measurements and confidential computing, and a more robust boot process.

and HOPEFULLY lead to a less jerky-flashy-switchy boot xperience, looks like a Vegas light show at present. switched to systemd-boot, but it's only a tiny bit better, still switches modes/blanks screen like five times.

[–] yum13241@lemm.ee 1 points 11 months ago (1 children)

Mine only switches modes once, on load save backlight.

[–] dingdongitsabear@lemmy.ml 1 points 11 months ago* (last edited 11 months ago) (1 children)

yeah, if you don't have an encrypted drive (which I'm gonna do on a laptop NEVER) on some OEMs this can look semi-seamless.

here's what it looks like on a laptop:

    1. OEM logo
    1. screen goes blank, backlight off
    1. light on, OEM logo
    1. blank screen
    1. decrypt password
    1. blank screen
    1. loading spinner with OEM logo
    1. gdm/sddm login screen
    1. blank screen
  • 9a. (sddm) loading animation
  • 9b. (sddm) jerk when fractional scaling kicks in
    1. and finally there's the desktop

with additional mode switching interjected and occasionally the horror that is GRUB inserts a 'Loading blah blah' text message; thankfully we're getting rid of that.

[–] yum13241@lemm.ee 1 points 11 months ago

My HP crapbook doesn't have this OEM logo bullshit. Only the windows bootloader shows it, and the logo file is stored in the BGRT. So I don't think I'm affected unless the WBM or systemd-boot have this vuln.

Mine:

1. Screen turns on
2. I pick EndeavorOS in systemd-boot
3. It starts spitting out logs (I love this behavior)
4. It switches modes once the backlight is loaded
5. I log in
6. KDE loads

I will never understand people who install Plymouth, it just adds complexity in the boot process. If your distro installs this then I understand why: so it doesn't look like you're "hacking the government". If your distro doesn't install it and you install it then you probably picked the wrong distro.

[–] taanegl@beehaw.org 0 points 11 months ago

Omg yes, I hate those. I'm sitting here thinking it's probably one of those simple things that scares people away from Linux.."Oh god, I see black text on white background. Abort, abort, ABORT!!"

[–] sabreW4K3@lemmy.tf 8 points 11 months ago (3 children)
[–] Flaky@iusearchlinux.fyi 28 points 11 months ago* (last edited 11 months ago) (2 children)

It basically means instead of relying on a bootloader (e.g. GRUB or systemd-boot) the computer boots the kernel directly. Generally there should be no change besides having to use the BIOS menu to manually select a kernel.

[–] sabreW4K3@lemmy.tf 3 points 11 months ago (1 children)

Thank you, you're awesome!

[–] Flaky@iusearchlinux.fyi 9 points 11 months ago

No problem! :)

FWIW, a lot of the DIY distros (Arch and Gentoo being the ones on most minds) allow this already so it's nothing new. It's just Fedora implementing it that's new I guess. If you're curious, the term to search is "EFISTUB".

[–] Blisterexe@lemmy.zip 1 points 11 months ago (1 children)

Is the benifit making secure boot work better?

[–] Flaky@iusearchlinux.fyi 0 points 11 months ago (1 children)

Presume so, that's what the article claims:

This latest UKI work for Fedora will lead to better UEFI Secure Boot support, better supporting TPM measurements and confidential computing, and a more robust boot process.

[–] Blisterexe@lemmy.zip 1 points 11 months ago* (last edited 11 months ago) (1 children)

That's nice, stuff like that does make dual booting harder unfortunately

[–] Flaky@iusearchlinux.fyi 1 points 11 months ago

I'd imagine that if you want a bootloader, the option is there as well. I can't imagine Fedora just doing away with that unless the bootloaders themselves are unmaintained.

[–] duncesplayed@lemmy.one 2 points 11 months ago

I think for most people they won't care either way.

Some people do legitimately occasionally need to poke around in GRUB before loading the kernel. Setting up certain kernel parameters or looking for something on the filesystem or something like that. For those people, booting directly into the kernel means your ability to "poke around" is now limited by how nice your motherboard's firmware is. But even for those people, they should always at least have the option of setting up a 2-stage boot.

[–] vanderbilt@beehaw.org 2 points 11 months ago (1 children)

Yes, in my opinion. The configuration of grub (boot loader) is just another step to go wrong, and this will eliminate that possibility. Additionally, it will prevent stupider operating systems (cough Windows) from accidentally overwriting the boot loader during an update.

[–] sabreW4K3@lemmy.tf 0 points 11 months ago (1 children)

Does that mean that the OS would have to handle version booting?

[–] vanderbilt@beehaw.org 2 points 11 months ago (1 children)

My understanding is that’s a yes.

[–] sabreW4K3@lemmy.tf 1 points 11 months ago
[–] autotldr@lemmings.world 6 points 11 months ago

This is the best summary I could come up with:


Fedora 40 is eyeing the next phase of its unified kernel (UKI) support within the distribution that will include the ability to support booting to unified kernel image files directly without having to go through a traditional bootloader like GRUB or SD-Boot.

The second phase of Fedora's unified kernel support is looking at a boot path from the EFI SHIM to UKI directly without any bootloader present.

The UEFI boot configuration will get an entry for each kernel installed, newly-installed kernels are configured to be booted once but will then be made permanent after a successful boot, and also enabling UKI support for 64-bit Arm (AArch64).

This latest UKI work for Fedora will lead to better UEFI Secure Boot support, better supporting TPM measurements and confidential computing, and a more robust boot process.

Those interested in the latest UKI efforts for Fedora 40 can see this Fedora mailing list thread with more details.


The original article contains 153 words, the summary contains 153 words. Saved 0%. I'm a bot and I'm open source!

[–] ikidd@lemmy.world 3 points 11 months ago (1 children)

Is there not issues with filling up the NVRAM with efi entries, even if you're deleting old ones? I've bricked a computer by distrohopping so many times it couldn't write new entries.

[–] SteveTech@programming.dev 4 points 11 months ago (1 children)

I'm probably wrong, but NVRAM suggests that there should be some way to clear it. (Clearing the CMOS might if you can't do it in software)

[–] as_is_tradition@lemmy.ca 6 points 11 months ago

I've cleared entries before with efibootmgr.