This article is a Stub. You can help coLinux wiki by expanding it.
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
OR
colinux-daemon.exe setting=something
OR
colinux-daemon.exe -argument something
Arguments:
[-c file]
- 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.
[-a #]
- Allows you to specify the instance of Coooperative Linux that you will be connecting to.
[-t consoletype]
- Allows you to specify either the FLTK (default) or NT (-t nt) console to use on startup.
[--install-service servicename]
- 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.
[--remove-service servicename]
- Allows you to remove the Cooperative Linux service.
[--install-drvier]
- 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.
[--remove-driver]
- 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:
[kernel=something]
- example: kernel=vmlinux
- description: set up your kernel
[cofs0=path]
- example: cofs0=c:\
- Description: set up your cofs drive
- later, you can mount it by going....
[hda1=file.1gb]
- example: hda1=Debian-3.0r2.ext3-mit-backports.1gb
- description:
[cobd0=path]
- example: cobd0=c:\coLinux\root_fs
- description:
[networkcard=protocol]
- example: eth0=tuntap
[mem=nnn]
- 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
[root=linuxDevicePath]
- 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.
See the page: CoLinuxBatchFiles which I started to help the ease of creating one. --LarsOlson
History:
Added History
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