Installation on libreboot

(This page is a rough draft and nowhere near completion. --Vorell (talk) 05:48, 16 March 2015 (UTC) )

While the Gentoo handbook is very thorough in detailing the process of installation on a standard BIOS evironment, Gluglugs or librebooted, refurbished Thinkpads take some special considerations. The purpose of this article is to document some of these considerations to help out any other Gentoo users who decide to take the 100% Free Software philosophy into practice with their installs.

Booting a Gentoo LiveCD Environment from Libreboot
After following the directions at LiveUSB to construct a bootable installation medium, you might encounter some issues with the grub scripts the Libreboot developer has written for booting from USB drives. If the directions for loading the isolinux config from USB at libreboot.org are followed, it spits out a three line error code as follows:

Manually boot Gentoo from GRUB CLI
To bypass this you must drop to the GRUB commandline and manually specify your livecd kernel & initrd before issuing the boot command.
 * First descend to the GRUB commandline


 * Next issue the "ls" command to verify the location of your Gentoo liveUSB

Below is an example output from that command.


 * Next specify the location of the Gentoo kernel, making sure to pass any parameters needed for boot. See for more kernel parameters. The example below assumes that the Gentoo livecd is the only USB drive connected. The root=/dev/ram0 is important, without it there is a kernel panic.


 * With the kernel and parameters specified, it's just a matter of identifying the initrd


 * Finally execute the boot command:

Use a Kernel without blobs
There are two ways to ensure the kernel won't contain any binary blobs

Let portage remove the blobs
Enable the USE-flag "deblob" to make portage remove the binary blobs from and. The installation process will take longer than without the "deblob" flag, because the deblob-scripts get applied to the sources after the patches get applied.

Use linux-libre sources
This is not recommended because the kernel sources installed this way won't get updated by portage. It is also more difficult to install the patches from the Project:Hardened.

You have been warned!

Navigate to linux-libre.org and download the desired kernel source.

When it comes time to Handbook:Parts/Installation/Kernel just extract the kernel source to a safe location and then symlink it to usr/src/linux The commands below are examples given the current kernel at time of writing, do not copy & paste these commands into ssh.

Maintaining FSF Certified Status
While configuring the portage make.conf be sure to specify that you want nothing to do with any software which isn't completely free. The whole point of this guide is to build a Libre Gentoo system after all. This step has to be done before emerging any software or do a manual update with the --newuse flag which can result in recompiling a lot of software unnecessarily.