Skip to content

Instantly share code, notes, and snippets.

@yuuan yuuan/centos.conf
Created Apr 3, 2014

Embed
What would you like to do?
Config file for CentOS 6.5 on coLinux.
#
# This is an example for a configuration file that can
# be passed to colinux-daemon in this manner:
#
# colinux-daemon @example.conf
#
# Note that you can still prepend or append configuration and
# boot parameters before and after '@', or you can use more
# that one '@ to load several settings one after another.
#
# colinux-daemon @example.conf @overrider.conf mem=32
#
# Full list of config params is listed in colinux-daemon.txt.
# The default kernel
kernel=vmlinux
# File contains the root file system.
# Download and extract preconfigured file from SF "Images for 2.6".
sda1="C:\coLinux\CentOS\centos.3gb.ext4.fs"
# Swap device, should be an empty file with 128..512MB.
sda2="C:\coLinux\CentOS\swap.512mb.fs"
# Tell kernel the name of root device (mostly /dev/cobd0,
# /dev/cobd/0 on Gentoo)
# This parameter will be forward to Linux kernel.
root=/dev/sda1
# Additional kernel parameters (ro = rootfs mount read only)
#ro
rw fastboot
# Initrd installs modules into the root file system.
# Need only on first boot.
initrd=initrd.gz
# Maximal memory for linux guest
mem=256
# Select console size, default is 80x25
cocon=120x38
# Slirp for internet connection (outgoing)
# Inside running coLinux configure eth0 with this static settings:
# ipaddress 10.0.2.15 broadcast 10.0.2.255 netmask 255.255.255.0
# gateway 10.0.2.2 nameserver 10.0.2.3
#eth0=slirp
# Tuntap as private network between guest and host on second linux device
#eth1=tuntap
eth1=tuntap,"TAP-coLinux",00:ff:ae:0f:18:00
# Setup for serial device
#ttys0=COM1,"BAUD=115200 PARITY=n DATA=8 STOP=1 dtr=on rts=on"
# Run an application on colinux start (Sample Xming, a Xserver)
#exec0=C:\Programs\Xming\Xming.exe,":0 -clipboard -multiwindow -ac"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.