Update: The catalyst spec files are available here: https://github.com/judepereira/gentoo-development/tree/master/x86/uclibc/catalyst Following this Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=441976 We have official experimental uClibC for x86 and amd64 stages. I will not be maintaining these unofficial ones any longer. The link to the official archives…
Well, first off the ability to just add one USB device is a little boring, I’ve been using a Belkin 4 port USB HUB, and the results are good. For cooling the GoFlex, you may want to remove the bottom…
Serial console? That’s beautiful when it comes to debugging. The following images are specific to the Seagate GoFlex Home, however, you may be able to figure out the connections for other Marvell SoCs. On the board: Notice that according to…
It’s been quite sometime that I’ve got my GoFlex Home now, and it’s only recently that I’ve received my RS232 Serial USB UART Adapter. The pin connections are simple and easy, I’ll post that as well. As I’ve already got…
Assuming that you have a grsec + PaX enabled kernel, you would realise that the nvidia-drivers are a bad choice. Quite a few applications will fail(the ones that use libGLcore.so). Use the nouveau driver for your card, as it’s pretty…
What if you decided that you wanted to experiment and test within a chroot(ed) environment? And then something went wrong and you had to start all over again from scratch? Big headache, too much pain, especially with RPM based distributions….
To bootstrap CentOS in Gentoo, I did the following. It basically installs the essential CentOS components into the specified directory, and from there on, chroot into that directory and perform tests, etc. First off, you’ll need to unmask a few…
If you were running a cluster of Gentoo driven machines, would you actually compile source for each of them? Or rather use binary packages? Gentoo’s masterpiece is binpkg, when you compile for one machine, you don’t have to recompile throughout,…
Let’s admit it, we’re all lazy system admins. The bash completion in any other distribution is incomplete, and not as powerful as the one in Gentoo. It just does not work the way it works so brilliantly in Gentoo Linux….
Earlier this year, I had written an article on running Visual Basic 6 on linux under wine, this is an update for it, the prior one is deprecated Getting Visual Basic 6 to work on linux is pretty easy, not…
What is your CPU being governed by? Should it be governed by it? Why? How? Here’s an outlook on the various CPU frequency governors, namely conservative, ondemand, powersave, userspace, and performance, that steps up and steps down the CPU: conservative…
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
I had a pen-drive lying around, and so I decided to try out a new distribution of linux, Sabayon Linux.
- On a base install, everything is there and just works perfectly
- For a newbie, the hard part is often getting playback codecs, well, Sabayon has them pre-installed
- Sabayon has focused on the base theme too, it looks great
- Entropy, their package manager, is really awesome, ‘man entropy’ to see more
Let’s mount and copy the contents of the live image, it can be downloaded here. As super user, do
mkdir /media/sabayon mount -o loop /path/to/iso/file /media/sabayon
Plug in you pen-drive, wait for the device to settle down first, then copy whatever is important to you from the pen-drive to a hard-disk, and format it after you’ve successfully backed up your previous data
Replace sdyx as per your needs, i. e. the partition where you will be booting the live image from, in my case it was sdc1. You can choose any filesystem type you want to, but let’s just stick to ext3 for now.
Now copy the contents of the live image which you previously mounted to this drive after mounting it
mkdir /media/target mount /dev/sdyx /media/target cp -r /media/sabayon/* /media/target/
The parameter ‘-r’ indicates that it should copy recursively, and not just the files present in the top level directory
Now we’ll need to setup that device to boot correctly, you may not want to end up with a few errors and be done with it, do you?