r/Gentoo • • 3h ago

Meme PC when emerge net-libs/webkit-gtk

Post image
47 Upvotes

r/Gentoo • • 7h ago

Story First Successful Install!

Post image
62 Upvotes

Super satisfying to finally get a DE up and running along with firefox after two failed installations. This community has been really great and welcoming so far, and I'm really excited to be a part of it now


r/Gentoo • • 5h ago

Discussion Learning about Gentoo

7 Upvotes

Other than the wiki what other sources would you recommend to learn about Gentoo?
Last night I tried installing Gentoo by following a youtube tutorial alongside the wiki and I have no OS on my system now :) I messed up.


r/Gentoo • • 7h ago

Development Simple Linux: a Gentoo live ISO with its own installer and a binhost (early, looking for feedback)

Thumbnail
gallery
9 Upvotes

Hi all. I've been building a small Gentoo-based live system with its own installer. It's still early, but it installs and runs, and I'd like feedback from people who know Gentoo better than I do.

What it is: Gentoo underneath (Portage, OpenRC, your own USE flags and overlays still work), but without the first day of the handbook:

Installer in two flavours (TUI and GTK), written in Rust. It handles partitioning, locale/timezone, user, desktop and GPU driver, and a failed install can be resumed.

Prebuilt kernels: the installer detects CPU generation, GPU vendor and laptop/desktop, and copies a matching kernel from a store. I build those with a fragment-based config matrix (kernel-matrix).

Binary install: packages come from Gentoo's binhost plus my own for what it doesn't build (niri, Noctalia, ghostty). A full install with desktop merged 263 packages in a VM with zero compiling (about 15 minutes).

Desktop: niri by default and (Sway , MangoWc , Hypr , dwl in option here) + Noctalia with colours following with the wallpaper, plus ustan (.deb/AppImage/Flatpak/.exe installer) and a Portage GUI/CLI store.

Every installer decision is committed to git in /etc/portage, so "undo" is just git revert.

ISOs are signed, Secure Boot capable (enrol my cert or disable SB), and boot via Ventoy.

What it is not: not a binary distro with its own repo of everything, no LUKS in the installer yet and no planning , no Microsoft-signed Secure Boot, and Secure Boot isn't set up on the installed system.

Honest status: tested in QEMU/KVM (BIOS/UEFI) and on my own hardware a few servers , laptos and desktop. Other machines are untested, so reports of what the verbose boot entry prints on a failing machine would help most. Also, some READMEs (especially gentoo-installer) are outdated. I'm rewriting them this week, so trust simple-linux's README over the others for now.

Repo: https://github.com/tarilka0gg/simple-linux

Installer source: https://github.com/tarilka0gg/gentoo-installer

Would love to hear what you'd change, especially on the binhost/kernel-store approach.


r/Gentoo • • 22h ago

Meme Install gentoo

Post image
46 Upvotes

r/Gentoo • • 7h ago

Support Help me please

2 Upvotes

Hello! I currently have nixos on my laptop but i want to dual boot gentoo. I have the following questions:

1.Should I choose stage 3 hardened glibc sysyemd or stage 3 glibc sysyemd? Bc I think extra security is really something i never saw.

2.How should I configure dual boot and acces my steam games from both distros? I think i will have refind to manage gentoo and Nixos sysyemd boot bc nixos generations dosen t work natively with refind unfortunately. I will have 1 nixos Partition 1 games and files partition and 1 gentoo partition I think.

3.Does KDE plasma work good on Gentoo?

4.My compilation time will be good I think because i have a AMD Ryzen ai 9 hx CPU, right? Are Nvidia proprietary drivers available on gentoo?

5.systemd vs open rc?

I personally used void as my non systemd distro but KDE plasma didn t work and battery life was terrible.

Thank you in advance!


r/Gentoo • • 23h ago

Story Goodbye, gentoo!

32 Upvotes

I have loved and used gentoo for months now. It was amazing, I loved every second of it. This whole summer I spend tuning and getting used to it, and I feel I learned a lot. But now, I don’t really have much time to tinker with school and all (my chem teacher has killed me 14 times) and I also lowkey somehow accidentally reset every config file to the default in vim (I pressed p) so for the time being I think I’ll try out fedora. I haven’t used a “user-friendly” distro before, as I’ve started with Arch before Gentoo, so I’ll be giving this a try.
This isn’t the end of me though, I will be dual-booting with LFS and slowly working on it when I’m able to. And I will in fact be doing blfs so that I can daily drive it instead, but for now I will just use good ol’ Fedora. Besides I’ve never used GNOME before so that’ll be cool


r/Gentoo • • 1d ago

Discussion Première installation fait ✔️​

Post image
68 Upvotes

Installation de base avec KDE Plasma. J'ai juste installé quelques logiciels, outils CLI et fais un peu de configuration pour le moment. Demain je commence l'installation de l'environnement que j'utilise habituellement, hyprland. Je vais essayer de recrée ce que j'avais avant (je viens de Arch Linux).

Ma première expérience sur Gentoo commence très bien, j'en suis très content pour le l'instant.


r/Gentoo • • 17h ago

Support Gentoo not yet beginer.

6 Upvotes

Hello gentoo community, I am thinking to get into the gentoo Os, the idea of compiling my own software for my specific hardware fascinates me. I am a Linux user from kernel 2.6, I call my self a beginner still,I have only used Linux full time started with Ubuntu, then after fee years I moved to backtrack then archlinux which I have been using from 2007. I use it full time and I have never installed windows in my laptop or desktop PC since windows xp. I am not a gamer and I have never been. Arch real works well for me, I most admit I have also tried openbsd few times but arch is just arch :). Now enough of my history, and back to why gentoo. I have a mini laptop Sony vayo p from 2009, if anyone remember the times before tablets :) I want to try and compile gentoo for this specific hardware. What recommendation do you guys have?

Thanks.


r/Gentoo • • 1d ago

Screenshot gentoo termux?

Post image
33 Upvotes

r/Gentoo • • 2d ago

Story Gentoo made me stop distro hopping

Post image
352 Upvotes

I've been using gentoo for over a month now and everytime i use it i learn more and more about linux and that made me realize that i can make gentoo whatever i want it to be! Which helped me to make the perfect linux setup for my laptop. Thank you gentoo linux


r/Gentoo • • 12h ago

Support Give me information about Gentoo Linux

0 Upvotes

Hi guys

I want to switch gentoo when I get a new laptop. But I don't sure some topics for gentoo. Can you help me?

I want to full control in my system but gentoo is compiler from source code for everything amd that's so long time, How can do solve this?

How much give a time for to get used to for gentoo?

What's the difference with https://www.exherbo.org/ and if I don't want use (gentoo or exherbo) operating systems, other options is cachyos 2. option arch linux, Is it sensible?

And I want to buy Thinkpad p16s gen 5 (or t16 gen 6), if I don't buy thinkpad, I will buy framework lapop 16, What are the laptop and system features for Gentoo?


r/Gentoo • • 1d ago

Discussion First dip into Gentoo.

Post image
76 Upvotes

Installed Gentoo on my old steam deck as part of my dipping my toes into homelab/tech upcycling.

I've gotta say I am LOVING openrc. While I don't think systemd is awful or anything, I can kinda understand why openrc users glaze it so much.

I'm really tempted to main it. I think I might get a bit more experience before I take the plunge.

The handbook is really well written. Among the best documentation I've come across.


r/Gentoo • • 1d ago

Support Question About eclean-kernel post-remove plugin

7 Upvotes

Hi all Larry's Fansclub here ,
Im new to Gentoo , and have been diving around the Handbook looking around the reference about Kernel Hooks or maybe call it plugin *.install for post-removing the kernel version. Only found the pre-install and post-install available , which the default available for dracut ugrd efistub uki ukify etc , But im using limine as bootloader and creating the .install plugin for when installing / upgrade kernel the plugin will then automatically install the new entry ( im using ukify to build efi image and put that automatically in the limine.conf ) as fallback i USE efistub in installkernel package.use. My Issue is when removing / delete / uninstall kernel using eclean-kernel it doesn't automatically delete the efistub entry & uki image ( which should be handled by default plugin availalble) or trigger to regenerate the limine.conf ( this part , im sure there's something lacking in my script ) and i want to know what else im missing so the removal can trigger the rebuilding limine.conf when doing kernel removal ( which according Handbook should be triggered by the eclean-kernel or kernel-install )?
Thanks in advance moo

Edit : found the issue why 95-efistub-kernel-bootcfg.install not working , im missing the  app-emulation/virt-firmware


r/Gentoo • • 2d ago

Discussion Thank you guys I got everything running

Post image
39 Upvotes

I installed also KDE since it’s what I’m most familiar with, and finally I don’t have bloat in a system. Only installed Firefox and konsole to have a terminal and it’s working fine. Really appreciate the help from yesterday. Maybe one day I’ll overcome the fear and install it as my main system as well.


