GenLink to SabLink for ARM9

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search

Site under construction

Converting a GenLink Installation to an Sablink system is a tricky process becuase the gcc from the genlink is unable to compile new packages without errors so a new genlink was created with a proper gcc to compile all the required apdates to move to SabLink

Get The Genlink up to date

First you need to update your gentoo that way you can use the sablink tools

change the used BINHOST in /etc/make.conf to


This Binhost contains the needed updates for sablink

now update the packages to the right version because the new packages are eapi masked we have to trick the install

 emerge --getbinpkgonly --usepkgonly -O python:2.7

then add the add the eselct-python

 emerge --getbinpkgonly --usepkgonly -O eselect-python

now select python 2.7

eselect python list
eselect python set x

now force the right version of portage

 emerge --getbinpkgonly --usepkgonly -O portage

now install the tools used by equo

 emerge --getbinpkgonly --usepkgonly shadow

and now get the sablink tools installed

 emerge --getbinpkgonly --usepkgonly equo

and get the core files for sablink

 emerge --getbinpkgonly --usepkgonly -O sablink-core

now your system is prepared for sablink system

Change the CHOST and force entropy Arch

now you system is still aof type armv5tejl it needs to be changed to armv5tel (the j is standing for Arm Jazzel but no linux version is supporting it native so no need for it; arm also removed proper Jazzel support in newer processors)

change the /etc/make.conf from




now force the proper arch also for the entropy package manager (if you type uname -a its still armv5tejl)

echo "armv5tel" > /etc/entropy/.arch

now your system is prepared for the migration to SabLink

Generate the the Local Entropy database and fetch the remote entropy update database

Entropy maintaines its own package database lets generate it out of the gentoo Source package database

LC_ALL=en_US.UTF-8 equo rescue generate

and update the the remote repository

LC_ALL=en_US.UTF-8 equo update
Nuvola apps important.png 

Please note Don't do an equo upgrade it will destroy your system we have to force specific packages first!

Force Core packages

we need to force some core packages to be installed otherwise the update will not work without errors

LC_ALL=en_US.UTF-8 equo install --nodeps glibc

and get the deps for bash

LC_ALL=en_US.UTF-8 equo install --nodeps ncurses
LC_ALL=en_US.UTF-8 equo install --nodeps readline

and now get bash itself

LC_ALL=en_US.UTF-8 equo install --nodeps bash

now that the base packages arte up to date reboot your device


Update to Sablink by replacing every package

LC_ALL=en_US.UTF-8 equo upgrade empty

now that the system is up to date lets install new packages and remove not needed ones

LC_ALL=en_US.UTF-8 equo install keyboard-configuration-helpers language-configuration-helpers

get some helpers installed

and remove old packages

LC_ALL=en_US.utf8 equo remove --force-system --nodeps gcc:4.2

now setup the general setings

language-setup  en_US.UTF-8 system

and set the keyboard layout

keyboard-setup en_US all

if everything went accordingly you now moved your genlink installation to SabLink