/gg/ - Gentoo General

/gg/ - Gentoo General

gentoo.org
Quick Install: wiki.gentoo.org/wiki/Quick_Installation_Checklist
Quicker Install: chiru.no/u/installgentoo.txt
Prebuilt Gentoo image and binhost: ca.cloveros.ga
Packages: packages.gentoo.org
FAQ: gitgud.io/cloveros/cloveros/blob/master/FAQ.md
IRC: #gentoo on irc.freenode.net | #cloveros on irc.rizon.net (all questions or help welcome)

Come here for help or general questions, post your configuration, discuss packages or overlays, CloverOS, post your desktop, anything else Gentoo, etc. Newfags welcome.

Other urls found in this thread:

libreboot.org/docs/gnulinux/encrypted_debian.html
gentoo.org
wiki.gentoo.org/wiki/Quick_Installation_Checklist
chiru.no/u/installgentoo.txt
useast.cloveros.ga
packages.gentoo.org
gitgud.io/cloveros/cloveros/#faq
wiki.gentoo.org/wiki/Handbook:AMD64/Working/USE
wiki.gentoo.org/wiki/Handbook:AMD64
wiki.gentoo.org/wiki/EFI_stub_kernel
twitter.com/NSFWRedditImage

Does anyone have a guide on installing a fully encrypted gentoo system on a librebooted x200?

Libreboot has official docs for debian:
libreboot.org/docs/gnulinux/encrypted_debian.html

But no such luck for gentoo, only a few helpful notes/snippets of what to do during an install

Where is a good place to get started with setting up ebuilds? Been a gentoo user for a few years and this is something I'd like to start tackling when I see stuff on git but not in repo or main overlays.

I love how you say its a Gentoo thread and then spam a bunch of your shitty weaboo wikis and your fork of Gentoo.

-9999 ebuilds of Plasma are surprisingly stable

any lxqt users in?

>compiling from source
absolute trash

>settling for the compile options chosen by someone else

If I wanted to show off how big my E-Penor is, Would I isn't Arch, or Gentoo?

Install*
I am phoneposting sorry.

What advantages does Gentoo have over my preferred distro?

btw im using arch

>What advantages does Gentoo have over my preferred distro?
Little, to none. It's just one level of autism higher in terms of install difficulty. I base my opinions on experience and the advice of more informed Linux users, not try-hard nerd, larpers and posers. The Gentoo joke is even acknowledged on their website. It's a time waster, not a go-to distro.

>arch
>go to distro
There is only one go to distro and it's Red Hat.

I never implied anything about Arch specifically. Most any of the more popular distros would be fine, you only shoot yourself in the foot trying to impress people with the snowflake distros.

Gentoo is gay

Why can't gentoo have a text based installer like debian(net iso)?

Why can't gentoo automatically configure a custom kernel for my laptop instead of selecting it manually?

Having these two would be great

Does the Gentoo project not provide offline documentation formats? Am I gonna need to wget the entire handbook wiki?

>what is localmodconfig

never install Gentoo if you have limited computing power
unless you want to experience the 144 hours install time and 288 hours of update time

>Why can't gentoo have a text based installer like debian(net iso)?
Because there are too many options.

If you want a standardized distro install, grab Sabayon, CloverOS or such.

> Why can't gentoo automatically configure a custom kernel for my laptop instead of selecting it manually?
You can. What said or genkernel.

> Does the Gentoo project not provide offline documentation formats?
I don't think so. If you actually have the whole package mirror to do an offline install with, then you might as well add the website.

I run it on a potato CPU that is below 1200th place on a CPU benchmark site. Doesn't nearly take that long to run updates regardless.

>potato CPU
CPU model?
>Doesn't nearly take that long to run updates
approximate time?

Gentoo used to have a graphical installer. They dropped support for it a while back, since it never really worked that well.

