This page will describe and offer a reference for all the command line arguments and settings available for colinux-daemon.exe --LarsOlson
NOTE: This wiki page is quite incomplete so far. Please contribute if you see something missing.
You can also see the colinux-daemon.txt shipped with your distribution or more recent file on SF, which has similar information regarding command line usage of coLinux.
Basic Syntax/Usage at the command prompt or in a batch file:
colinux-daemon.exe -argument something setting=something
colinux-daemon.exe -argument something
- example: -c default.colinux.xml
- description: load your XML config file, usually in the colinux directory.
- you can't mix XML config with command line settings., i.e don't try kernel= cofs0= with -c file.
- Allows you to specify the instance of Coooperative Linux that you will be connecting to.
- Allows you to specify either the FLTK (default) or NT (-t nt) console to use on startup.
- Allows you to install Cooperative Linux as a service. Also use the -c parameter to specify your configuration file when doing this. <servicename> is whatever you want it to be called.
- Allows you to remove the Cooperative Linux service.
- This command to install the driver portion of Cooperative Linux. BIG NOTE: This already happens during the installation of coLinux, on most cases you don't need to run it at all.
- This command will remove the driver portion of Cooperative Linux. BIG NOTE: This already happens during the uninstall of coLinux, on most cases you don't need to run it at all.
Command Line Settings:
- example: kernel=vmlinux
- description: set up your kernel
- example: cofs0=c:\
- Description: set up your cofs drive
- later, you can mount it by going....
- example: hda1=Debian-3.0r2.ext3-mit-backports.1gb
- example: cobd0=c:\coLinux\root_fs
- example: eth0=tuntap
- example: mem=32
- description: amount of memory for colinux to use.
- This should be quite less than your total memory obviously.
- Say you have a machine with 256MB of RAM. You might want to try mem=32 or mem=64
- example: root=/dev/cobd0
Full working examples:
At the windows command prompt:
colinux-daemon kernel=vmlinux cobd0=root_fs.1gb root=/dev/cobd0 eth0=tuntap cofs0=c:\temp
- Boots the kernel with a cofs device available to mount, and sets up your first NIC to use TAP/NAT communication, and sets up root.
Updated procedure for coLinux 0.6.3 Debian-3.0r2.ext3-mit-backports.1gb
colinux-daemon kernel=vmlinux cobd0=Debian-3.0r2.ext3-mit-backports.1gb cofs0=c:\temp root=/dev/cobd0 eth0=slirp
You can make a batch file, once you find your settings to be satisfactory. This will make it easier to start coLinux.
Added command line formating for "Full working examples"
Added Updated procedure for coLinux 0.6.3 Debian-3.0r2.ext3-mit-backports.1gb - 2006/04/07 <NicholasASchembri>
MassTranslated on Sun Apr 23 17:35:54 UTC 2006