diff --git a/.sass-cache/d9c07a9bad333b113ae9c5f526ec1695c801ded0/_layout.scssc b/.sass-cache/d9c07a9bad333b113ae9c5f526ec1695c801ded0/_layout.scssc index ec960aa..e7eb93b 100644 Binary files a/.sass-cache/d9c07a9bad333b113ae9c5f526ec1695c801ded0/_layout.scssc and b/.sass-cache/d9c07a9bad333b113ae9c5f526ec1695c801ded0/_layout.scssc differ diff --git a/_config.yml b/_config.yml index 5b08fa1..6aefa0c 100644 --- a/_config.yml +++ b/_config.yml @@ -13,7 +13,7 @@ description: > # this means to ignore newlines until "baseurl:" baseurl: "" # the subpath of your site, e.g. /blog url: "http://praticamentetilde.github.io" # the base hostname & protocol for your site github_username: praticamentetilde - +future: true # Build settings markdown: kramdown collections: diff --git a/_posts/2016-07-12-installing-gentoo-on-a-thinkpad-x60s.md b/_posts/2016-07-12-installing-gentoo-on-a-thinkpad-x60s.md new file mode 100644 index 0000000..f6fcb81 --- /dev/null +++ b/_posts/2016-07-12-installing-gentoo-on-a-thinkpad-x60s.md @@ -0,0 +1,37 @@ +--- +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/content_link/JzTZf5zYyBkpLDDOz1vtSMvPga8OIM1SBjID6G6R7jMplbaidXTSWjwqClip3RaL/file) + +![Think2](https://dl.dropboxusercontent.com/content_link/t6IewbrmvdhYQBREpdr5r9F61SUFSK0uEZMA30LcLOE5Th6CTd5mdXBH8Ju2CFa8/file) + +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/content_link/IPYdz4IcrWSE7MkHCcT3om38HrmEJCHMTifZa2apowHsiV7mlfMCUJ0ciYzk4Izz/file) + +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! diff --git a/_site/css/main.css b/_site/css/main.css index a544a35..e5c78a3 100644 --- a/_site/css/main.css +++ b/_site/css/main.css @@ -243,6 +243,7 @@ pre { margin: auto; } } .site-nav { + z-index: 5; float: right; line-height: 56px; } .site-nav .menu-icon { diff --git a/_site/feed.xml b/_site/feed.xml index 8aaa63b..76f7248 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -6,10 +6,52 @@ http://praticamentetilde.github.io/ - Thu, 07 Jul 2016 21:23:45 +0200 - Thu, 07 Jul 2016 21:23:45 +0200 + Tue, 12 Jul 2016 20:21:14 +0200 + Tue, 12 Jul 2016 20:21:14 +0200 Jekyll v3.1.6 + + Installing Gentoo on a Lenovo ThinkPad X60s + <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> + +<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><img src="https://dl.dropboxusercontent.com/content_link/JzTZf5zYyBkpLDDOz1vtSMvPga8OIM1SBjID6G6R7jMplbaidXTSWjwqClip3RaL/file" alt="Think1" /></p> + +<p><img src="https://dl.dropboxusercontent.com/content_link/t6IewbrmvdhYQBREpdr5r9F61SUFSK0uEZMA30LcLOE5Th6CTd5mdXBH8Ju2CFa8/file" alt="Think2" /></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>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 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> + +<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> + +<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><img src="https://dl.dropboxusercontent.com/content_link/IPYdz4IcrWSE7MkHCcT3om38HrmEJCHMTifZa2apowHsiV7mlfMCUJ0ciYzk4Izz/file" alt="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> + + Tue, 12 Jul 2016 13:00:00 +0200 + http://praticamentetilde.github.io/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html + http://praticamentetilde.github.io/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html + + + linux + + + Get a Bluetooth keyboard work with Arch Linux <p>I’ve recently got a Rapoo E6100. This is a minimal and space saving Bluetooth 3.0 keyboard. If you pair it with Windows 10, it will remain paired after reboot, giving the possibility to use it since the login screen. After installing the Bluetooth stack on my Arch via the <code class="highlighter-rouge">bluez</code> and <code class="highlighter-rouge">bluez-utils</code> packages I thought the pairing process would be as simple as Windows if I used the KDE GUI menus for Bluetooth management. That’s not true. The keyboard, once paired, will reconnect automatically just after <code class="highlighter-rouge">plasmashell</code> loaded, leaving me without keyboard during the SDDM login screen and, of course, during a non-graphical session.</p> diff --git a/_site/index.html b/_site/index.html index 0699300..bc3f5da 100644 --- a/_site/index.html +++ b/_site/index.html @@ -124,6 +124,14 @@
    +
  • + + +

    + Installing Gentoo on a Lenovo ThinkPad X60s +

    +
  • +
  • diff --git a/_site/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html b/_site/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html new file mode 100644 index 0000000..db83cff --- /dev/null +++ b/_site/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html @@ -0,0 +1,179 @@ + + + + + + + + Installing Gentoo on a Lenovo ThinkPad X60s + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + +
    +

    Installing Gentoo on a Lenovo ThinkPad X60s

    + +
    + +
    +

    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 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

    + +

    Think2

    + +

    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 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 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 and not by tools like pacstrap.

    + +

    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:

    + +
    # make ARCH=i386 menuconfig
    +# make ARCH=i386
    +# make ARCH=i386 install
    + +

    At the end, I made it! I only have a base install, but i can show you screenfetch:

    + +

    Screenfetch

    + +

    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!

    + +
    + +
    +
    + + + + +
    +
    +
    + +
    + + + + +
    + +
    + + + diff --git a/_site/linux/2016/12/07/installing-gentoo-on-a-thinkpad-x60s.html b/_site/linux/2016/12/07/installing-gentoo-on-a-thinkpad-x60s.html new file mode 100644 index 0000000..241259e --- /dev/null +++ b/_site/linux/2016/12/07/installing-gentoo-on-a-thinkpad-x60s.html @@ -0,0 +1,158 @@ + + + + + + + + Installing Gentoo on a Lenovo ThinkPad X60s + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + +
    +

    Installing Gentoo on a Lenovo ThinkPad X60s

    + +
    + +
    +

    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 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!).

    + +

    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 machine, 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.

    + +
    + +
    +
    + + + + +
    +
    + + + +