coLinux
Čo znamená colinux?
Colinux je Cooperative Linux
Rád experimentuješ? Vyskúšaj ho!
Stiahnúť Colinux
Obsah
Inštalácia coLinux

Pri inštalovaní môžete zašktnúť rádio button Fedora image.
README súbor coLinux
Cooperative Linux 0.7.6 README
----------------------------------------------------------------------------
Instructions for running Cooperative Linux for Windows (see source for
how to build and run coLinux for Linux)
WARNING:
Although Cooperative Linux may be actually useful on some setups
(e.g, stable setups), it is still meant for testing purposes only.
This means that running it may crash the host (Windows or Linux system).
PLEASE REPORT and read about problems on the colinux-devel@sourceforge.net
mailing list or file an Bug report at
http://www.sourceforge.net/projects/colinux
NOTES ON UPGRADING:
Upgrading from coLinux 0.7.3 and before
-- Some dev distries increase eth1, eth2, eth3, ... on every boot.
Typicaly have no network, but can see it with "cat /proc/net/dev".
As workarrount set an unique MAC address for all network interfaces
in config file. Or disable udev.
Debian: Remove all entries from /etc/udev/rules.d/z25_persistent-net.rules
Upgrading from coLinux 0.6.4 and before
-- XML config files have been removed. Use the command-line
syntax in a name=value per line plain text file instead:
kernel=vlinux
initrd=initrd.gz
mem=32
cobd0=fs\root_fs
cobd1=fs\swap_fs
eth0=slirp
root=/dev/cobd0
ro
Locate for tool "colinux-xml2cfg", a XML to CFG converter for coLinux.
-- The file initrd contains no modules. Modules are only in the file
vmlinux-modules.tar.gz. The initrd extracts modules over device cofs31
automaticly, if you configure it as "initrd=initrd.gz" in config file.
After modules are installed, you can remove the initrd from config.
Upgrading from coLinux 0.6.1 and before
-- Gentoo users need to be careful, Gentoo tends to use devfs when
upgrading from 0.6.1 and so block device names change from cobdX to cobd/X
and render the image unbootable. For more details and solutions see the
2.6 related information on the Wiki.
RUNNING:
To run Cooperative Linux, please follow these instructions before trying to
run anything.
1. Run the downloaded installer file to begin the installation.
Under Vista must run the installer via 'run as ...' and the admin account.
2. Choose an installation directory. It is better to choose c:\coLinux because
this way you don't need to edit the configuration file since the pathnames
of block devices files are currently aboslute. However, note that any
directory should be acceptable.
3. Choose networking method(s) to install. Currently there are three choices:
a. Slirp - The simplest way to use networks in coLinux. This runs as
user application on the Windows host and needs no changes on the host
networks. Slirp is a good choice for dialup networks and WLAN cards.
Slirp use all times the current outgoing interface and forwards (NAT)
networking from linux to the internet world. Slirp is a virtual
Gateway for all outgoing TCP and UDP connections (no IMCP, no ping).
Standard installation works as firewall to your linux. It means, you
can not connect from windows side to your linux. To allow incomings
from host system to linux, must additional configure 'redirections'.
Slirp has a DHCP-Server for linux side. To use slirp, edit your CFG
file and set "slirp" as first parameter. Inside linux use DHCP-Client
to get your network configuration.
b. TAP driver - This method installs a virtual network adapter that can
then be either shared or bridged with a physical network connection.
Note that this requires Internet Connection Sharing or Bridging
(Windows XP or higher) or a 3rd party Internet connection
sharing application. The TAP method autmatically chooses the TAP
first TAP adapter it finds, if you have multiple TAP WIN32 devices, you
can specify the specific adapter by name (for sample "TAP-Colinux").
c. Bridging - This method allows the Cooperative Linux network
interface to directly interoperate with one of your built in networking
interfaces. You'll need to edit the configuration file to reflect
that type "pcap-bridge" and the 'name' parameter needs to be set to a
substring of the network connection name that you will be bridging
with (e.g. "Local Area Connection").
You can select all types on installation and use one of these later.
See the Wiki at the page 'Network' for more information/help.
4. Choose whether to download a root file system from the Cooperative Linux
sourceforge page. The installer will try to download directly in
the next step but if you experience any issues you can visit the
Sourceforge page directly at:
http://sourceforge.net/project/showfiles.php?group_id=98788&package_id=122245
NOTE ABOUT DISK SPACE: Each image extracts to over 1GB (or more), so make
sure you have enough space there before you start downloading/extracting
it. If you are manually downloading, put the extracted file in the
installation directory. To unzip .bz2 files, you can use Winzip or 7-Zip
(or the bzip utilities in Cygwin, etc). The image MUST be extracted from
the compressed archive before use!
See "Quick running" (below), if you would not download an image file in
this step. You can download an image file from SourgeForge later.
5. Edit the config file to point to whatever root file system you
downloaded and replace the file name 'root_fs' with yours.
6. The installation directory should include vmlinux, example.conf, the
supplied linux.sys driver and executables, and probably the root
filesystem image. Be sure to review the config file for any additional
configuration that may be needed.
Refer the file colinux-daemon.txt in coLinux installation for the
full list of device parameters.
7. Run coLinux. The current directory should be the installation directory,
if not, then you need to change paths (especially for vmlinux) in the
config file.
a. Run as an regular application.
colinux-daemon.exe @example.conf
See file colinux-daemon.txt for details about possible
command-line arguments.
b. Running as an service.
colinux-daemon.exe @example.conf --install-service "Cooperative Linux"
Also, to remove the service:
colinux-daemon.exe --remove-service "Cooperative Linux".
Then go to the Service Manager and start the "Cooperative Linux"
service,
OR start from command prompt:
net start "Cooperative Linux"
Last, go to the installation directory and double-click on
colinux-console-fltk.exe OR
colinux-console-nt.exe
The console window opens and you would see a Linux machine booting in
that window.
Quick running
-------------
If you wand only quick check, what coLinux is, and how it works, you can
run a very limited linux shell from the ramdisk file. For this you not
needs to download an image file, and no need any networking.
For such test use this command line:
colinux-daemon kernel=vmlinux initrd=initrd.gz root=/dev/ram0
Try some Linux commands: sh, ls, cd, pwd, uname -a, halt (shutting down).
Post Installation
-----------------
You may wish to set up some post installation parameters, including increasing
the amount of memory allocated to Cooperative Linux, or adding swap partition.
See colinux-daemon.txt and the Wiki for additional help on these tasks.
Common Problems
---------------
"Unable to mount root fs"
Generally this means that the root filesystem image is
missing, was specified incorrectly, or not uncompressed.
Check the device name and index (cobd0, hda1).
Verify, that the filename behind (cobd0=...) exist and is
readable from current working directory, try it with a
simple "DIR ..." on command prompt.
"Vista admin"
Under Vista an user within administrator group must run the file
C:\Windows\system32\cmd.exe from explorer context menu "run as ..." and
admin account to installing the driver or service from command line.
"no network after update" or "network interface increments on every boot"
Since PCI is enabled, some distris create a new network interface
eth1, eth2, eth3, ... on every boot, because coLinux creates a new
randomly MAC on every boot. As workarrount set an unique MAC for all
network interfaces in config file. See examples in colinux-daemon.txt
Debian: To go back with eth0 must remove all ethX entries from
/etc/udev/rules.d/z25_persistent-net.rules
"cat /proc/net/dev" shows all current networks names in coLinux.
Additional problems not know at time of release are typically
documented on the Wiki (http://colinux.wikia.com/), look
there for known problems. If your problem isn't listed, report on the
colinux-devel@sourceforge.net mailing list or file an Bug report at
http://www.sourceforge.net/projects/colinux
Developing, Helping out the Project
-----------------------------------
Check out the source code, and or the Home page
(http://www.colinux.org) for more on developing coLinux and/or helping
the project out. Also, subscribing to the Mailing List is helpful.
Getting Help
------------
The following resources are available if you need help getting going, or find
bugs, etc.
IRC
The official IRC location is at server irc.oftc.net,
channel #colinux.
WEB
The official website, containing downloads, documentation,
FAQ, WIKI, etc., is at http://www.colinux.org
Project Web-site
Source Forge Project website is at
http://www.sourceforge.net/projects/colinux
WIKI
The community has contributed wonderful and helpful
information on numerous topics, which is available at
http://colinux.wikia.com/
(You can contribute here too!)
Mailing Lists
Visit the colinux.org website and choose from the available
mailing lists (user and devel) to join, view archives, etc.
-
Dan Aloni
da-x@gmx.net
Richard Goodwin (readme portions)
colinux@newdiversions.com
George P Boutwell (readme updates, fixes, etc)
george.boutwell@gmail.com
Henry Nestler (scripting, kernel, fixes, devel releases)
henry@bigfoot.de
Po inštalácii coLinux
Ak si nič neprestavoval, tak v adresári coLinux sú tieto súbory

2x ťukni na Fedora-10-20090228.exe a rozbaľ súbory.

Rozbaľ Fedora-10-20090228.exe do adresára coLinux

Extrahovalo sa 5 súborov
Fedora-10.img
swap.img
start-Fedora-10.bat
start-Fedora-10.sh
README-Fedora-10.txt
README súbor Fedora 10 image
Welcome.
The Fedofollowing files are available in this archive:
README-Fedora-10.txt
This file.
Fedora-10.img
This is a 4GB Fedora-10 disk image preinstalled with the "Base" Fedora
group (yum groupinstall Base). The image preconfigured for slirp for
networking. The aliases "installgnome" and "installkde" may be used
to setup a GUI desktop envirnoment over VNC. Use ESD for sound support.
There is a colinux_fix service which will automatically fix the X11
to work headless should an update break things.
start-Fedora-10.bat
This is a sample bat file for launching coLinux using the
Fedora-10.img. You will only hear sound, if you already have
an ESD daemon listening to port 7000.
start-Fedora-10.sh
This is a bash script for launching coLinux using Fedora-10.img.
If you have cygwin, sound should start as well.
swap.img
This is a 512 MB swap file, to give your virtual machine extra memory.
GETTING STARTED:
I recommend extracting all the files directly to your coLinux install
directory. Typically this is either c:\coLinux or c:\Program Files\coLinux.
You should then be able to start the virtual machine with one of the sample
scripts.
Login to the console as root. At that point I recommend running "installgnome"
so you can install a desktop. From then on you can just run "gnome" to startx.
Connect to X via vnc to 127.0.0.1:1. There is no password set for root.
After you have things setup the way you like, you can switch to using X11 or
better performance, or continue to use VNC if that is what you prefer.
Unfortunately, with this version, the "Add/Remove Programs" application does
not work over VNC. So if you wish to add applications you will need to use
"yum" from a terminal window. The following commands are useful:
yum grouplist
yum groupinstall
yum search
yum install
yum update
You should also add some user accounts, as it is probably a bad idea to keep
logging in as root. Don't forget to set a root password with the "passwd"
command.
The file /root/install.tar.bz2 contains the all the modifications I have done
to this distribution. The file /root/install.log lists the steps used to
create the image, logged in from another coLinux image.
Here are some of the important custom files written for coLinux support:
/etc/profile.d/espeaker.sh
This is a shell script I added to initialize ESD. If you wish to change
the port or IP address were sound is sent, edit this file. Note: If you
experience problems with sound freezing your system, try downloading and
installing the rpm's referenced it comment #23 of bug 238680 at
bugzilla.redhat.com.
/etc/profile.d/install.sh
Defines aliases for "installgnome", "gnome", "installkde", and "kde".
/etc/init.d/colinux_fix
This is a script which is run on startup and shutdown of the machine to
fix key Xorg, and a few other applications to not to cause errors under
coLinux. You can also run this manually after an update with the command
"service colinux_fix enable".
/etc/sysconfig/colinux
These are configuration variables for the colinux_fix script. If you
change the values in this file, you might need to reenable colinux_fix
with the command "service colinux_fix disable;service colinux_fix enable".
/root/install.log
Lists how the Fedora-10.img file was built.
/dev
I manually populated all the devices into this directory for use with
older kernels. You can only see these devices when udev is not running.
Please let me know of any fixes or improvements you would like to share.
Thanks,
Bill C. Riemers
briemers+colinux@redhat.com
Fedora 10 Cambridge, štart
Poklikať na batový súbor start-Fedora-10.bat

Fedora 10 Cambridge, login, prihlásenie
super user (su) je root, napíš root a ťukni na enter.
localhost login: root a enter

eCH
Pokračovanie nabudúce.