ASIC/FPGA  Design and Verification Out Source Services 
                              CO-linux installation tutorial  
                            Installation is as simple as following this guide. While there are quite a few guides, this is the one I used: colinux installation.I have selected to use debian, because it was mostly documented with colinux. I have also needed to define the network interfaces. My /etc/network/interfaces looks like:  interfaces. Next I need to allow the colinux to see both drive c and drive e.The command line to start colinux has the information for the drives: colinux-daemon.exe cofs0=c:\ cofs1=e:\ @example.confWhen the colinux starts, I log as super user and mount the drives. Premission is given to the root. The permission issue will be explained later.  mount -t cofs cofs1 -o rw,user,uid=bknpk,dmask=0700 /pcE mount -t cofs cofs0 -o rw,user,uid=bknpk,dmask=0700 /pcC Last thing to do is to have some more disk space as the /home is now restricted to 1 G byte. This is done following the explanations in:  Adding new mount point.  This is shown below (new drives /Home_1 and /home/pini/Home_2):debian:/Home_2$ df -h Filesystem            Size  Used Avail Use% Mounted on /dev/cobd0           1007M  668M  289M  70% / tmpfs                 494M     0  494M   0% /lib/init/rw udev                   10M   24K   10M   1% /dev tmpfs                 494M     0  494M   0% /dev/shm /dev/cobd3            9.9G  347M  9.1G   4% /Home_1  /dev/cobd4             48G  8.1G   37G  18% /Home_2  cofs1                 392G   61G  331G  16% /pcE cofs0                  75G   56G   20G  75% /pcC 
                            The following shows my ethernet configuration files both in the co-linux configuration and for debian network interfaces. configuration files.
                            Things that may go wrong during installation. Following a disk crash, I had to re-install co-linux. Surprisingly I had encountered two problems. First was the recommended basic Debian image. It is a very old one. I could not do a apt-get update. It kept complaining about GPG errors. I finally found the all available images at  co-linux files. and got the latest for debian. Second I wanted pcap-bridge and could not make it work. So I first got my debian updated using slirp. Somehow I missed the info given in networking guide of "Make the bridge" and did not got the "Network Bridge" working.
                            Recommendations: Since the root space of colinux is relatively small in size, It is better to free some space. I decided to move /opt out of the root. I did using a  symbolic link.  
			      back to colinux top
                           Contact me now at: |