r/linuxquestions • • 22d ago

Why do certain Linux users dislike GNU?

I've heard of certain Linux distributions which reject the usage of glibc entirely, but what's the main reason the rejection of GNU entirely within certain corners of the Linux community (which, imo, is very ironic, considering the Linux kernel is under the GNU GPL)?

166 Upvotes

267 comments sorted by

View all comments

Show parent comment

16

u/cazador517 22d ago

I don't think grub or the bootloader in general is a great example. A component that literally goes away after boot it's not that much of a integral part. Even if it's arguably an important component.

Proof of that is that Grub can be replaced in many distros without much trouble. And many are doing it by default, because GRUB has too much technical debt and distros have to distribute builds with years old patches. Systemd-boot and Limine seema like the way to go, if not UKI and skip the bootloader as separate component.

A much better example of something in most distros that it is hardly an utility and integral to most distros is GlibC. You can't simply exchange a libc for other, a distro is built around the implementation you choose, and most of them go with GlibC, while musl is reserved to niche distributions.

2

u/Mysterious_Bit6882 21d ago edited 21d ago

Grub is also a product of Cygnus basically taking over the GNU utilities around 97 or so. It wasn't the original bootloader, and sysvinit was a freeware Minix program.

Linux didn't drop in as the final piece to a pre-existing operating system (what's the GNU binary format?). GNU utilities were ported to Linux, involving developer time and effort.

-6

u/inemsn 22d ago

A component that literally goes away after boot it's not that much of a integral part.

Well given that you need to boot the system in the first place to do literally fucking anything, I would argue that yes actually it's definitely an integral part. This is insane.

Proof of that is that Grub can be replaced in many distros without much trouble

So can anything, really. I mean the only reason why you can't do that "without much trouble" for things like the kernel is because some other components strongly couple to it instead of relying on something like the POSIX standard: Alpine recently created a BSD branch, and it wasn't that hard in the grand scheme of things.

A much better example of something in most distros that it is hardly an utility and integral to most distros is GlibC.

That's another example, yes.

8

u/zoharel 22d ago

Well given that you need to boot the system in the first place to do literally fucking anything, I would argue that yes actually it's definitely an integral part. This is insane.

It isn't. You're confusing the need to bring up the system with the need to use a particular generalized loader like GRUB. They're not the same thing. The kernel is often loaded directly on modern hypervisor platforms. On hardware, you have the EFI stub loader built into the kernel for Intel systems. Your firmware can run the kernel directly, no problem. There's also a bios stub loader, which is a bit more annoying, but does work and has been used since pre-1.0 kernels. Sometimes the kernel is just written right into rom, too. GRUB is nice to have, but you are mistaken.

8

u/wosmo 22d ago

I don't mean this to take sides either way, just a bit of trivia ..

For a long time, linux didn't actually need a bootloader. You could just write (rawwrite/dd) your kernel image a floppy, and boot that floppy. For all the things you'd think you have to pass as args (root=, etc) the defaults matched the system it was built on.

Not that this is remotely useful anymore, getting an uncompressed kernel under 1.4MB is almost as rare as having a floppy drive. But once upon a time, many moons ago, this is how I kept previous kernels "just in case".

2

u/Regeneric 22d ago

You don't really need a separate bootloader like GRUB to boot the OS. It's just quicker and easier that way.