Since the biggest obstacle to a gentoo installer is kernel configuration, you'd need to simplify kernel configuration, by being able to autoselect kernel options from installed packages (easy) and from detected devices (harder).
Given that Gentoo's struggling to find people just to stabilize amd64, I doubt we'd be able to get either of those.

> CPU model?
AM1 5350 "Kabini"
> approximate time?
Depends on what's in the update, but here's some averages from package merges:
5m for mpv or zsh
10m for xorg-server
30s for st
25s for surf
80s for tmux

Always with at least some light loads like bt, xorg and a few chat programs and stuff, sometimes with a browser's JS eating 50% of the processing power and RAM. Not amazing at all, but the CPU is a potato.

why gentoo over funtoo?

No nonsense like not including systemd. But use what you prefer.

Why the fuck would anyone unironically install Gentoo anyway?

what else?

Compiling wine from the official repository (doesn't mater which version) seems to spot at a specific part and just doesn't continue.
What should I do?

NixOS has most of the advantages of gentoo, with less compilation time, and less global mutable state. I'd consider it a viable alternative.

Werks fine

man i love this desktop
everyone has gotten so hooked on tiling wms and cool modern looking colorschemes and fonts, it's good to see this look once in a while. I thought it would be a more popular style with vaporwave becoming a meme. theres that one guy with the thinkpad and crystal pepsi and "winshit 95" wallpaper with momiji that looks pretty good i guess. my favorite desktop in this style is this.

/gg/ - Gentoo General

gentoo.org
Quick Install: wiki.gentoo.org/wiki/Quick_Installation_Checklist
Quicker Install: chiru.no/u/installgentoo.txt
Prebuilt Gentoo image and binhost: useast.cloveros.ga
Packages: packages.gentoo.org
FAQ: gitgud.io/cloveros/cloveros/#faq
IRC: #gentoo on irc.freenode.net | #cloveros on irc.rizon.net (all questions or help welcome)

Come here for help or general questions, post your configuration, discuss packages or overlays, CloverOS, post your desktop, anything else Gentoo, etc. Newfags welcome.

>misc
nice codename for porn
'main' is already a misc

Just LUKS for FDE of your OS disk, you mean? In fact, I'm using that right now. Basically I manually hacked all the encryption voodoo Ubuntu offers out of the box. LVM +LUKS on OS disk, eCryptfs for my homedir, and random encrypted swap at boot.

What about XFCE3?

Did you use distcc or something ? My Intel Atom has been compiling LLVM for the last 8hours... I wish I knew how to alter TARGETS flag for specific package like well sys-devel/llvm/... There is AMDGPU, BPF and NVPTX targets getting thrown into the mix while I just wanted X86... I don't understand how things works, am too dumb...

>llvm
>Atom
wew lad

>all those shit packages
What GPU does that thing have?

it's needed anyway, I can't even emerge wpa_supplicant without LLVM package installed.

The graphic processor is the invincible Intel GMA 950.

I think it's for your GPU, still...good luck?

*sigh*

dumb tripfag

あなたは本当に日本人ですか?

I found a way, I'm a bit pissed tho' because I searched the docs and found nothing about it...
It will probably divide the compile time by 2 or 3 now.

Would you recommend to use -Os instead of -O2 for a system with only one Gb of RAM?

I'd only recommend that when you have under 128MB of RAM.

Alright then

How did you get that gaussian blur? I'm using XFCE

It's a Kwin feature

Easy to patch anything and mix package versions without struggling with issues where libraries were built for/with the wrong version

you have not used linux if you have not used gentoo

Wat. I think you want to fix your use flags.

Nah. Probably do -Ofast even.

Gentoo wiki and Google are good starting points. Set up a git repo as a layman overlay, set file:///path/to/this/repo in overlay.xml for layman to pick it up, add it with layman -f -o file:///path/to/the/repo -a name. Emerge repoman and use it to verify stuff, and to generate manifests. If in doubt, grep your /usr/portage for examples of whatever you want to do.

I don't know why I installed Gentoo desu.
I don't know enough about anything to make this a worthy investment of my time.
So far I've just been using it like it were any other distro, and that feels almost criminal.

Wat do, Sup Forums?

>So far I've just been using it like it were any other distro
What you mean? What do you think are you suppose to do after installing a distro?

as in: using it the way I know how.
I don't have any clue what useflags are or which ones you might want when installing software. If I run into problems I just merge configs, because I don't know what I'm doing.
Needless to say, there's a whole lot of shit I don't understand even after consulting the documentation. Kinda wish there was a video series that covered the basics of Gentoo and, in particular, portage - which I happen to love, it's just... difficult for me to understand.

Switch to something else if you prefer?

But even just picking your USE-flags may be enough of a reason to stick with Gentoo. Or its long term maintainability. (For example, you want to remain with a specific pre-quantum fork of firefox someone made on github - well, you can probably just continue with the last predecessor ebuild edited by a few lines to now point to git... stuff like that).

>I don't have any clue what useflags are
So you installed CloverOS or Sabayon or such?

Because that's in the handbook.
wiki.gentoo.org/wiki/Handbook:AMD64/Working/USE

> or which ones you might want when installing software
The whole point is that you pick the ones you want - someone else will make different choices.

> covered the basics of Gentoo and, in particular, portage
Handbook, Wiki plus forums or IRC if needed - yea, it's not a video.

You should try another distro first (maybe the good old debian or even arch) and try to understand everything you're doing first.
When you're completely comfortable with them, you may want to think about another, more complex, distribution.
There's nothing wrong in using an easy distro. Torvalds chose Fedora because it was the easier to install and to maintain. It's not like every pro use Gentoo.
You shouldn't be ashamed of using something simpler, but running random command until it works it's a really bad idea. You have to understand everything you're doing.

> (l)earn your way up to Gentoo maymay
You generally don't learn Gentoo by using another distro. There isn't a progression of skills in that sense and Gentoo isn't even difficult or complex as such.

You just need to read the documentation that exists. Right below "Installing Gentoo" there's "Working with Gentoo" and "Working with Portage" in the handbook. That's a good start.

wiki.gentoo.org/wiki/Handbook:AMD64

>You generally don't learn Gentoo by using another distro
No, but you can learn how to solve your problem by yourself (through reading wikis and man pages) with other distro. The main advantage of them in respect of gentoo is that you can still have a fully functional machine with everything you want in it. If you fight against your OS you end up switching back to Windows.
When you know what are you doing you can choose if you want another distro or if you're fine with an user-friendly one.

>visit arch forums
>threads about how great arch is and about how [program] is broken again, "the arch way" bullshit everywhere
>visit gentoo forums
>threads about genuine questions about the system
Why does Arch attract so many kids?

Eheheh, LLVM will probably be emerged tonight. FINALLY I CAN emerge WPA_SUPPLICANT

just change LLVM targets in the make.conf nigger, learn how to search up your issues and fix them for fucks sake.
/etc/make.conf
LLVM_TARGETS="-* X86"

>you can learn how to solve your problem by yourself (through reading wikis and man pages) with other distro
Same with Gentoo.

> you can still have a fully functional machine with everything you want in it
Same with Gentoo. Seriously, even if you're not going to fix everything directly and that one package you wanted fails, all you need is to understand how you try an older version or alternative piece of software pending going back to what you wanted. Which is an extremely straight-forward simple modification of Portage's configs.

> If you fight against your OS you end up switching back to Windows.
Or you even stick with Android because Windows and crappy Ubuntu has too many issues and all you can do is give up and run from the most trivial things, right?

> When you know what are you doing
Yea, you learn how you do things on Gentoo by reading Gentoo's docs and trying it.

You won't learn this from Windows. Maybe Windows seems easy because you already know its GPE, registry and shell in and out. But it won't help you deal with Portage's configs the same way knowing apt won't help you much with Windows.

You just learn Gentoo directly.

Is the way too long compiling times a myth? Gonna install Gentoo today. Or should I go with Clover OS?

Read the whole thread before calling me nigger (you're right tho' I'm a nigger). I made my research and solved the issue. But anyway, thanks. Despite being a rude as fuck whitey you gave the right answer.

*tips nigger hairs*

It's not if you're using a 1.6 GHz monocore processor like me. Compiling a kernel take like 10hours+ while on my Core i7 it take 15 minutes.

>> you can still have a fully functional machine with everything you want in it
>Same with Gentoo
Nope. Someone who needs a link to the handbook and ask video series that covers portage is not capable of having a decent OS with Gentoo. You're supposed to know about the handbook by the time you've tried to install it.
If you're using Gentoo because you know your way and that's what you want it's okay... if you choose it because someone on Sup Forums wrote "install gentoo" you're just a retard.
What's the point of using it if you don't know anything about it?


>> If you fight against your OS you end up switching back to Windows.
>Or you even stick with Android because Windows and crappy Ubuntu has too many issues and all you can do is give up and run from the most trivial things, right?
There is absolutely nothing wrong in learning about the terminal, coreutils and basic linux things with a simpler distribution. Understanding what are you doing is better than fixing things by copypasting random shit you find online.
Why is he running Gentoo in the first place if he doesn't even know what USE flags are?

>So far I've just been using it like it were any other distro
That's not how you use any distro. You have to understand what are you doing and why are you doing it. With a more user friendly distribution you have less things to learn and less things that you can do wrong. When you've learned the basics you can think about switching to something harder.
You shouldn't be ashamed of using something more user friendly.

gentoo is comfy and most things compile very quickly.

crux or lfs

how did you get the proprietary intel wifi drivers working? for me it would just fail with some error about the firmware blob missing even when its there and also when its compiled directly in the kernel.

No need to include them in the kernel. Make sure the kernel driver is build as a {M}odule, not builtin. Don't include firmware blobs into the kernel, modules will load them during boot

you are likely missing the linux-firmware package that has all the usual blobs in it

gentoo does not force systemd down your throat.

Yes, assuming you're using something even vaguely resembling a modern desktop PC. Doesn't even have to be a high-end machine - e.g., even before I optimized my make.conf for compiling speed, even a full recompile of all my ~900 packages took only around 5 1/2 hours and the PC stayed quite usable while it was compiling. That's on a Pentium G4560 (2c/4t, 3.5Ghz), with Gentoo on an SSD and compiling on a tmpfs. Also, at the time I had nothing set in make.conf to speed up compiling besides this: MAKEOPTS="-j4"

i have tried it in as many combinations as possible and the linux firmware package was installed too. it would always fail with a -2 error

It's not like you had to install llvm for wpa_supplicant? Could have just disabled the use-flags that pull it in.

I don't know how he avoided reading any part of the handbook etc, but that's just where he needs to continue, not sidetrack to some other distro.

> There is absolutely nothing wrong in learning about the terminal, coreutils and basic linux things with a simpler distribution.
They are exactly the same tools on Gentoo. There is no "easier" distribution for learning these.

The Gentoo handbook and docs give you the gist sequentially about what you might want to know about for Gentoo, that's actually easier than learning random tools on another distro in the hope you also got the ones you need for the basic operation of Gentoo.

Make the correct drivers a module in the kernel, install and boot that kernel.

Install the correct firmware blobs if it needs any.

You don't need more "combinations" than that and only that.

That really depends on your needs. I run Gentoo on a Raspberry Pi for which I only need a terminal and a few services.

is cloveros a meme?

Red Hat is not a distro. And why would you pay and use RHEL personally anyway.

practical joke gone too far

Alright folks, having issues booting into my (first) gentoo install. Using UEFI GRUB boots into pic related. Ive tried messing with the fstab with no effect. Thinking about just saying fuck it and going with BIOS boot. Any thoughts?

That's still the grub shell, so fstab shouldn't be the problem yet.

The problem at that point should be more whether your grub configuration is proper.

It beats the shit out of the AUR for source packages and there's a more conservative branch.

The installer could default to genkernel and shell out to make menuconfig in "advanced" mode.

The easiest way is using ESP as /boot and reinstalling GRUB from the chroot. I did the same thing on Arch.

I had a couple ideas, but not sure how to proceed. When installing GRUB to the boot partition (/boot) it reports that 'EFI vars are unsupported on this system' but then states no errors with installation. (I know my mobo supports EFI along with CSM). The handbook makes no mention of this so I went along with it.

Has anyone ever used overlayfs and anything-sync-daemon for their portage directories to minimize SSD writes? Would I be better off just carving out an 8GB tmpfs for building? I'm thinking of doing a fairly unusual setup with EFI ESP /boot, swap, and NILFS2 root.

I'm not sure you need EFI vars, but you do need to respect that the UEFI nonsense needs its own special FAT32 ESP partition thing in /boot/efi, and of course you still want a Linux partition for grub's own configuration and files (you have these, right?) for /boot itself unless you got that on your general root.

You do have the configuration from grub-mkconfig or written yourself and it does get loaded with grub, right?

>overlayfs
When I look this up I see readonly? That seems very wrong.

> minimize SSD writes
Eh, why? The only possibly better place for this is in RAM, if you have enough RAM.

ESP as /boot is totally fine on most boards, even a damn rmbp.

If you're booting off of EFI it might be easier to just use an EFI Stub kernel(that's what I use and it's also faster/lighterweight)
wiki.gentoo.org/wiki/EFI_stub_kernel

anything-sync-daemon basically uses a tmpfs overlay on top of a real disk directory (or a network mount I suppose) and periodically writes changes back to it on the order of once a minute or so. The idea is to avoid constant write cycles from ephemeral build files. You basically get a persistent ramdisk. It's the generalized form of profile-sync-daemon which is for browser profiles.

It's only really fine if you EFISTUB boot. And yea, the viability depends on whether your BIOS does what you want.

But if you use GRUB, you do /boot/efi as VFAT marked with the right GPT partition type GUID on top of /boot that presumably isn't VFAT because you aren't necessarily FOND of using terrible filesystems, unlike the MS backed UEFI designers.

>rmbp
Am I supposed to be impressed that some luxury laptop might be able to do this okay in some instances?

/dev/sda2 is mounted to /boot as a FAT32 fs with boot & ESP flags. Grub was installed to this point as per the handbook. I ran grub-mkconfig and it found the kernel image just fine, no errors reported.

Actually now that I think about it on a sufficiently lean system you could put all of /usr in such an overlay. Everything would run at Mach 5 while still being disk persistent modulo a minute or so in an unclean shutdown.

Yea, I don't see the point.

Portage compiles are generally sandboxed (so only the final step where the "staging" installation dir gets copied to the final destination in the live directory) happens outside portage's work directory (which indeed you can point to a tmpfs if you have tons of RAM).

And you never need intermediate saves for the portage work directory, if the compile aborts because you shut down the computer or whatever you generally can't just resume it where it was at anyhow, the compilers / build systems and portage don't keep track of that anyhow.

> The idea is to avoid constant write cycles from ephemeral build files
Again, if you have too much unused RAM... sure, go ahead.

OTOH just writing to SSD or HDD is almost certainly cheaper than overprovisioning RAM like that. Has been the typical solution for most. Not so sure your situation is different.

I have a server with 192GB of RAM and I can't fill it all with VMs anymore thanks to Meltdown patches kicking KVM performance right in the dick on Nehalem.

Okay, I guess this also works if it works. Either way, is your /boot/grub/grub.cfg in order?