• 2011/12/12 - 17:28

    News

    The section "Nas/Router" has been added

Current page: Home > Tech

The operating system

All software details of my media server

I currently use a gentoo distribution that I configured especially for the use with my S100. This means it is not a standard installation. I pulled all needed packages as binaries out of my "development system" and installed them on the S100. The development system is stored in its own folder right on the servers harddrive but it is not bootable. To install new features I boot the small gentoo just normal and log into the system by ssh. I then chroot into the development system and compile the needed packages.

# mount necessary folders
mount -t proc none %DEV_SYSTEM%/proc
mount -o bind /dev %DEV_SYSTEM%/dev

# mount the small gentoo root to be able to really install the packages
mount -o bind / %DEV_SYSTEM%/REAL_ROOT

# chroot into the development system
chroot %DEV_SYSTEM% /bin/bash

Afterwards I extract the binary packages and install them to the small gentoo root folder. Then - without reboot - the new packages are available for usage within the media server.

# emerge the packages into the development system
FEATURES="buildpkg" emerge -av cool-new/feature-packages

# emerge the packages into the small gentoo (real installation)
ROOT=/REAL_ROOT emerge -aKv cool-new/feature-packages

last updated: May 4, 2020 17:36:28