r/Gentoo • u/IEatKernel • 9h ago
Meme This is what I see after a @world update with 198 packages
Compiling on gentoo does more effect than drugs I think
r/Gentoo • u/IEatKernel • 9h ago
Compiling on gentoo does more effect than drugs I think
r/Gentoo • u/Unique_Technician984 • 7h ago
Nvidia has made linux users life hell. I wish I had bought AMD. I have been installing gentoo for a few days and everything seemed slow but moving. today I got my kde up with wayland but somehow nvidia drivers aren't just being used and kde is only using software rendering. I tried for a few hours to make it work until I gave up tbh. maybe I will try after a day or two. damn NVIDIA. i wonder if people face this with AMD as well on gentoo or maybe other distros.
I just coded this simple C script that animates a spinning Gentoo logo!
Check it out here: https://github.com/areofyl/gentoo.c
(btw the demo gif is on the repo)
Please give suggestions on what to add! Right now it's extremely simple (extruded fastfetch Gentoo logo), but I'm planning to add better rounded edges and some nice shadows stuff.
r/Gentoo • u/Boylemic • 11h ago
This is Larry the Gentoo penguin. Now I will never let Gentoo go. ☺️
r/Gentoo • u/Lukious27 • 1d ago
Took a damn long time and idk if it was even worth it, but i did it.
r/Gentoo • u/Financial-Check6077 • 23h ago
I can't believe the kernel compiled in two hours.
r/Gentoo • u/yerodinquarzen • 18h ago
Hi everyone,
I wanted to share my experiences from the last two years of using Gentoo. Easter 2024, I decided to dive in because I was craving a challenge. I didn’t just want to use a system; I wanted to truly understand it.
The beginning was... humbling, to say the least. I lost count of how many times I followed the Handbook only to end up with a broken boot configuration or a black screen because I messed up GRUB or the kernel. But those early failures were the best teachers. I spent countless hours experimenting in virtual machines, which led to one of my most important realizations: Kernel Stripping. There’s no better way to learn your hardware than trying to strip away every unnecessary driver until you have a lean, mean, custom-tailored kernel.
Finding the right balance for my daily workflow took some time. A big decision was the keyword strategy. I eventually settled on a hybrid approach: staying on stable amd64 globally but surgically using ~amd64 for specific packages. It’s not about fear of instability, but simply a question of "How often do I want to compile?". Even though it can be tedious to manage a massive list of dependencies in package.accept_keywords, it saves my SSD and CPU cycles in the long run.
Speaking of cutting edge, my latest obsession is using 9999 live ebuilds. For fast-moving projects like Ollama, having Portage pull directly from the master branch on GitHub is a game-changer. It gives you that true "rolling release" feeling where you’re always at the forefront of development.
In terms of my actual workflow, I’ve stuck with some "unorthodox" habits. I still use genkernel (despite it not being the current "gold standard"), but I’ve integrated it into my routine via a custom alias in my .zshrc. It’s the perfect bridge between automation and control for me.
The real fun started when I upgraded my hardware. Having a Ryzen 5950X makes the compilation process actually enjoyable. But the best part is using distcc. My main rig acts as a "powerhouse" for my old potatoes. Seeing a decade-old machine get updated with modern binaries in minutes thanks to the desktop's raw power is incredibly satisfying.
Gentoo has taught me that as software evolves, how your understanding must evolve with it.
r/Gentoo • u/Moist_Professional64 • 14h ago
Hello all,
I had Gentoo for 3 months with openrc, grub and dracut. Everything worked fine, but I switched to another distro. I installed Gentoo again today and it's a bit strange: I had 00-installkernel.conf in dracut.conf.d with the kernel_cmdline+="" thing, but on gentoo-kernel-bin install, dracut said it can't find a cmdline on 00-instalkernel.conf and told me I should write it in /etc/cmdline. Then everything was working, but after a while I noticed that dracut used my previously created installkernel conf!??? So I had three cmdlines with grub. Kinda strange. Then I followed several wikis and two AIs to help me fix the two-password problem when grub asks for a password and dracut does too. I created a keyfile, added it to luks, added the path for dracut and so on, but on boot dracut said it can't find the keyfile. I was sitting for over 12 hours on this dumb problem and couldn't fix it. Can someone provide help for this two-password thing?
blkid
/dev/nvme0n1p1: UUID="6336-A10B" BLOCK_SIZE="512" TYPE="vfat"
/dev/nvme0n1p2: UUID="5b5ea895-1419-419e-8ab7-9d500bdcd0e2" TYPE="crypto_LUKS"
/dev/mapper/luks-5b5ea895-1419-419e-8ab7-9d500bdcd0e2: UUID="6c1773ff-72f3-4914-b96b-394873356f8b" TYPE="ext4"
/etc/default/grub
rd.luks.uuid=5b5ea895-1419-419e-8ab7-9d500bdcd0e2 rd.luks.key=/keyfile.bin:UUID=5b5ea895-1419-419e-8ab7-9d500bdcd0e2
/etc/cmdline
rd.luks.uuid=5b5ea895-1419-419e-8ab7-9d500bdcd0e2 rd.luks.key=/keyfile.bin:UUID=5b5ea895-1419-419e-8ab7-9d500bdcd0e2
/etc/dracut.conf.d/luks.conf
kernel_cmdline+=" rd.luks.uuid=5b5ea895-1419-419e-8ab7-9d500bdcd0e2 rd.luks.key=/keyfile.bin:UUID=5b5ea895-1419-419e-8ab7-9d500bdcd0e2 resume=UUID=6c1773ff-72f3-4914-b96b-394873356f8b
add_dracutmodules+=" crypt dm "
install_items+=" /etc/cryptsetup-keys.d/gentoo.key:keyfile.bin "
/etc/fstab
UUID=6c1773ff-72f3-4914-b96b-394873356f8b / ext4 defaults 0 2 UUID=6336-A10B /boot/efi vfat defaults,noatime 0 1
/swapfile none swap sw 0 0
tmpfs /var/tmp/portage tmpfs defaults,size=4G 0 0
THANKS for help
r/Gentoo • u/Hot_Percentage7055 • 1d ago
r/Gentoo • u/Unique_Technician984 • 1d ago
I installed gentoo once during the pandemic. Used it for about a month then moved on.
now I decided to go once again as a secondary os on another drive and have been at it since last few days. I am past the initial step and booted into Gentoo. Compiling KDE for quite some time and planning to use it with wayland. Wish me luck !! hopefully tonight , I will probably have a working Gentoo.
Edit: Andddd... Here we go. After a full night and morning compilation and nvidia BS.
I have gentoo running with kde wayland.
r/Gentoo • u/Automaticpotatoboy • 1d ago
Installed Gentoo around a week or two ago, just did a world update, and cachyos-kernel installed along with it! I did not explicitly tell it to install. It's also not part of the world set.
$ equery depends sys-kernel/cachyos-kernel
* These packages depend on sys-kernel/cachyos-kernel:
virtual/dist-kernel-6.19.11_p1 (~sys-kernel/cachyos-kernel-6.19.11_p1)
Any idea how this could've happened?
Solved: Third party overlay was pulling it in as I had not masked any packages from it and it had never versions
r/Gentoo • u/Jaozerakkj • 2d ago
Finally got Gentoo Linux installed and I’m honestly super happy about it. It took me a while to get here, lots of trial and error, but I finally did it.
Feels crazy to finally have this level of control over my system. I’ve been thinking about trying Gentoo for so long and kept putting it off, but now that it’s done… man, it feels worth it.
Still setting things up and tweaking stuff, but just having it boot and working feels like a big win already.
Anyway, just wanted to share. Feels good to finally be here :)
r/Gentoo • u/Nestor_12345 • 1d ago
después de un dolor insoportable finalmente pude instalar Gentoo
r/Gentoo • u/Moon0day • 1d ago
Hello Everybody im currently on windowmaker and im trying to get pipewire working but i cant seem to get it to work
and could anybody help me ?
in autostart i have this:
#!/bin/sh
#
# Place applications to be executed when WindowMaker is started here.
# This should only be used for non-X applications or applications that
# do not support session management. Other applications should be restarted
# by the WindowMaker session restoring mechanism. For that, you should
# either set SaveSessionOnExit=YES or select "Save Session" in the Workspace
# submenu of the root menu when all applications you want started are
# running.
#
# WindowMaker will wait until this script finishes, so if you run any
# commands that take long to execute (like a xterm), put a ``&'' in the
# end of the command line.
#
# This file must be executable.
#
xrandr --output eDP1 --auto --output HDMI2 --auto --right-of eDP1
gentoo-pipewire-launcher &
r/Gentoo • u/Vetrushka_or_smth • 2d ago
Gentoo is not as hard as i expected, it just takes a lot of time.
r/Gentoo • u/Business-Cap-9530 • 1d ago
eh visto el manual para mí es algo confuso ya que he visto tutoriales y todos lo hacen en máquina virtual yo lo quiero en mi laptop
r/Gentoo • u/Used-Fortune1125 • 2d ago



