Tuesday, December 29, 2009

INSTALLING COLINUX

Installing Colinux

1. The 1st step you need to do is download the colinux installer.


2. When you run the installer and it ask what componets you want to install make sure all of them are to be installed.



3. This is a very important step. When you run the setup the default installtion path is c:\program files\colinux. Do not install Colinux to this directory. Instead install Colinux to C:\Colinux.

4. This next step will download a linux file system image. This step is optional. You do need a root file system image though in order to use Colinux. There are two ways you can get a Colinux compatiable file system.

A. You can download one of the file systems that they provide in the installer.

B. You can go to there projects page on source forge and download one of the avaliable file systems.

I would recommend you just download debian thru the installer. To do this select the debian file system (1gb) and hit next.


Colinux is a port of the linux kernel to the Windows Os. This means you can run linux within Windows without the use of Vmware. This step by step guide will show you how to install Colinux on your system. It does not show you how to setup your network connections nor does it show you how to use x-windows with colinux. You can find that information at Http://www.colinux.org.



Hit next all the way thru. You may be asked to install a driver go ahead and proceed.


Starting Colinux

Once you have downloaded Colinux and have it installed to C:\Colinux you will need a tool called Winrar. Winrar is like winzip but allows you to extract many more formats then programs like Winzip. Once you have winrar downloaded then follow these directions.

1. Open the directory c:\Colinux. If you downloaded debian you will see a file called "Debian-3.0r0.ext3.1gb.bz2" This is the debian file system that we need in order to run Colinux. Open this file with winrar and extract the contents of it to the same directory.





2. Once you have extracted it then your almost set. The next step you need to do is download a swap file. The swap file needs to be the size of your physical ram. So if I have 256 mb of ram I download the swap file that is 256mb in size. You can download the swap files here. Once you have downloaded the swap file you will need to extract the file to the same directory that you installed Colinux to. So in this case you would install it to C:\Colinux.

3. There is one more step into installing Colinux. You must configure it. When Colinux starts it reads from a config file. Open this file default.colinux.xml in Windows notepad. default.colinux.xml can be found in the same directory were you installed Colinux to. There are comments in the xml file that tell you what each part is for.

You will need to change the line that says "path="\DosDevices\c:\coLinux\swap_256Mb" to the size of the swap file. You should now be able to save the config file.

Running Colinux

In order to run Colinux create a batch file with the following command


CODE C Language
colinux-daemon.exe -t nt -c default.colinux.xml


and save it in the same directory as Colinux. Once you have done this then you can just run the batch file and Colinux will start. Debian has no users created by default so you can sign in as root and create users.

If you have any questions on installing CoLinux then please let me know. I will be glad to help you with installing it.

The following image is of Colinux booting debian.








The next image is when debian is started and im logged in as root.