A few uclibc embedded gentoo facts:
- the compilation of the box takes around 15 minutes
- at boot up, takes less than 3 megabytes of RAM
- disk space: 17 megabytes
- boots in under 8 seconds on a pentium3
link to stage3 tarballs archive
# this is my make.conf, it should be the same in the stage3, if installing anything in the stage3, and even before updating, comment the line INSTALL_MASK=”*.h HACKING.gz TODO.gz”
CFLAGS="-Os -mtune=i386 -pipe" CXXFLAGS="-Os -mtune=i386 -pipe" CHOST="i386-gentoo-linux-uclibc" FEATURES="strip" MAKEOPTS="-j3" GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" USE="-ipv6 -python3 -cracklib -minimal" LINGUAS="en" VIDEO_CARDS="" ACCEPT_KEYWORDS="~x86" INSTALL_MASK="*.h HACKING.gz TODO.gz"
# download my stage3, from the previous post links, and then prepare to chroot
mount -o bind /dev stage3-*/dev mount -o bind /proc stage3-*/proc chroot stage3-*
# update the system, and create the necessary path, if you come across any errors, post them here, and expect a reply soon
emerge -avuDN world mkdir /mounted
# begin the installation
# install necessary packages
ROOT=/mounted/ emerge -auvND baselayout uclibc bash dropbear pam udev iptables coreutils nano util-linux shadow kbd net-tools grep procps gzip sed findutils mawk htop mkdir /mounted/proc mkdir /mounted/dev
Continue reading “embedded gentoo [uclibc] | nothing beats this”