I would like to practice installing Gentoo from scratch since I like the idea of the distro, but I’m quite new to Linux at all and only had experience with Debian. I suppose my very basic knowledge of terminal isn’t enough to install Gentoo, even with the handbook. So, what would you recommend to learn or practice before I actually try installing Gentoo? Also, any specific tips on installing Gentoo inside a VM?
I suppose my very basic knowledge of terminal isn’t enough to install Gentoo, even with the handbook.
Nope. The gentoo handbook is VERY good. Don’t skip parts on it and you can install a gentoo. You really don’t need very advanced terminal skills to get gentoo up and running. So long as you understand basics like cd/nano/ls/cat then you can pretty easily do the entire handbook.
One thing to realize is that you can always go backwards and fix things if you make a mistake. Nothing is permanent. If you get into a “why isn’t this working” state, just go back and see if you’ve skipped something.
Do use the Gentoo-provided minimal install iso as the host for the install, and not random live media, just to reduce the possibility of unexpected problems.
The handbook is actually pretty explicit on what commands you need to run for the base install. Read it through first. Take note of the places where you actually have to decide something (the biggest one is OpenRC vs. systemd, and you want to have that decision made before you start). Go with the default for anything you don’t really care about or that looks a bit complicated or scary. Absolutely do not skip steps (unless they’re marked “Optional”) even if you don’t yet understand what the step is for.
Working inside a VM insulates you from some of the worst gotchas you can run into on real hardware (like bad UEFI implementations), fortunately. Still, don’t try to build a custom kernel straight out the gate—just install the distro kernel for now.
If something goes wrong during the install, it can be best to take a break and come back later.
Once you’ve got the base system running, you’ll have another decision to make about X vs wayland and the various DE/WM/compositor options.
@pixeldaemon As a 20+ year gentoo user, I often point people to the handbook as a tool for helping them to gain a solid understanding of linux. The way I recommend you go about it is to first read through the entire handbook and (most importantly) go read about each thing you encounter in it that you don’t understand. Once you think you somewhat have a grasp of why each step is in there, start running through an install. Only use prebuilt kernels for now (ever really), there is no need to build one yourself unless you need something specific. Don’t worry about fuck ups, just keep going till you get through it, you’ll learn what you did wrong as you progress. Once you’ve made it as far as a functional desktop, rinse and repeat until you find yourself only referencing the handbook for verification, not reading it, then move on to learning about portage.
It might be a very stupid question, but, does Gentoo handbook assume I’m preparing to install Gentoo from an already working Linux system?
Just jump straight in and install in a VM. That’s all the practice you need. Can’t break anything, just wipe and try again until you get there.
Gentoo, along with arch and their derivatives are more advanced distros, that will require you to actually learn stuff to be able to use them.
That said, if you are motivated and have the time there is no reason to not try, and the arch wiki and installation manual are in my experience very good at explaining everything you need to know on the system side.
I know that the gentoo handbook is also very good, and the main difference between gentoo and arch is that there is the additional uncommon step to build everything from source, kernel included.
You could go with gentoo directly, but since you seem searching for a progression I do recommend to try arch first before going to the gentoo endgame.
The process of installing gentoo and arch is nearly identical. Really the main difference between the two is that arch (usually) offers binaries to install while gentoo prefers that you compile things (though it does actually allow you to use binaries as well).



