this post was submitted on 07 Nov 2023
109 points (98.2% liked)

Linux

48245 readers
537 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 20 comments
sorted by: hot top controversial new old
[–] redw0rm@kerala.party 42 points 1 year ago (2 children)

I thought I would never have to see BSOD after switching to linux, but here we go...

[ tbh, I love that errors are presented much better, just that the name doesn't bring back much good memories.

[–] ace@lemmy.ananace.dev 18 points 1 year ago

It makes sense to use the words that people are most used to, and bluescreen/BSOD has been the go-to lingua for describing a crash/error screen - even if not blue - since a while now.

[–] KISSmyOS@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

I'd just like to interject for a moment. What you're referring to as Linux,
is in fact, systemd/Linux, or as I've recently taken to calling it, systemd plus Linux.
Linux is not an operating system unto itself, but rather another free component
of a fully functioning systemd system made useful by the systemd corelibs, shell
utilities and vital system components comprising a full OS as defined by IBM.

Many computer users run a modified version of the systemd system every day,
without realizing it. Through a peculiar turn of events, the version of systemd
which is widely used today is often called "Linux", and many of its users are
not aware that it is basically the systemd system, developed by Lennart Poettering.

There really is a Linux, and these people are using it, but it is just a
part of the system they use. Linux is the kernel: the program in the system
that allocates the machine's resources to the other programs that you run.
The kernel is an essential part of an operating system, but useless by itself;
it can only function in the context of a complete operating system. Linux is
normally used in combination with the systemd operating system: the whole system
is basically systemd with Linux added, or systemd/Linux. All the so-called "Linux"
distributions are really distributions of systemd/Linux.

[–] Quazatron@lemmy.world 34 points 1 year ago (1 children)

Finally, my life is complete. We have achieved feature parity with Windows.

Seriously, the BSOD QR-code is a great way to have a more inclusive system. Hardened geeks can still sift through the boot log to find problems and newbies can just get help online. Win-win.

[–] fuzzzerd@programming.dev 16 points 1 year ago

Win-win.

I see what you did there.

[–] d3Xt3r@lemmy.nz 29 points 1 year ago

I hope it supports themes. I'd like to make my BSOD look like the classic Windows 9x BSOD.

[–] kautau@lemmy.world 23 points 1 year ago (1 children)

The systemd-bsod will also display a QR code for getting more information on the error causing the boot failure.

That’s pretty neat. Nowadays with the proliferation of smartphones that’s an easy way to move straight to troubleshooting the issue

[–] kogasa@programming.dev 8 points 1 year ago

scan qr code

ERROR_SXIFKK_INV_MEM_0

troubleshooting link is just a jpg of a frowny face

[–] autotldr@lemmings.world 18 points 1 year ago

This is the best summary I could come up with:


Systemd 255 even is introducing systemd-bsod as a "Blue Screen of Death" for displaying important error messages during boot failure, systemd-vmspawn as a new tool to spawn virtual machines, and other new features.

It's not an off-timed April Fool's prank or anything, there is finally a systemd-bsod service for "Blue Screen of Death" full-screen error messages on Linux...

  • Systemd's bootctl will now show whether the system was booted from a Unified Kernel Image (UKI).

  • systemctl will now automatically soft-reboot into a new root file-system if found under /run/nextroot/ when a reboot operation is invoked.

  • A new option "SurveFinalKillSignal" has been added to skip the final SIGTERM/SIGKILL spree on shutdown in order to survive soft-reboot operation.

  • A new "ConditionSecurity=measured-uki" option for only running when the system has been booted via a measured Unified Kernel Image (UKI).


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

[–] cobra89@beehaw.org 14 points 1 year ago (1 children)

Hibernation into swap files backed by Btrfs are now supported.

I know Btrfs people have been waiting for this for quite a while.

[–] gbrlsnchs@lemmy.one 3 points 1 year ago

This has been a thing since Linux kernel version 5.0.

[–] turkalino@lemmy.yachts 11 points 1 year ago

This is our chance to out-UWU the :( windows bsod

Come on all you Linux furries, bronies, etc. I know you can do it

[–] drwho@beehaw.org 10 points 1 year ago (1 children)
[–] guillermohs9@lemmy.ml 4 points 1 year ago

My thought exactly.

[–] LaggyKar@programming.dev 10 points 1 year ago (1 children)

When would this be triggered? Could it be used during kennel panics?

[–] Markaos@lemmy.one 14 points 1 year ago* (last edited 1 year ago) (1 children)

No, kernel immediately stops execution of all normal processes once it gets into a kernel panic, and there's no way for processes to hook into this functionality. It is intended to be the emergency stop state when the kernel realizes it doesn't know what's going on and it would be dangerous to continue executing. So it does the bare minimum to report the issue and then stops even its own execution.

There's also a softer variant of the kernel panic called kernel oops that should let the user choose to continue if they think the risk of data corruption doesn't outweigh losing all data currently in memory. But just like the kernel panic, it is handled completely inside the kernel and userspace is frozen until the user chooses to continue.

This is intended for situations where systemd runs into an unrecoverable issue while booting (for example you have misconfigured fstab and a required disk is missing). Without this, you just get thrown into the terminal with some error messages that might not make much sense to you if you don't have a decent understanding of Linux. Now, you get a more newbie friendly message and a QR code that should bring you somewhere you can learn more about possible causes and troubleshooting steps.

[–] LaggyKar@programming.dev 5 points 1 year ago

Yeah, that makes sense. So it's for the situations where you end up in an emergency shell.

Some better presentation of kernel panic would be nice (which I think is the closest equivalent to a Windows BSoD), but I guess it would require kernel support.

[–] danielfgom@lemmy.world 8 points 1 year ago

Please let it not be blue! Rather default to Linux black with white text!

[–] HouseWolf@lemm.ee 6 points 1 year ago

Just when I thought I had escaped it for good...

[–] Antimoon51@lemmy.world 1 points 1 year ago

But why deprecate SysV style init scripts? This is super helpfull on things like the raspberry pi (imo)