latest colinux:
http://sourceforge.net/projects/colinux/files/latest/download?source=files
kernel:
Debian-5.0r2-lenny.7z 2009-07-11 45.4 MB
http://sourceforge.net/projects/colinux/files/Images%202.6.x%20Debian/Debian%205.0%20Lenny/Debian-5.0r2-lenny.7z/download
swap file:
http://colinux.wikia.com/wiki/HowtoCreateSwapFile
====================================================
1. 安裝colinux 0.7.9(安裝path自選,如:C:\coLinux)
2. 選colinux root file system image的時候跳過(不download)
3. 抓下Debian-5.0r2-lenny.7z,解壓縮至C:\coLinux\Debian-5.0r2-lenny
其中 rootfs的file是 C:\coLinux\Debian-5.0r2-lenny\Debian-5.0r2-lenny.ext3.2gb
4. 建立swap file (參考http://colinux.wikia.com/wiki/HowtoCreateSwapFile)
如 C:\coLinux\swap\swap_512Mb
5. 修改 C:\coLinux\example.conf (或是改成其他的名字)
其中
cobd0="c:\coLinux\root_fs"
改成(rootfs的位置)
cobd0="C:\coLinux\Debian-5.0r2-lenny\Debian-5.0r2-lenny.ext3.2gb"
cobd1="c:\coLinux\swap_device"
改成(swap的位置)
cobd1="C:\coLinux\swap\swap_512Mb"
#mem=64
改成(需要的記憶體)
mem=512
#eth1=tuntap
改成
eth0=tuntap
加入需要的cofs(讓colinux可以mount windows上的partition),如
cofs0="e:\"
cofs1="f:\"
6. 需把colinux新增出來的網路介面放入對外網路的共用網路內
7. normal run
C:\coLinux\colinux-daemon.exe @C:\coLinux\example.conf -t nt
root : root/colinux
user : colinux/colinux
8. 修改/etc/fstab
/dev/cobd0 / ext3 errors=remount-ro 0 1
/dev/cobd1 none swap sw 0 0
cofs0 /mnt/disk_e cofs defaults 0 0
cofs1 /mnt/disk_f cofs defaults 0 0
9. 更新系統
apt-get update
apt-get upgrade
apt-get install ssh
apt-get install subversion
10. 增加一個partiton的方法(如 /home)
如4. 建立一個空的file
修改 修改 C:\coLinux\example.conf 加入一個cobb#
重新開機後用mkfs.ext3 /dev/codb#
再修改/etc/fstab就可以自動mount起來
11. by readme.txt in colinux
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"
百岳(1-37) | 百岳(38-48) | 中級山 | 單車 | 西藏 | 留言版
星期四, 12月 15, 2011
訂閱:
張貼留言 (Atom)



沒有留言:
張貼留言