Quickly setup a Gentoo system

In order to verify if the installation instructions in the Gentoo Handbook are still valid, and to allow me to quickly seed new Gentoo installations in a virtual environment, I wrote a very ugly (really) script to automatically “stage” a Gentoo Linux installation in a KVM guest. This is not my intention to make this an “unattended” installation script, it is merely one of the many scripts out there to help some poor developer in working a bit more agile.

I decided to document gensetup as a first step (cfr my earlier Catching up post) in my quest to document how to setup a virtual Gentoo Hardened (with SELinux) virtual architecture. The gensetup tool is just to provide a (semi)automated way to install Gentoo according to the instructions in the Gentoo Handbook. Later, I’ll add documentation for the setup_*.sh scripts that I use to upgrade such a base installation to a specific server/service.

You want a probably better working installation script, check out Andrew Gaffney’s Quickstart for Gentoo. And if you know of other such scripts, I would be glad to hear from them, if not just to keep track of the various similar projects out there.

Edit: The quickstart application does not seem to be maintained anymore. My bad. However, suggestions are made in the comments for more up-to-date systems ;-)


  1. Hi ikkhares,

    Nice to know of the Kicktoo project, didn’t hear of it earlier. Personally, I do not think it will be a good substitute for my script as I use the script to validate the installation instructions as well. However, when I would need to quickly stage Gentoo systems (without needing to validate installation instructions) it would now be on my list to check out ;-)

  2. Thanks, i’ll ask the infrastructure teams to take a look at that, seems to be with all GuideXML documents on dev.gentoo.org for now.

Leave a Reply

Your email address will not be published. Required fields are marked *