this post was submitted on 23 Mar 2025
29 points (100.0% liked)

Linux

52325 readers
1129 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
 

Im following the handbook, and I'm up to configuring the kernel. (In a vm. Skipping the optional installing firmware/microcode for now)

Trying for an OpenRC system, but it looks like all the steps need systemd.

All the videos I watched seems to skip this step and just go to Kernel configuration and compilation, but I dont want to a) mix old videos and up-to-date handbook, and b) blindly copy commands. I understood mostly everything untill now. Just this kernel step where I got lost the first time I tried to install gentoo.

top 9 comments
sorted by: hot top controversial new old
[–] groche@lemmy.rochegmr.com 4 points 2 days ago

You can install gentoo-kernel-bin and everything works fine. About SystemD, you needn't systemd as init, but you need systemd as udev or other things. Only follow the guide with a non-systemd profile

[–] allywilson@lemmy.ml 4 points 2 days ago (1 children)

Can you share which step you are up to which doesn't have a non-systemd instruction?

[–] MidsizedSedan@lemmy.world 4 points 2 days ago* (last edited 2 days ago) (3 children)

Around 2.1

collapsed inline media

Systemd boot, OpenRC, then systemd-utils

I should probably bring up this will be my first non-systemd distro. (Maybe I should have looked at Artix first. But too late)

[–] bodaciousFern@lemmy.dbzer0.com 6 points 2 days ago* (last edited 2 days ago)

So if you want to use systemd-boot as the bootloader you have to (apparently) install the systemd-utils package. Or you can just use GRUB / efistub.

Edit: looks like groche beat me to it 😁

It's probably been 4 years since I last had to rebuild my Gentoo, but I would be very surprised if there weren't good OpenRC instructions. I built mine with systemd and Gentoo handbook instructions always felt like 'Are you sure you don't want to use OpenRC? Ok, here are the systemd steps I guess'

[–] mkwt@lemmy.world 4 points 2 days ago* (last edited 2 days ago)

Within section 2.1 choose only one subsection to follow. Those are all alternative bootloader options.

The bootloader subsection chosen in 2.1 on this page should match what is done in Configuring the Bootloader. The default path on that page is GRUB, which does not require any systemd components.

If following the GRUB path, follow instructions in 2.1.1 and skip the rest of 2.1. This is not at all clear in the handbook.

I believe that sys-kernel/installkernel is a utility script internal to the Gentoo project that can be configured to work with various bootloader solutions, including (optionally) systemd, and that is what this section 2.1 is talking about.

This appears to be an out of order dependency in the handbook

[–] groche@lemmy.rochegmr.com 3 points 2 days ago

But you want to use systemd-boot? Obviously you need to install systems-utils if you want to install systemd-boot, but you can use grub or something else bootloader

[–] Presi300@lemmy.world 2 points 1 day ago

Installkernel doesn't care about your init system, only about the bootloader. It happily works with grub so you don't need to worry about it

[–] Shimitar@downonthestreet.eu 2 points 2 days ago (1 children)

Gentoo lover and long time user here, OpenRC only.

Feel free to pm/DM me for any question in general.

I use Genkernel, works like a charm.

[–] MidsizedSedan@lemmy.world 2 points 1 day ago

Spend my Saturdays on my machine. Rest of the week im reading the handbook on my lunchbreaks. Think I know what to do now, but will see how I go this weekend.

collapsed inline media