this post was submitted on 26 Dec 2025
156 points (98.1% liked)

Linux

60447 readers
442 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 6 years ago
MODERATORS
top 12 comments
sorted by: hot top controversial new old
[–] AnnaFrankfurter@lemmy.ml 2 points 29 minutes ago

Yeah it's just as simple as the calculator program I copy pasted in highschool computer class.

[–] LeFantome@programming.dev 6 points 1 day ago* (last edited 1 day ago) (1 children)

Well, the kernel is not “just a program” in that it is not like the other programs on your system. If it was, you would “just” run it in your shell. The kernel cannot run this way of course because it is not a user mode program.

That said, if course the kernel is a program in the sense that it is a set of machine instructions that make the hardware do what you want.

And the kernel is designed to talk to hardware and other programs—to be the bridge between the two. It is not something an end-user interacts with directly.

[–] GlowHuddy@lemmy.world 4 points 22 hours ago (1 children)

Well, the kernel is not “just a program” in that it is not like the other programs on your system. If it was, you would “just” run it in your shell. The kernel cannot run this way of course because it is not a user mode program.

Actually...

[–] LeFantome@programming.dev 2 points 3 hours ago* (last edited 3 hours ago)

Point taken but….

UML requires:

1 - extensive support from the host kernel above and beyond what is required to execute for regular programs

2 - the guest kernel to be specially compiled to be a UML guest

In other words, even though UML allows a guest Linux kernel to execute as a process on a host Linux kernel, that Linux kernel is not “just a program” like every other user mode application is.

[–] davel@lemmy.ml 60 points 1 day ago

It’s a program certainly, but “just a program” is a bit misleading because it places it on the same footing as Doom or cat or an Arduino project. Linux is a ring 0 program, which processors give unique treatment.

[–] db2@lemmy.world 30 points 1 day ago
[–] data1701d@startrek.website 24 points 1 day ago

Zaphod’s just zis guy, you know?

Thanks op this is a great article. Having compiled kernels since 2.4 or thenabouts, it's a great topic and I never really thought of it as just another program. Neat stuff!

[–] dubyakay@lemmy.ca 6 points 1 day ago (1 children)

On my arch install, all I have is vmlinuz-linux under /boot. How come there's no further information appended like in the article?

[–] atzanteol@sh.itjust.works 8 points 1 day ago

Different distros vary a bit here, and it will differ if you're on a system using efi.

Sometimes /boot isn't mounted by default (it's not needed unless you're updating a kernel). You may be seeing a symlink or placeholder there.

If you're using efi there will probably be /boot/EFI or something where your kernel is stored.

[–] CodenameDarlen@lemmy.world 3 points 1 day ago (1 children)

Pretty good article, I read both. Well explained without too much tech jargon.

[–] trolololol@lemmy.world 1 points 1 day ago

I liked both this and the following article.

Pretty cool seeing everything it takes to have a minimalist Linux to boot, and I finally saw how to get started with strace that I've been postponing for like half a year.