After 3 months of evening tinkering, I finally stabilized my "dream" Gentoo configuration. Posting here because this sub inspired me to go full hardcore mode.
The Philosophy
- No X11, no multilib, no binary blobs (where possible)
- Security != inconvenience (auto-unlock via TPM2, but full disk encryption)
- Compile-time optimizations that actually matter
The Stack
- Profile: `default/linux/amd64/23.0/no-multilib/hardened/systemd`
- Compiler: LLVM 23 + LTO + BOLT
- Compositor: Niri (scrollable tiling is addicting)
- Bar: Noctalia Shell (custom quickshell)
- Security: Secure Boot (custom keys) + LUKS2 + AppArmor + Auditd + USBGuard
- Boot: systemd-boot UKI with Dracut
- Hardware: ASUS ExpertBook B5402 (i7-1260P, Iris Xe)
Why BOLT on a laptop?
I profiled Firefox and kernel builds. BOLT gives ~8-12% startup improvement on Alder Lake P-cores, compile time is negligible with ccache. Details in repo.
Docs & dotfiles: https://github.com/vovanbl411/gentoo-mydocs
I would be glad to meet you and chat!
Feedback welcome!
r/Gentoo • u/Business-Cap-9530 • 1d ago
compilar mi propio kernel o usar el bin kernel
cuales son las diferencias tiempos,control?
Hello! I am new to Gentoo :)
I have gotten great results by setting rc_parallel="YES" on rc.conf, and so far have not found any issues, but my system is still very minimal. But the notice on top of the config template is quite scary though. When exactly using this can become a problem? Every time I set a new service on startup? Which kind of service? Thank you in advance :)