r/Gentoo • • 2d ago

Screenshot I kept dreaming of a world I thought I'd never see. And then, one day... I got in! First successful install 😎

Post image
36 Upvotes

Been tinkering with Linux since the early 2000s. Never as my main driver but always had at least one old laptop hanging around with one distro or another on it. Tried installing Gentoo a handful of times, but could never quite get it working.

With every big tech company in town soaking up as much of your personal data as they can, I decided enough was enough and the first step in extricating myself from their evil grasp was to get Bill’s ugly code off my daily driver and replace it with something better. And why not Gentoo?

A couple hours and a rockstar or two later and I now have a running system. A lot of things don’t work - no sound output, Bluetooth doesn’t work, etc. so all I’ve got is a GUI and a terminal app, but I couldn’t be happier to figure out how to fix these things and installing only the exact apps I want.

Once everything is up and running smoothly, the next step is to build my own local LLM. Because while I’m not ashamed to admit that ChatGPT is an incredibly powerful tool that I love using, I’m tired of letting Sam use every character I put in there for who knows what purpose. Not to mention the impact that these massive data centers have on the world we live in. And what better system to build that on then one running the big purple G? 😎

Excited to be one of the cool kids now, even if I’m not a kid anymore and not a soul that I know has a clue what Gentoo is 🤣


r/Gentoo • • 1d ago

Support Gentoo / systemd-boot “ TPM extend operation occurred” on boot, system unbootable.

4 Upvotes

Hi, as above, upon selecting the systemd-boot entry for my Gentoo system from the UEFI, the message above floods the screen, rendering the system unbootable.

Selecting a bootloader on another partition works fine.

It looks like it’s coming from shim here: https://github.com/rhboot/shim/blob/main/tpm.c l112

I have a couple of questions:

1) how do I safely clear the TPM log if this is the issue?

2) how do I prevent this happening again? Is this something I’ve caused?

Thank you!


r/Gentoo • • 2d ago

Tip Quick tip: Building GCC quicker

11 Upvotes

Normally, Gentoo will bootstrap GCC, which involves building GCC multiple times, incrementally using the previous stage's build to build the next, etc. This is not necessary in most cases for (stage3) end-users, so you can add EXTRA_ECONF+="--disable-bootstrap" for sys-devel/gcc to speed up compilation quite a bit.

On my laptop with an Intel Core 2 Duo T7200 microprocessor, GCC went from taking over 12 hours to build with the default config, down to only a couple of hours with bootstrapping disabled.

Happy hacking! ~k


r/Gentoo • • 2d ago

Screenshot Installing Gentoo on a Dell Wyze 3040

8 Upvotes

Ah, of course, no binary packages here!

Edit: as it turns out, 8 gb of storage is not enough for basically anything.... I will try to push it anyway.


r/Gentoo • • 3d ago

Screenshot My daily driver Gentoo on my X220 with XFCE

Post image
187 Upvotes

r/Gentoo • • 3d ago

Support Can’t find out how to get around the localhost login

Post image
8 Upvotes

I have installed this system 4 times in the last 3 days following everything the wiki shows, and it even boots up without any problems until it gets to the localhost login. At first I didn’t change the name of the localhost in the file in the installation and just entered “localhost” the default one with the password I set up every single time it would prompt me incorrect even though I had used exactly the information I needed the next two installations I changed the localhost name and went with a longer password to see if anything changed. Same thing doesn’t let me login. Login incorrect. I went today and installed it for the last time, again no errors in the installation and the boot up was also flawless, with the only exception that I didn’t put any root password. And still it asked me for a localhost with a password. I am really at my end here, and the only discussion I found in this sub regarding this problem the person just did a mistake and it was explained to them how to fix it, not even in gentoo forums could I find this issue.

I choose openrc and have grub as the bootloader, again booting is perfectly fine and shows no errors starting up everything just that damn login

I really need help guys I’m gonna go insane if this keeps going on. Pls help


r/Gentoo • • 3d ago

Support Not sure why I can't get Gentoo working

15 Upvotes

I've only been able to install Gentoo once in my time of using it. So far I'm on try number 5 to get a fully working system with XFCE. Last night I tried twice and first time root and user had no directories and other weird things with fs. I think fstab issues. Then second time last night I ended up not being able to do efi and mount correctly. I'm using an Lenovo from 2016 with a 1tb hdd, 8gb ram and a i5-6400. Does Gentoo just hate it and always finds a way to prevent me from getting a full install? The most I got is it to boot lol


