this post was submitted on 24 Aug 2023
477 points (97.0% liked)

Linux

47732 readers
1092 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
 

Screenshot of QEMU VM showing an ASCII Gentoo Logo + system info

I followed Mental Outlaw's 2019 guide and followed the official handbook to get up-to-date instructions and tailored instructions for my system, the process took about 4 hours however I did go out for a nice walk while my kernel was compiling. Overall I enjoyed the process and learnt a lot about the Linux kernel while doing it.

I'm planning on installing it to my hardware soon, this was to get a feel for the process in a non-destructive way.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] spagnod 2 points 1 year ago (2 children)

Hehe... I installed Gentoo last year and I was thrown in the deepest of deep ends after having to set up a custom initramfs for my LUKS setup... took about a week to get it running...

[–] [email protected] 2 points 1 year ago (1 children)

what weirdness are you doing that Dracut can't handle it?

[–] spagnod 2 points 1 year ago

I was too lazy to actually learn dracut, and I thought that setting up custom initramfs would help me gain insight into the linux boot process. Normal Gentoo stuff lol

load more comments (1 replies)
[–] [email protected] 1 points 1 year ago (1 children)
[–] H2207 1 points 1 year ago

No it wasn't bad actually with the hand-holding a long the way, I mainly followed the handbook but if I didn't understand anything then I went back to the MO video to see what he did. Compiling from source is definitely what took the longest but that's to be expected with Gentoo. The overall install process felt like a bit more involved Arch install.

[–] carl_dungeon 1 points 1 year ago

I did it once on the first intel MacBook. It compiled for like 14 hours.

[–] [email protected] 1 points 1 year ago

@H2207 I’m to impatient.

[–] [email protected] 1 points 1 year ago (1 children)

What is the value proposition of Gentoo over, say, something like NixOS?

[–] [email protected] 3 points 1 year ago (2 children)

Actual USE flags I guess? If you ultimately want these is a different question though

[–] [email protected] 1 points 1 year ago (1 children)

USE flags and profiles.

I have one old laptop where I decided to test some more obscure Gentoo setups. I chose musl as libc and took llvm toolchain to compile stuff. (All experimental)

load more comments (1 replies)
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Interesting, looked at the Gentoo docs to understand USE flags. Nix has similar capabilities, where some packages expose configuration options that apply to the build, but it's not a overtly named feature consistently applies across all packages. It seems that something like USE flags could be implemented rather easily by Nix but was either deemed not necessary or was an oversight. You can still change the build for any package but it might involve introspecting the package definition to figure out what to change so not meant as a first class mechanism like USE flags.

Edit: found this: https://github.com/NixOS/nixpkgs/issues/12877

[–] [email protected] 1 points 1 year ago (1 children)

USE flags have some inherent "issues" or rather downsides that make them non-options for some distributions.

First, they create a much larger number of package variants, simplified 2^(number of USE flags applicable to package). This is fine if you don't want to supply binaries to your users. Second, the gain they bring to the average workstation is rather insignificant today. Users usually want all functionality available and not save 30 kb of RAM and then suddenly have to rebuild world because they find out they're missing a USE flag that they suddenly need. Also, providing any kind of support for a system where the user doesn't run the binaries you provided and maybe even changed dependencies (e.g. libressl instead of openssl) is probably impossible.

It's very cool stuff if you want to build a system very specific to your needs and hardware, and I do believe that NixOS could have profited in some parts from it, but I don't have specific ideas.

load more comments (1 replies)
load more comments
view more: ‹ prev next ›