2016-07-12 18:22:49 +00:00
<!DOCTYPE html>
< html >
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< title > Installing Gentoo on a Lenovo ThinkPad X60s< / title >
2018-10-24 15:21:07 +00:00
< meta name = "description" content = " Currently, my only laptop is a IBM/Lenovo ThinkPad X60s, a top line ultrabook from 2006 that features: An Intel Core Duo L2400 dual core 32 bit ..." >
2016-07-12 18:22:49 +00:00
< link rel = "stylesheet" href = "/css/main.css" >
< link href = 'https://fonts.googleapis.com/css?family=Hammersmith+One' rel = 'stylesheet' type = 'text/css' >
2018-10-23 15:06:34 +00:00
< link href = "https://fonts.googleapis.com/css?family=Source+Code+Pro" rel = "stylesheet" >
2018-10-23 15:26:41 +00:00
< link rel = "canonical" href = "http://localhost:4000/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html" >
< link rel = "alternate" type = "application/rss+xml" title = "maggioni.xyz" href = "http://localhost:4000/feed.xml" >
2016-07-12 18:22:49 +00:00
< link rel = "stylesheet" href = "//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" >
< script src = "https://rawgit.com/snaptortoise/konami-js/master/konami.js" > < / script >
<!-- Favicon -->
< link rel = "apple-touch-icon" sizes = "57x57" href = "/apple-icon-57x57.png" >
< link rel = "apple-touch-icon" sizes = "60x60" href = "/apple-icon-60x60.png" >
< link rel = "apple-touch-icon" sizes = "72x72" href = "/apple-icon-72x72.png" >
< link rel = "apple-touch-icon" sizes = "76x76" href = "/apple-icon-76x76.png" >
< link rel = "apple-touch-icon" sizes = "114x114" href = "/apple-icon-114x114.png" >
< link rel = "apple-touch-icon" sizes = "120x120" href = "/apple-icon-120x120.png" >
< link rel = "apple-touch-icon" sizes = "144x144" href = "/apple-icon-144x144.png" >
< link rel = "apple-touch-icon" sizes = "152x152" href = "/apple-icon-152x152.png" >
< link rel = "apple-touch-icon" sizes = "180x180" href = "/apple-icon-180x180.png" >
< link rel = "icon" type = "image/png" sizes = "192x192" href = "/android-icon-192x192.png" >
< link rel = "icon" type = "image/png" sizes = "32x32" href = "/favicon-32x32.png" >
< link rel = "icon" type = "image/png" sizes = "96x96" href = "/favicon-96x96.png" >
< link rel = "icon" type = "image/png" sizes = "16x16" href = "/favicon-16x16.png" >
< link rel = "manifest" href = "/manifest.json" >
< meta name = "msapplication-TileColor" content = "#ffffff" >
< meta name = "msapplication-TileImage" content = "/ms-icon-144x144.png" >
< / head >
2016-09-13 19:40:45 +00:00
< body >
< header class = "header" >
2018-10-23 14:38:45 +00:00
< section class = "head container" >
< h1 class = "title" > maggioni.xyz< / h1 >
2018-10-23 15:26:41 +00:00
< h4 > Eat
< a href = "https://en.wikipedia.org/wiki/Polenta" >
polenta< / a > and do not counter-aim!< / h4 >
2016-09-13 19:40:45 +00:00
< / section >
< nav class = "navbar" >
< div class = "container" >
< ul class = "navbar-list" >
< li class = "navbar-item" >
< a href = "/" > home< / a >
< / li >
2016-09-26 20:09:25 +00:00
2016-09-13 19:40:45 +00:00
< li class = "navbar-item" >
2018-10-23 14:38:45 +00:00
< a href = "/blog/" >
Blog< / a >
2016-09-13 19:40:45 +00:00
< / li >
< li class = "navbar-item" >
2018-10-23 14:38:45 +00:00
< a href = "/feed.xml" > RSS< / a >
< / li >
< / ul >
< ul class = "navbar-list" >
< li class = "navbar-item" >
< a href = "https://git.maggioni.xyz" > Git< / a >
2016-09-13 19:40:45 +00:00
< / li >
< li class = "navbar-item" >
2018-10-23 14:38:45 +00:00
< a href = "https://git.maggioni.xyz" > Ci< / a >
< / li >
< li class = "navbar-item" >
< a href = "https://git.maggioni.xyz" > Cloud< / a >
2016-09-13 19:40:45 +00:00
< / li >
2018-10-23 14:38:45 +00:00
< li class = "navbar-item" >
< a href = "https://download.maggioni.xyz" > Downloads< / a >
< / li >
2016-07-12 18:22:49 +00:00
2016-09-13 19:40:45 +00:00
< / ul >
< / div >
< / nav >
2016-07-12 18:22:49 +00:00
2016-09-13 19:40:45 +00:00
< / header >
< main class = "container" >
2016-07-12 18:22:49 +00:00
< article class = "post" itemscope itemtype = "http://schema.org/BlogPosting" >
< header class = "post-header" >
2016-09-13 19:40:45 +00:00
< h2 class = "post-title" itemprop = "name headline" > Installing Gentoo on a Lenovo ThinkPad X60s< / h2 >
2018-10-23 14:38:45 +00:00
< h4 class = "post-meta" > < time datetime = "2016-07-12T13:00:00+02:00" itemprop = "datePublished" > Jul 12, 2016< / time > < / h4 >
2016-07-12 18:22:49 +00:00
< / header >
< div class = "post-content" itemprop = "articleBody" >
2018-10-24 15:21:07 +00:00
< p >
Currently, my only laptop is a
< a href = "http://www.thinkwiki.org/wiki/Category:X60s" > IBM/Lenovo ThinkPad
X60s< / a > , a top line < em > ultrabook< / em > from 2006 that features:
< ul >
< li > An Intel Core Duo L2400 dual core 32 bit CPU, clocked at 1.66 Ghz;< / li >
< li > 2GB of RAM;< / li >
< li > 60GB of SATA1 hard drive;< / li >
< li > Wifi, Bluetooth, trackpoint mouse only, 56k modem, and a decent set of
I/0 ports (including a CardBus slot!).< / li >
< / ul >
< / p >
< p >
< img
src="https://dl.dropboxusercontent.com/s/vkm6phz5yb2k4oq/IMG_20160712_143708.jpg?dl=0"
alt="An image of the ThinkPad X60s">
< / p >
< p >
< img
src="https://dl.dropboxusercontent.com/s/wfjj1wih90lrzax/IMG_20160712_143618.jpg?dl=0"
alt="Another image of the ThinkPad X60s">
< / p >
< p >
This machine had an installation on < em > Arch Linux< / em > , and I was using it
for school stuff. It runned smoothly < em > KDE5< / em > , < em > Atom< / em > (great
editor, I am using it to write this article), and it was usable even with
< em > PhpStorm< / em > . Pretty impressive for such an old thing, right?
< / p >
< p >
Since now I don't need this laptop every day I decided to give a try at Gentoo,
another rolling relase, DIY install distro. This was both a test of my
skills, my patience and the performances of the machine. For those of you
that don't know, Gentoo hasn't binary packages: imagine using Arch with just
a developer mantained AUR.
< / p >
< p >
I followed the < a href = "https://wiki.gentoo.org/wiki/Handbook:Main_Page" >
installation guide< / a > without any problem until I had to < em > emerge< / em >
and install 309 packets from my < code > @world< / code > set: it took 15 hours!
The compilation of < code > cmake< / code > crashed because of memory starvation,
and so I had to use a spare USB stick as swap (the root file system was not
resizable as it was JFS). After some research and a couple of seconds in
< code > top< / code > I discovered that
< a href = "https://en.wikipedia.org/wiki/Physical_Address_Extension" > PAE< / a >
was not implemented in the install disk kernel. < strong > TIP:< / strong > if you
want to use a nicer install enviroment, use the < em > Arch< / em > ISO. With
< em > Gentoo< / em > , the initialisation of the file system is made with a
< a href = "https://wiki.gentoo.org/wiki/Stage_tarball#Stage_3" > < em > stage 3
tarball< / em > < / a > and not by tools like
< a href = "https://wiki.archlinux.org/index.php/beginners'_guide#Install_the_base_packages" >
< code > pacstrap< / code > < / a > .
< / p >
< p >
I had another problem with < code > make menuconfig< / code > , the tool used to
specify what features add or remove in your compiled from source Linux kernel.
The < code > ncurses< / code > menu showed me 64bit options, even if the install
disk and the CPU were both 32 bit. If you have this issue too, you can set
the < code > ARCH< / code > variable by your own:
< / p >
< p >
2016-07-12 18:22:49 +00:00
< figure class = "highlight" > < pre > < code class = "language-bash" data-lang = "bash" > < span class = "c" > # make ARCH=i386 menuconfig< / span >
< span class = "c" > # make ARCH=i386< / span >
< span class = "c" > # make ARCH=i386 install< / span > < / code > < / pre > < / figure >
2018-10-24 15:21:07 +00:00
< / p >
< p >
At the end, I made it! I only have a base install, but i can show you
< code > screenfetch< / code > :
< / p >
< p >
< img
src="https://dl.dropboxusercontent.com/s/fbysnd58sj4g3kl/IMG_20160711_162733.jpg?dl=0"
alt="The laptop running 'screenfetch'">
< / p >
< p >
I have not installed < em > Gentoo< / em > in dual boot because I did not figure
out how to switch my bluetooth dongle in HID mode yet, so I can't select the
OS with < code > rEFInd< / code > . Hope this rambling was, if not useful, at least
entertaining!
< / p >
2016-07-12 18:22:49 +00:00
< / div >
< / article >
2016-09-13 19:40:45 +00:00
< / main >
< footer class = "site-footer" >
< div class = "icons" >
2018-10-23 14:48:50 +00:00
< a class = "icon" href = "https://github.com/praticamentetilde" >
< i class = "fa fa-github" > < / i > < / a >
< a class = "icon" href = "https://www.reddit.com/user/praticamentetilde" >
< i class = "fa fa-reddit" > < / i > < / a >
2016-07-12 18:22:49 +00:00
< / div >
2018-10-23 14:38:45 +00:00
< h6 class = "author" >
< i class = "fa fa-cc" aria-hidden = "true" > < / i >
Claudio Maggioni
< script >
document.write((new Date()).getFullYear());
< / script > < br >
Content under
< a href = "https://creativecommons.org/licenses/by-nc-sa/4.0/" >
CC BY-NC-SA 4.0< / a >
< / h6 >
2016-07-12 18:22:49 +00:00
< / footer >
2016-09-13 19:40:45 +00:00
< script >
var easter_egg = new Konami();
easter_egg.load("https://www.youtube.com/watch?v=URTcCh6QVwM");
< / script >
< / body >
2016-07-12 18:22:49 +00:00
< / html >