Gentoo post to HTML
This commit is contained in:
parent
c04a7848b9
commit
97858dd3b2
4 changed files with 255 additions and 74 deletions
98
_posts/2016-07-12-installing-gentoo-on-a-thinkpad-x60s.html
Normal file
98
_posts/2016-07-12-installing-gentoo-on-a-thinkpad-x60s.html
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
---
|
||||||
|
layout: post
|
||||||
|
title: "Installing Gentoo on a Lenovo ThinkPad X60s"
|
||||||
|
date: 2016-07-12 13:00:00 +0200
|
||||||
|
categories: linux
|
||||||
|
---
|
||||||
|
<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>
|
||||||
|
{% highlight bash %}
|
||||||
|
# make ARCH=i386 menuconfig
|
||||||
|
# make ARCH=i386
|
||||||
|
# make ARCH=i386 install
|
||||||
|
{% endhighlight %}
|
||||||
|
</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>
|
|
@ -1,37 +0,0 @@
|
||||||
---
|
|
||||||
layout: post
|
|
||||||
title: "Installing Gentoo on a Lenovo ThinkPad X60s"
|
|
||||||
date: 2016-07-12 13:00:00 +0200
|
|
||||||
categories: linux
|
|
||||||
---
|
|
||||||
|
|
||||||
My only laptop is a [IBM/Lenovo ThinkPad X60s](http://www.thinkwiki.org/wiki/Category:X60s), a top line "ultrabook" from 2006 that features:
|
|
||||||
|
|
||||||
* An Intel Core Duo L2400 dual core 32 bit CPU, clocked at 1.66 Ghz;
|
|
||||||
* 2GB of RAM;
|
|
||||||
* 60GB of SATA1 hard drive;
|
|
||||||
* Wifi, Bluetooth, trackpoint mouse only, 56k modem, and a decent set of I/0 ports (including a CardBus slot!).
|
|
||||||
|
|
||||||
![Think1](https://dl.dropboxusercontent.com/s/vkm6phz5yb2k4oq/IMG_20160712_143708.jpg?dl=0)
|
|
||||||
|
|
||||||
![Think2](https://dl.dropboxusercontent.com/s/wfjj1wih90lrzax/IMG_20160712_143618.jpg?dl=0)
|
|
||||||
|
|
||||||
This machine had an installation on Arch Linux, and I was using it for school stuff. It runned smoothly KDE5, Atom (great editor, I'm using it to write this article), and it was usable even with Phpstorm. Pretty impressive for such an old thing, right?
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
I followed the [installation guide](https://wiki.gentoo.org/wiki/Handbook:Main_Page) without any problem until I had to emerge and install 309 packets from my `@world` set: it took 15 hours! The compilation of `cmake` crashed because of memory starvation, and so I had to use a spare USB stick as swap (the root file system wasn't resizable as it was JFS). After some research and a couple of seconds in `top` I discovered that [PAE](https://en.wikipedia.org/wiki/Physical_Address_Extension) was not implemented in the install disk kernel. TIP: if you want to use a nicer install enviroment, use the Arch ISO. With gentoo, the initialisation of the file system is made with a [stage 3 tarball](https://wiki.gentoo.org/wiki/Stage_tarball#Stage_3) and not by tools like [pacstrap](https://wiki.archlinux.org/index.php/beginners'_guide#Install_the_base_packages).
|
|
||||||
|
|
||||||
I had another problem with `make menuconfig`, the tool used to specify what features add or remove in your compiled from source Linux kernel. The ncurses 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 `ARCH` variable by your own:
|
|
||||||
|
|
||||||
{% highlight bash %}
|
|
||||||
# make ARCH=i386 menuconfig
|
|
||||||
# make ARCH=i386
|
|
||||||
# make ARCH=i386 install
|
|
||||||
{% endhighlight %}
|
|
||||||
|
|
||||||
At the end, I made it! I only have a base install, but i can show you `screenfetch`:
|
|
||||||
|
|
||||||
![Screenfetch](https://dl.dropboxusercontent.com/s/fbysnd58sj4g3kl/IMG_20160711_162733.jpg?dl=0)
|
|
||||||
|
|
||||||
I've not installed Gentoo in dual boot because I didn't figured out how to switch my bluetooth dongle in HID mode yet, so I can't select the OS with `rEFInd`. Hope this rambling was, if not useful, at least entertaining!
|
|
|
@ -6,8 +6,8 @@
|
||||||
</description>
|
</description>
|
||||||
<link>http://localhost:4000/</link>
|
<link>http://localhost:4000/</link>
|
||||||
<atom:link href="http://localhost:4000/feed.xml" rel="self" type="application/rss+xml"/>
|
<atom:link href="http://localhost:4000/feed.xml" rel="self" type="application/rss+xml"/>
|
||||||
<pubDate>Wed, 24 Oct 2018 13:52:54 +0200</pubDate>
|
<pubDate>Wed, 24 Oct 2018 17:19:21 +0200</pubDate>
|
||||||
<lastBuildDate>Wed, 24 Oct 2018 13:52:54 +0200</lastBuildDate>
|
<lastBuildDate>Wed, 24 Oct 2018 17:19:21 +0200</lastBuildDate>
|
||||||
<generator>Jekyll v3.8.4</generator>
|
<generator>Jekyll v3.8.4</generator>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
@ -140,36 +140,96 @@ done</span>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Installing Gentoo on a Lenovo ThinkPad X60s</title>
|
<title>Installing Gentoo on a Lenovo ThinkPad X60s</title>
|
||||||
<description><p>My only laptop is a <a href="http://www.thinkwiki.org/wiki/Category:X60s">IBM/Lenovo ThinkPad X60s</a>, a top line “ultrabook” from 2006 that features:</p>
|
<description><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>
|
||||||
|
|
||||||
<ul>
|
<p>
|
||||||
<li>An Intel Core Duo L2400 dual core 32 bit CPU, clocked at 1.66 Ghz;</li>
|
<img
|
||||||
<li>2GB of RAM;</li>
|
src="https://dl.dropboxusercontent.com/s/vkm6phz5yb2k4oq/IMG_20160712_143708.jpg?dl=0"
|
||||||
<li>60GB of SATA1 hard drive;</li>
|
alt="An image of the ThinkPad X60s">
|
||||||
<li>Wifi, Bluetooth, trackpoint mouse only, 56k modem, and a decent set of I/0 ports (including a CardBus slot!).</li>
|
</p>
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p><img src="https://dl.dropboxusercontent.com/s/vkm6phz5yb2k4oq/IMG_20160712_143708.jpg?dl=0" alt="Think1" /></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><img src="https://dl.dropboxusercontent.com/s/wfjj1wih90lrzax/IMG_20160712_143618.jpg?dl=0" alt="Think2" /></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>This machine had an installation on Arch Linux, and I was using it for school stuff. It runned smoothly KDE5, Atom (great editor, I’m using it to write this article), and it was usable even with Phpstorm. 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>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 followed the <a href="https://wiki.gentoo.org/wiki/Handbook:Main_Page">installation guide</a> without any problem until I had to emerge and install 309 packets from my <code class="highlighter-rouge">@world</code> set: it took 15 hours! The compilation of <code class="highlighter-rouge">cmake</code> crashed because of memory starvation, and so I had to use a spare USB stick as swap (the root file system wasn’t resizable as it was JFS). After some research and a couple of seconds in <code class="highlighter-rouge">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. TIP: if you want to use a nicer install enviroment, use the Arch ISO. With gentoo, the initialisation of the file system is made with a <a href="https://wiki.gentoo.org/wiki/Stage_tarball#Stage_3">stage 3 tarball</a> and not by tools like <a href="https://wiki.archlinux.org/index.php/beginners'_guide#Install_the_base_packages">pacstrap</a>.</p>
|
<p>
|
||||||
|
I had another problem with <code>make menuconfig</code>, the tool used to
|
||||||
<p>I had another problem with <code class="highlighter-rouge">make menuconfig</code>, the tool used to specify what features add or remove in your compiled from source Linux kernel. The ncurses 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 class="highlighter-rouge">ARCH</code> variable by your own:</p>
|
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>
|
||||||
<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># make ARCH=i386 menuconfig</span>
|
<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</span>
|
||||||
<span class="c"># make ARCH=i386 install</span></code></pre></figure>
|
<span class="c"># make ARCH=i386 install</span></code></pre></figure>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>At the end, I made it! I only have a base install, but i can show you <code class="highlighter-rouge">screenfetch</code>:</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="Screenfetch" /></p>
|
<p>
|
||||||
|
<img
|
||||||
|
src="https://dl.dropboxusercontent.com/s/fbysnd58sj4g3kl/IMG_20160711_162733.jpg?dl=0"
|
||||||
|
alt="The laptop running 'screenfetch'">
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>I’ve not installed Gentoo in dual boot because I didn’t figured out how to switch my bluetooth dongle in HID mode yet, so I can’t select the OS with <code class="highlighter-rouge">rEFInd</code>. Hope this rambling was, if not useful, at least entertaining!</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>
|
||||||
</description>
|
</description>
|
||||||
<pubDate>Tue, 12 Jul 2016 13:00:00 +0200</pubDate>
|
<pubDate>Tue, 12 Jul 2016 13:00:00 +0200</pubDate>
|
||||||
<link>http://localhost:4000/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html</link>
|
<link>http://localhost:4000/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html</link>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<title>Installing Gentoo on a Lenovo ThinkPad X60s</title>
|
<title>Installing Gentoo on a Lenovo ThinkPad X60s</title>
|
||||||
<meta name="description" content="My only laptop is a IBM/Lenovo ThinkPad X60s, a top line “ultrabook” from 2006 that features:">
|
<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 ...">
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/main.css">
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
<link href='https://fonts.googleapis.com/css?family=Hammersmith+One' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Hammersmith+One' rel='stylesheet' type='text/css'>
|
||||||
|
@ -98,36 +98,96 @@
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="post-content" itemprop="articleBody">
|
<div class="post-content" itemprop="articleBody">
|
||||||
<p>My only laptop is a <a href="http://www.thinkwiki.org/wiki/Category:X60s">IBM/Lenovo ThinkPad X60s</a>, a top line “ultrabook” from 2006 that features:</p>
|
<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>
|
||||||
|
|
||||||
<ul>
|
<p>
|
||||||
<li>An Intel Core Duo L2400 dual core 32 bit CPU, clocked at 1.66 Ghz;</li>
|
<img
|
||||||
<li>2GB of RAM;</li>
|
src="https://dl.dropboxusercontent.com/s/vkm6phz5yb2k4oq/IMG_20160712_143708.jpg?dl=0"
|
||||||
<li>60GB of SATA1 hard drive;</li>
|
alt="An image of the ThinkPad X60s">
|
||||||
<li>Wifi, Bluetooth, trackpoint mouse only, 56k modem, and a decent set of I/0 ports (including a CardBus slot!).</li>
|
</p>
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p><img src="https://dl.dropboxusercontent.com/s/vkm6phz5yb2k4oq/IMG_20160712_143708.jpg?dl=0" alt="Think1" /></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><img src="https://dl.dropboxusercontent.com/s/wfjj1wih90lrzax/IMG_20160712_143618.jpg?dl=0" alt="Think2" /></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>This machine had an installation on Arch Linux, and I was using it for school stuff. It runned smoothly KDE5, Atom (great editor, I’m using it to write this article), and it was usable even with Phpstorm. 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>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 followed the <a href="https://wiki.gentoo.org/wiki/Handbook:Main_Page">installation guide</a> without any problem until I had to emerge and install 309 packets from my <code class="highlighter-rouge">@world</code> set: it took 15 hours! The compilation of <code class="highlighter-rouge">cmake</code> crashed because of memory starvation, and so I had to use a spare USB stick as swap (the root file system wasn’t resizable as it was JFS). After some research and a couple of seconds in <code class="highlighter-rouge">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. TIP: if you want to use a nicer install enviroment, use the Arch ISO. With gentoo, the initialisation of the file system is made with a <a href="https://wiki.gentoo.org/wiki/Stage_tarball#Stage_3">stage 3 tarball</a> and not by tools like <a href="https://wiki.archlinux.org/index.php/beginners'_guide#Install_the_base_packages">pacstrap</a>.</p>
|
<p>
|
||||||
|
I had another problem with <code>make menuconfig</code>, the tool used to
|
||||||
<p>I had another problem with <code class="highlighter-rouge">make menuconfig</code>, the tool used to specify what features add or remove in your compiled from source Linux kernel. The ncurses 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 class="highlighter-rouge">ARCH</code> variable by your own:</p>
|
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>
|
||||||
<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># make ARCH=i386 menuconfig</span>
|
<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</span>
|
||||||
<span class="c"># make ARCH=i386 install</span></code></pre></figure>
|
<span class="c"># make ARCH=i386 install</span></code></pre></figure>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>At the end, I made it! I only have a base install, but i can show you <code class="highlighter-rouge">screenfetch</code>:</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="Screenfetch" /></p>
|
<p>
|
||||||
|
<img
|
||||||
|
src="https://dl.dropboxusercontent.com/s/fbysnd58sj4g3kl/IMG_20160711_162733.jpg?dl=0"
|
||||||
|
alt="The laptop running 'screenfetch'">
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>I’ve not installed Gentoo in dual boot because I didn’t figured out how to switch my bluetooth dongle in HID mode yet, so I can’t select the OS with <code class="highlighter-rouge">rEFInd</code>. Hope this rambling was, if not useful, at least entertaining!</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>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue