Download the sources[]

To download the sources, in Linux, issue the command:

$ svn checkout cofb

Of course this only works if you have subversion (svn) installed. If not, in Gentoo, you can issue the command:

$ emerge svn

In Debian and variants, this is:

$ apt-get install svn

Check that the directory cofb has been created and populated with the latest cofb files:

$ cd cofb
$ svn info
Path: .
Repository Root:
Repository UUID: 688f6386-cf32-0410-9ead-a596f0484e40
Revision: 1493
Node Kind: directory
Schedule: normal
Last Changed Author: sunyin
Last Changed Rev: 1489
Last Changed Date: 2010-06-27 04:52:56 +0300 (Sun, 27 Jun 2010)


Simply run configure in cofb directory:



Next, issue the command:

$ make download && make && make package && make installer

For me, this caused some problems, specifically, I got an error suggesting I run make oldconfig:

make[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
make[1]: *** [sub-make] Error 2
Kernel config failed (check 'make oldconfig' on kerneltree)
make: *** [kernel] Error 1

Or something similar:

scripts/kconfig/conf -s arch/x86/Kconfig
* Restart config...
* Support for frame buffer devices
Support for frame buffer devices (FB) [Y/?] y
  Enable firmware EDID (FIRMWARE_EDID) [N/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration

Causes for this could be an old build from the main branch. Simply clean the directory build from all previous sources and run make kernel again.

This results a lot of compilation so go read a book :)

Running cofb[]

Once the make phase completes succesfully, the next step is to copy over the daemons, the linux.sys file and the vmlinux file. These typically reside in directory ~/dist and are zipped:

shai@localhost ~/dist $ ls                                             modules-
  1. Copy the files in ~/dist a temporary directory in the host.
  1. Shutdown coLinux.
  2. Optional: Backup the original coLinux daemons (the exe files), linux.sys and vmlinux files that reside in directory c:\Program Files\coLinux
  1. Unzip the files in the temporary directory in the host and copy them to c:\Program Files\coLinux (overwrite the older files, that's why we backed up).
  1. Run coLinux