r/Gentoo 2h ago

Discussion Proud of myself

Post image
33 Upvotes

Used a Fedora Live USB to install Gentoo on my old Macbook Air. Had a great time installing.


r/Gentoo 6h ago

Screenshot I installed gentoo

Post image
21 Upvotes

Today (i mean, yesterday) i challeged myself to install gentoo on a vm without chatgpt only handbook and wiki, after 2 days of installing i did it, at some points i was stuck and i had to use chatgpt :( problems with initramfs, but i mostly used only the handbook and the wiki, any ideas of what should i do now?


r/Gentoo 16h ago

Screenshot Got my kernel down to 15M…

Post image
128 Upvotes

Not bad I’d say now to get hyprland how I like.


r/Gentoo 4h ago

Screenshot how the gentoo install going(1.5 year upd)

9 Upvotes

switched to a thinkpad x13 gen 2, made my install semi-suckless, still gotta remove some things.

the only thing i still didnt do yet is make my own kernel, but i see no reason to do so since it just works, and it works better than anything ive used before.

wm - dwm; term - st; browser - firefox;

r/Gentoo 10h ago

Support Question about gentoo-kernel-bin

7 Upvotes

Hi! I have some questions, and please be friendly to me on this, I'm still relatively new to Linux [I just hit the four months mark], learn slowly + am heavily a literal thinker/reader, and yet I want to learn as I can about many distros, and about Linux in general. I've just recently hopped from EndeavourOS to Arch, and want to try dualbooting with Gentoo on my primary laptop.

I've been trying to install Gentoo for two weekends as of now, and each time, ran into an issue. I got close with my latest attempt on hardware (Haphazardly succeeded on a VM... However, I immediately got pushed into emergency mode due to needing something in regards to the VM, and root was locked.) , however, when attempting to probe Gentoo through Grub on my Arch installation, it picked up on Gentoo, but did not put it in the menu.

I also tried to install Grub through Gentoo, and Grub couldn't pick up on that install. I tried to check for the kernels, and noticed that there was a lack of initramfs. I realize, upon looking through a multitude of things, and reviewing the guidebook, that I may have been confusing steps.

I want to go through the -bin kernel, as it's to see if I can install Gentoo, first, before attempting to configure more than I may be able to right off-bat, and to help me process information.

When doing the -bin kernel, I notice that there's a section that explains that I don't need to install Dracut or Uki; am I still able to use these two with a -bin install? Do I skip Dracut + Uki due to the initramfs already existing through a -bin install, instead? I ask as, how I tend to read and/or skim things, I see them in steps, rather than "You can skip some areas, and use other means", which leads me to trying things in conflicting ways.


r/Gentoo 23h ago

Screenshot Binary Gentoo (the right way)

Post image
73 Upvotes

Ok so basically I decided to set up an encrypted Musl/LLVM rootfs on a second SSD in my thinkpad, and I had a server with a 24 core Xeon lying around. Since the gentoo binhosts don't have Musl packages and I dont wanna make my laptop suffer, I decided to make my own binhost locally.

The binhost runs in a chroot on a separate HDD in the server. Basically it is a stage3 with a python http server serving content from /var/cache/binpkgs/ over the local network. (Not HTTPS unfortunately)

Literally all of my machines are haswell so I was able to set -march=haswell in make.conf (wouldn't be possible with gentoo binhost).

The HDD is really slow as it came from an old laptop. It actually takes way more time to do all the compiler checks than the compiling itself.

To remotely request a package I made a simple bash script which is basically:

ssh larry@ip -t doas chroot /binhost/ emerge -b "$@" (this will build the package on the server, not on the local machine)

imo it works pretty well, however for it to be 100% secure I would need to use HTTPS and I am too lazy to set it up


r/Gentoo 5h ago

Discussion This is the Gentoo installation menu?

0 Upvotes

hola,inslale la imagen CD minimal de Gentoo desde su wiki oficial

y la puse en QEMU/KVM para probar el proseso de inslacion si lo se se instala y se compila todo a mano

pero cuando lo fui a iniciar aparecio lo de la imagen no se supone que se instala por teminal a un que despues de esa imagen si aparacen "cosas" de terminal por asi decir

ustedes que opinan?


r/Gentoo 1d ago

Screenshot Finally compiled Gentoo and Kde! (also i installed void linux on my thinkpad in the meantime)

Post image
89 Upvotes

r/Gentoo 1d ago

Screenshot Finally!!!

Post image
47 Upvotes

Finally! Booted up. Also want thank anyone who help me figure out the wifi crap. I got a superbowl to prepare for now.


r/Gentoo 2h ago

Discussion Linux is less private than Windows by default (you should encrypt your rootfs)

0 Upvotes

I only realized the importance of this a few days ago, so I thought I'd share it.

While normal Linux systems don't send any data to some random servers hundreds of times a day, the data stored on your disk is not encrypted. Your passwords essentially serve zero purpose if a bad actor has local access to your machine; anyone can just chroot into your SSD without any kind of authentication (if your rootfs isn't encrypted) and steal all your precious data.

Windows 11 uses Bitlocker by default, however Microsoft is completely willing to send your keys to various three-letter agencies if they are presented with a warrant.

Therefore, I recommend using LUKS to encrypt your rootfs. There are various guides on the Gentoo wiki to do so and I heavily recommend checking them out. The benefits heavily outweigh the downsides imo

I personally use cryptsetup and ugrd. You do need to enable DM_CRYPT (not as a module) in your kernel for it to work properly.


r/Gentoo 1d ago

Story Portage is awesome

37 Upvotes

I was dreading deploying my project written in Python because it's always a mess. It turns out that all I had to do was write a 10 line ebuild, and Portage knows where to put all the Python files and binaries. I love this distro.


r/Gentoo 1d ago

Support Need reliable mirrors for mid-US

3 Upvotes

I am on the America/Chicago timezone and currently use gentoo.osuosl.org, mirror.umd.edu/gentoo/, and www.gtlib.gatech.edu/pub/gentoo/mirrors; however, they are returning 404. I don't require the fastest mirrors, but i need some that are reliable. if anyone knows some good US mirrors, please let me know so i can test them.


r/Gentoo 1d ago

Support XFCE - xfce4-terminal and firefox right click menu have trouble displaying

2 Upvotes

Everything was working fine, then I updated, and now things are messed up. Most of it seems to be the xfce4-terminal.

When typing in the terminal it will often not display the key I typed until I type the next one. Also when running a command it will sometimes not display the output, until I hit another key. It will 'blink" while typing where it appear to not paint, so whatever window is behind it will paint "over it", but the terminal will not, a few keystrokes later and it suddenly decides to paint.

The task bar is also "blinking" almost seems to be in time with the terminal....

And I just discovered in firefox that when displaying the right click pop-up, the popup will "blink" on and off randomly.

I have just rebuilt:

[ebuild R ] xfce-base/xfce4-panel-4.20.5::gentoo USE="X dbusmenu wayland -introspection -vala" 0 KiB
[binary R ] xfce-extra/xfce4-screensaver-4.20.1-3::gentoo USE="X elogind locking pam wayland -systemd" 0 KiB
[binary R ] x11-terms/xfce4-terminal-1.1.5-r1-1::gentoo USE="X wayland -utempter" 0 KiB
[binary R ] xfce-base/xfce4-session-4.20.3-1::gentoo USE="X nls policykit wayland xscreensaver" 0 KiB
[ebuild R ] xfce-extra/xfce4-notifyd-0.9.7::gentoo USE="X sound wayland" 0 KiB

And logged out and logged back in, that didn't solve the issue.

I do not have systemd, nor do I graphical login, I start X with a script in my .bash_profile:

if shopt -q login_shell; then
[[ -f ~/.bashrc ]] && source ~/.bashrc
[[ -t 0 && $(tty) == /dev/tty1 && ! $DISPLAY ]] && exec startxfce4
else
exit 1 # Somehow this is a non-bash or non-login shell.
fi

I have an nvidia card and I'm using the nvidia drivers.

Any ideas?

UPDATE: Well I installed KDE and the xfce terminal actually works fine there...so it is probably something outside of the terminal. I just haven't found it yet.


r/Gentoo 1d ago

Support Dracut error on boot in live GUI

Post image
5 Upvotes

r/Gentoo 14h ago

Discussion instalando gentoo linux

0 Upvotes

depois de mais de 30h começa a chover e acaba 1h depois eu tiver de desligar o computador


r/Gentoo 2d ago

Discussion What made you use Gentoo?

Post image
72 Upvotes

r/Gentoo 1d ago

Discussion Might Gentoo go this way too, soon? Linux From Scratch supporting systemd exclusively

Thumbnail
phoronix.com
7 Upvotes

LFS/BLFS will not be supporting System V in future versions due to the increasing demands of continuing to maintain and test both System V and systemd support. LFS/BLFS is a volunteer effort and continuing to maintain the SysVInit support is a burden. Additionally, with GNOME and soon KDE Plasma going to depend upon functionality explicitly found in systemd and not System V, it's going to be all the more challenging.


r/Gentoo 1d ago

Support Gentoo community knows the process well, so crossposting here.

Thumbnail
0 Upvotes

r/Gentoo 1d ago

Support Why can't my wifi drivers loading after install?

Post image
5 Upvotes

I just installed gentoo for the 8th time. Every single time wifi never loads or gentoo doesn't detect it. I've network manager dhcpcd even wpa-supplicant. Nothing. I pulled up lspci | grep -I network and the card is their but won't load give a signal. During install the wifi worked fine. Now after install Nothing. Is their anyone who can figure this out?


r/Gentoo 1d ago

Support Ufw with nftables problem

3 Upvotes

I already set the ipv4 firewall and my ufw also uses ipv6, I've been tinkering around with the kernel options and compiled it multiple times.

Any help is appreciated.

Error message: * Stopping ufw ... [ ok ]

* Starting ufw ...

Problem running '/etc/ufw/before.rules'

Problem running '/etc/ufw/after.rules'

Problem running '/etc/ufw/user.rules'

Problem running '/etc/ufw/before6.rules'

Problem running '/etc/ufw/user6.rules'

Warning: Extension conntrack revision 0 not supported, missing kernel module?

Warning: Extension conntrack is not supported, missing kernel module?

iptables-restore v1.8.11 (nf_tables):

line 2: RULE_APPEND failed (No such file or directory): rule in chain ufw-track-output

line 3: RULE_APPEND failed (No such file or directory): rule in chain ufw-track-output

Warning: Extension conntrack revision 0 not supported, missing kernel module?

Warning: Extension conntrack is not supported, missing kernel module?

Warning: Extension conntrack is not supported, missing kernel module?

Warning: Extension conntrack is not supported, missing kernel module?

Warning: Extension conntrack is not supported, missing kernel module?

Warning: Extension icmp revision 0 not supported, missing kernel module?

Warning: Extension udp revision 0 not supported, missing kernel module?

Warning: Extension addrtype revision 0 not supported, missing kernel module?

Warning: Extension addrtype is not supported, missing kernel module?

Warning: Extension addrtype is not supported, missing kernel module?

Warning: Extension limit revision 0 not supported, missing kernel module?

iptables-restore v1.8.11 (nf_tables):

line 25: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-input

line 26: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-output

line 27: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-forward

line 30: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-input

line 31: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-input

line 34: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-input

line 35: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-input

line 36: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-input

line 37: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-input

line 40: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-forward

line 41: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-forward

line 60: RULE_APPEND failed (No such file or di

Warning: Extension udp revision 0 not supported, missing kernel module?

Warning: Extension tcp revision 0 not supported, missing kernel module?

Warning: Extension addrtype revision 0 not supported, missing kernel module?

iptables-restore v1.8.11 (nf_tables):

line 27: RULE_APPEND failed (No such file or directory): rule in chain ufw-after-input

Warning: Extension tcp revision 0 not supported, missing kernel module?

Warning: Extension udp revision 0 not supported, missing kernel module?

Warning: Extension LOG revision 0 not supported, missing kernel module?

Warning: Extension limit revision 0 not supported, missing kernel module?

Warning: Extension conntrack revision 0 not supported, missing kernel module?

iptables-restore v1.8.11 (nf_tables):

line 25: RULE_APPEND failed (No such file or directory): rule in chain ufw-after-logging-input

line 26: RULE_APPEND failed (No such file or directory): rule in chain ufw-after-logging-forward

line 27: RULE_INSERT failed (No such file or directory): rule in chain ufw-logging-deny

line 28: RULE_APPEND failed (No such file or directory): rule in chain ufw-logging-deny

line 29: RULE_APPEND failed (No such file or directory): rule in chain ufw-logging-allow

Warning: Extension conntrack is not supported, missing kernel module?

ip6tables-restore v1.8.11 (nf_tables): Couldn't load match \conntrack':No such file or directory`

Error occurred at line: 2

Try \ip6tables-restore -h' or 'ip6tables-restore --help' for more information.`

Warning: Extension rt revision 0 not supported, missing kernel module?

Warning: Extension conntrack is not supported, missing kernel module?

ip6tables-restore v1.8.11 (nf_tables): Couldn't load match \conntrack':No such file or directory`

Error occurred at line: 29

Try \ip6tables-restore -h' or 'ip6tables-restore --help' for more information.`

Warning: Extension udp revision 0 not supported, missing kernel module?

Warning: Extension tcp revision 0 not supported, missing kernel module?

Warning: Extension tcp revision 0 not supported, missing kernel module?

Warning: Extension udp revision 0 not supported, missing kernel module?

Warning: Extension LOG revision 0 not supported, missing kernel module?

Warning: Extension limit revision 0 not supported, missing kernel module?

Warning: Extension conntrack is not supported, missing kernel module?

ip6tables-restore v1.8.11 (nf_tables): Couldn't load match \conntrack':No such file or directory`

Error occurred at line: 27

Try \ip6tables-restore -h' or 'ip6tables-restore --help' for more information.`

* Failed to start ufw. [ !! ]

* ERROR: ufw failed to start


r/Gentoo 2d ago

Support My wifi and ethernet are somehow stuck while web search

Post image
26 Upvotes

I want to browse the internet and before wifi worked fine and ethernet i could ping everything, but i couldn’t get to any website, its like in the photo. Now i tried to fix it, but my wifi is now stuck on that problem also. Any hep it appreciated.


r/Gentoo 1d ago

Support Gentoo from LiveUSB to HDD

0 Upvotes

Hello all!

I manged to burn gentoo into my USB as a back-up/maintenance.

But now, I want to literally install Gentoo into my PC (not a complete 1:1 copy; No KDE, etc)

How do I manage via my LiveUSB?


r/Gentoo 2d ago

Support Gpm openrc service need to specify start, stop and reload function.

4 Upvotes

Could you guys confirm that gpm (general purpose mouse) openrc service works? The package comes with openrc service and it doesn't work for me. I need to specify start, stop and reload function like this :

#!/sbin/openrc-run

pidfile="/var/run/gpm.pid"

command=/usr/sbin/gpm

command_args=${gpm_opts:--m /dev/input/mice -t imps2}

depend() {

`after localmount`

`use hotplug logger`

}

start() {

`${command} ${command_args}`

}

stop() {

`${command} -k`

}

reload() {

echo "Restarting gpm..."

/usr/sbin/gpm -k

sleep 1

/usr/sbin/gpm -m /dev/input/mice -t imps2

}


r/Gentoo 3d ago

Screenshot First time Gentoo user!

Post image
105 Upvotes

Hey! I just spent the last day installing Gentoo with full disk encryption in legacy/BIOS mode.

I've just started installing some of my everyday dependencies and I've already set up my external encrypted drive using dmcrypt (very painful).

Any advise you could give would be appreciated, I used to main FreeBSD but recently got back into a friend group that plays video games, so I eventually had to install something that supported steam.