ttylinux

ttylinux is a very small linux distro (4MB) and the makers minimalinux have a shell script for building it. I'll port that to phing so that it can be more flexible.

The script does not include any download smarts, so I'll probably use bsd ports information for this. Speaking of ports, the gentoo portage system is very nice. I'll take another look at that to see how it can assist nodows.

Building ttylinux

tty is only supposed to build on debian 3.1, but I'm trying etch. To do so I had to edit makedish.sh to use just "gcc" instead of "gcc-4.1.".

Also had problems due to some mawk statements in glibc, so I changed "[^/]" to "[^\/]". Not sure if this will fix it, but its compiling now. I saved those changes too, so I'll try to post them back to the forums.

Seemed to get glibc to work, but not lilo, and gave up for now. I went at it some more, finished a build but it was totally borked. Maybe I can get a 3.1 debian build running in an openvz instance and build it there. I'm very interested in getting this going as I've been again attempting to reduce debian etch and it is very difficult to pear it down. I've been able to reduce etch + the debian 2.6.18-5 kernel to 32MB in a squashfs partition (thanks), but I have no idea how to get that to boot. And I've had to manually remove many kernel modules to do so.

I just setup an openvz debian Sarge vm and I'm compiling ttylinux now. Had to install a few packages in addition to those listed in the README (patch, libc6-dev) and had to upgrade to gcc-3.4, but so far so good.

ttylinux is awesome



I got ttylinux going thanks to the basic installer included one the iso "livecd". I started with a qemu machine which I could backup and restore easily, but the issue was with networking, so today I installed ttylinux on an HP t5125 thin client. It has a 64mb compact flash card in it (came from a t5135) and 104MB o' RAM. It actually runs very well. I made a few changes which I just backed up but will document at some point, and posted a few pacman packages for ttylinux to docunext (libdbus, dnsmasq, and ipkg).

ttylinux + ipkg = good



While I have yet to get ipkg to do anything very useful yet, it will most likely be a very useful tool for building network appliances. It is able to handle remote repositories and it can also handle dependencies and conflicts, all while being very itsy bitsy. This is going on the back burner for now, I've got to continue simply working with ttylinux, install it on a few more micro-machines, and get more comfortable with it. I would like to compile a kernel for it soon too.
By on October 7, 2007 2:22 PM

2 Comments

On debian you need to replace mawk with gawk, there might be another change required, but the forums are very good on www.minimalinux.com.

Minimalinux is great, I haven't been by the forums in awhile I should stop in and say hello.

Categories