237pages on
this wiki
Add New Page
Talk0 Share


Building the full Linux Build Environment in Debian file system (that's downloadedable from the coLinux site)

First you'll have to have a network connection, with it do:

apt-get update && apt-get upgrade

If this gives you an "MMAP out of room" error, increase the Cache of apt-get (I found this on the Debian FAQ, most people experience this sooner or later), and retry the above commands:

echo 'APT::Cache-Limit "141943904";' >> /etc/apt/apt.conf

After all that is finished you'll need to get wget to download the colinux source (and for the build*.sh scripts):

apt-get install wget

Then you need some Essentials for doing development in general:

apt-get install build-essential

Then you'll need to get a few things more (for binutils):

apt-get install gettext bison flex automake autoconf glib2.0-dev

Then for FLTK you'll need:

apt-get install xlibs-dev

If you want to be able to configure the kernel with make menuconfig you'll need:

apt-get install libncurses5-dev

Then you need a few archive tools:

apt-get install unzip bzip2

Next, you'll need to clean-up some diskspace for the build (as root run)...

rm /var/cache/apt/archives/*.deb -rf

After, all that you should be able to

wget colinux-<snapshot version>.tar.gz
tar zxf colinux-<snapshot version>.tar.gz &&
cd colinux-<snapshot version>/bin

and run then run the build scripts.


The long is a step by step install and build of colinux on colinux.


Colinux InstallEdit

Download coLinux 0.6.3+ Edit

Down load colinux 0.6.3 from


Start coLinux-0.6.3.exe

#GUI Installer
I Agree.
Pick Debian, Install 
popup “Continue Anyway”

Unbzip Debian-3.0r2.ext3-mit-backports.1gb Edit

I used winrar. coLinuxRunning talks about using bzip2. <Please fill this section in with step by step instructions>

bunzip2 Debian-3.0r0.ext3.1gb.bz2

Test BootEdit

Test boot from the command line,CommandLineReference:

colinux-daemon kernel=vmlinux cobd0=Debian-3.0r2.ext3-mit-backports.1gb cofs0=c:\ root=/dev/cobd0 eth0=slirp

Debian BootEdit


create startDebianCoLinux.cmd and add cobd1=blank to the commad line.

colinux-daemon -t nt kernel=vmlinux mem=512 cobd0=Debian-3.0r2.ext3-mit-backports.1gb  cofs0=c:\ root=/dev/cobd0 eth0=slirp 
::  -t nt will allow cut and paste


Login: root
Password: root

Edit NetworkEdit

use nano to edit /etc/network/interfaces for dhcp.

# change to 

auto eth0
iface eth0 inet dhcp
#iface eth0 inet static
#  address
#  netmask
#  gateway

Bounce eth0Edit

ifdown eth0
ifup eth0
colinux:/# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:FF:B3:1E:08:00
          inet addr:  Bcast:  Mask:
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1971 (1.9 KiB)  TX bytes:1728 (1.6 KiB)

lo        Link encap:Local Loopback
          inet addr:  Mask:
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Build ENVEdit

The base system need to be current. Use apt-get to bring the system up to date.


apt-get update
apt-get upgrade
apt-get install wget
apt-get install build-essential
apt-get install gettext bison flex automake autoconf glib2.0-dev
apt-get install xlibs-dev
apt-get install unzip bzip2

rm /var/cache/apt/archives/*.deb -rf

Clean UPEdit

rm /var/cache/apt/archives/*.deb -rf

Wget the srcEdit

Check for newer. Original version used by writer of this document:



tar zxf devel-colinux-20051013.tar.gz


cd colinux-0.7.1/
colinux:~/colinux-0.7.1# ./configure
Setting colinux_os=winnt
Setting prefix=/root/mingw32
Setting distdir=/root/mingw32/dist
Setting downloaddir=/root/download
Setting builddir=/root/build
Setting targetkerneldir=/root/build/linux-2.6.12
Setting targetmoduledir=/root/build/linux-2.6.12/_install
Setting logfile=/root/log/build-colinux-$$.log
Checking for wget ... found
Checking for Python interpreter 2.3 ... missing (no exec)
Checking for patch ... found
Checking for make ... found
Checking for gcc host ... (3.3.5) found
Checking for depmod ... (module-init-tools 3.2-pre1) found
Checking for unzip ... found
Checking for zip ... missing (no exec)
Checking for bison ... found
Checking for texinfo ... missing (no exec)
Checking for flex ... found
Checking for gettext ... found
Checking for unix2dos ... missing (no exec)

cd bin
colinux:~/colinux-0.7.1/bin# ./
Check cross compiler: No executable, rebuilding
Downloading gcc-core-3.3.1-20030804-1-src.tar.gz
           => `gcc-core-3.3.1-20030804-1-src.tar.gz'
Connecting to[]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13,268,861 [application/x-gzip]

not done, must have sleep

Monotone Build EnvEdit

           apt-get install libboost-date-time-dev
           apt-get install libboost-filesystem-dev
           apt-get install libboost-regex-dev
           apt-get install libboost-test-dev
           apt-get install libboost-dev
           apt-get install g++

not done, must have sleep

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki