Installing CoLinux in my machine

I finally took the time and installed coLinux in my machine, with file access to the Windows files.

For the people interested on this, here are the steps I followed:

  1. Download coLinux from sourceforge
  2. Make the main network interface (the one that connects to the Internet) shared. This will change the address of the image to 192.168.0.1. Change this to the correct address you want to use.
  3. Change the resulting TAP adapter to the address 192.168.0.1.
  4. Start coLinux, and set DNS correctly, in the file /etc/resolv.conf. eg:
    nameserver IPaddress
  5. Share a directory from the windows machine
  6. Mount that directory using the following commands:

smbmount //192.168.0.1/share /home/oliveira/xp -o username=domain\\user,uid=1000,fmask=1777,
rw,credentials=/etc/samba/credentials

7. Create the credential file which is just

username= xxx

password= xxx
8. If you use Debian, add the mount command to rc.d by adding the commands to

/etc/init.d/local

then, setting it to executable, and calling:

update-rc.d local defaults 80

I also updated my Linux image to Topologilinux, which is nothing else than Slackware 9. This is probably the best Linux distro that I’ve ever run!

If you want to do this, just follow the howto in the Wiki page in Colinux. The information there is very detailed.

That is all folks!

Similar Posts:

About the Author

Carlos Oliveira holds a PhD in Systems Engineering and Optimization from University of Florida. He works as a software engineer, with more than 10 years of experience in developing high performance, commercial and scientific applications in C++, Java, and Objective-C. His most Recent Book is Practical C++ Financial Programming.

Post a Comment