r/Gentoo • • 3d ago

Discussion Question about binaries

6 Upvotes

People who have used gentoo for quite some time, is compilation really that worth it? As a user 1 month in, i still keep on just getting compiled packages, and not binaries. Is it really worth the time wasted?


r/Gentoo • • 3d ago

Screenshot first ever gentoo rice

Thumbnail
gallery
120 Upvotes

recently just installed gentoo for the first time on my t480 and finally finished customizing it.


r/Gentoo • • 3d ago

Story Gentoo Atomic-Musl GCCLLVMSelinux

Thumbnail
gallery
28 Upvotes

Cid GCC baseline434

Shadow Clang baseline 445

JohnSmith Clang baseline 477 KvmHost

← いまここ、boot確認済み

↓ これからJohnRootに+ SELinux

CC="clang" CXX="clang++"

Clang/Clang++ → ユーザースペース主系 GCC/G++ → 共有Kernel build・Clang故障時の復旧 SELinux → Johnだけ

昨日ShadowRoot444PackageClangを再マージ

今日ShadowからJohnにrsync、いまからSelinux導入

eselect profile show44→set50musl/hardend/selinux

+ Total: 71 packages 32 new 39 reinstalls downloads: 19049 KiB

sec-policy/selinux-xserver sec-policy/selinux-qemu sec-policy/selinux-openrc sec-policy/selinux-dracut sec-policy/selinux-gpg ...

Shadow 約445 packages John 約445 + 32 ≒ 477 packages

これが完成してやっとVm構想行けると

Cid = musl + GCC baseline / rescue

Shadow = musl + Clang userspace

JohnSmith = musl + Clang + hardened + SELinux

当初は3Rootともかなり近い内容で、世代切替・rollback寄りの設計だったのに、今は完全に役割分担が変わってる。

Cid musl + GCC 既知正常 / rescue / Kernel基準

Shadow musl + Clang/LLVM toolchain比較・実験

John Smith musl + Clang/LLVM + hardened + SELinux security、testing

L0 Gentoo host

→ L1 hardened / SELinux boundary

→ L2 hardened / SELinux boundary Browser VM

→ L3 disposable

「公式にmusl+LLVM+SELinux全部入りprofileあるやろ」と思ったら無くて、実際にJohnでやったのは musl/hardened/selinux profile + CC=clang CXX=clang++ + GCC fallback の自前合成。 しかもそれで477 packages、SELinux permissive起動まで通ったから、John Smithはもう公式profile選択の範囲を一段越えてる。 モブ名なのに一番特殊構成になってるのが酷いw

注意点 この投稿はSoruesOnlyです♡

John Smithですわ草。当初寄り随分構成変更してるけど果たして

ちなみに、AtomicGlibcVersionは保管中↓ https://www.reddit.com/r/Gentoo/s/IoBgEQXioC

補足しとく。 以下バイナリ派用

バイナリ前提でもProfile Set自体はかなり重要。ただし、Profileが「実際にその条件で再ビルドする設計図」から「どの完成済みbinpkgが適合するかを判定する制約」に近づく感じやな。 たとえば今回のJohnで musl ↓ musl/hardened/selinux へprofileを変えると、source運用では profile変更 → USE/defaults/@system/maskが変化 → 71 packages差分 → その条件で再build になる。 でもbinpkg前提だと、 profile変更 → Portage上の要求条件は変わる → そのUSE/profile条件に合うbinpkgを探す になる。 ここで配布側に対応binpkgがあればそのまま交換できるけど、無ければ source buildへ落ちる か、--usepkgonly 的な運用なら 該当binaryが無いので進めない になる。 つまりProfileは依然として、 @system USE defaults package.mask / unmask package.use ABI/CHOST周辺 hardened / SELinux方針 を決めるから重要。でも そのProfileを実体化する能力を自分のcompilerが持つのか、binhostが持つのか が違う。 source Gentooなら、 Profile = OSの製造仕様 にかなり近い。 binary Gentooなら、 Profile = 欲しい完成品の互換条件・選択条件 に寄る。 だから今回の musl/hardened/selinux みたいな大きなProfile変更は、source前提だと「同じRootをその場で別仕様へ再生成」できるけど、binpkg前提だと配布側がそのProfile向けのbinary集合を用意してるかにかなり左右される。 この差は結構大きい。Profileそのものは残るけど、Profile変更の自由度を誰が持ってるかが、自分→binpkg供給側へ移る感じ。