LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2807|回复: 14

通过 colinux 安装debian

[复制链接]
发表于 2005-11-9 21:45:42 | 显示全部楼层 |阅读模式
主页:http://www.colinux.org/

coLinux(Cooperative Linux) 的优势:
占用资源低, 我只为它指定了 64M内存
遵循GPL2许可证
...

coLinux效果截屏: http://www.colinux.org/?section=screenshots


1. 下载coLinux: http://switch.dl.sourceforge.net ... x/coLinux-0.6.2.exe

2. 安装 coLinux-0.6.2.exe(我选择的安装目录是 C:\coLinux)
    安装时不需要安装 Root Filesystem image, 稍后手工下载
    coLinux 附的 TAP Driver, 如果要使用 TAP 的 Network, 就一定要安裝, 如果采用桥接方式上网则需要单独安装 WinPcap

3. 下载 Debian影像: http://nchc.dl.sourceforge.net/s ... 3.0r2-base-ext3.bz2
    将其解压到coLinux的安装目录下

4. 修改 配置文件 default.colinux.xml
  以下是我的配置文件:
[HTML]<?xml version="1.0" encoding="UTF-8"?>
<colinux>
    <block_device index="0" path="\DosDevices\c:\coLinux\Debian-3.0r2-base-ext3"
    enabled="true" />
<!-- 指向使用的Debian的影像 -->
    <block_device index="1" path="\DosDevices\c:\coLinux\swap_device"
    enabled="true" />

    <bootparams>root=/dev/cobd0</bootparams>
<!-- 使用 Debian影像启动 -->

    <initrd path="initrd.gz" />
    <image path="vmlinux" />
    <memory size="64" />
    <network index="0" name="tap" type="tap"  />
<!-- name="tap" 为TAP虚拟网卡的名称, 与网络连接名称对应 -->
</colinux>[/HTML]

5.配置网络
我是ADSL上网, 将ADSL 的internet连接共享给 TAP 连接, 系统自动分配ip 192.168.0.1 给 TAP 连接

6 启动coLinux
[HTML]C:\coLinux>colinux-daemon.exe -c default.colinux.xml -t nt
//  -c 指定使用的配置文件
//  -t  指定使用的控制台类型[/HTML]
注:root用户的默认密码是root, 具体和你下载的映像有关

7.配置网络
进入系统后, 应当执行
[HTML]echo "nameserver 1921.168.0.1" > /etc/resolv.conf[/HTML]

8. 在colinux的其它操作就和Debian下没有什么差别了
    apt-update
    apt-upgrade
    apt-get install
    .....

http://tony.dochome.org/Blog/index.php?action=show&id=300
发表于 2005-11-10 09:19:05 | 显示全部楼层
性能如何
回复 支持 反对

使用道具 举报

发表于 2005-11-10 10:01:01 | 显示全部楼层
以前我总是连不上网络,这次终于成功了。不错,感觉比在虚拟机里快。
回复 支持 反对

使用道具 举报

发表于 2005-11-20 15:15:01 | 显示全部楼层
请教楼主:

关于

5.配置网络
我是ADSL上网, 将ADSL 的internet连接共享给 TAP 连接, 系统自动分配ip 192.168.0.1 给 TAP 连接

具体怎么做的?

我也是ADSL上网,安装colinux后windows下出现一个网络连接(装了TAP),平时是断开的,启动colinux时就连上了。我给这个链接设定ip 192.168.0.103,给colinux下debian 192.168.0.104,这两个可以互相ping通,但是对外网就连不上了。请问如何设置?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-20 16:33:22 | 显示全部楼层
见图:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2005-12-7 01:10:51 | 显示全部楼层
我在www.colinux.org上下的colinux6。2。exe文件打开后没有反应,查看后只有一个216k的进程,是什么原因?
回复 支持 反对

使用道具 举报

发表于 2005-12-8 11:34:47 | 显示全部楼层
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\pp>d:

D:\>cd coLinux

D:\coLinux>colinux-daemon.exe -c default.colinux.xml -t nt
Cooperative Linux Daemon, 0.6.2
Compiled on Sat Feb  5 10:19:28 2005

Linux version 2.6.10-co-0.6.2 (karrde@callisto.yi.org) (gcc version 3.3.5 (Debia
n 1:3.3.5-8)) #5 Sat Feb 5 10:19:16 IST 2005
60MB LOWMEM available.
On node 0 totalpages: 15360
  DMA zone: 0 pages, LIFO batch:1
  Normal zone: 15360 pages, LIFO batch:3
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line:
Initializing CPU#0
Setting proxy interrupt vectors
PID hash table entries: 256 (order: 8, 4096 bytes)
Using cooperative for high-res timesource
Console: colour CoCON 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 57336k/61440k available (1502k kernel code, 0k reserved, 548k data, 104k
init, 0k highmem)
Calibrating delay loop... 904.39 BogoMIPS (lpj=4521984)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: a7e9f9bf 00000000 00000000 00000000
CPU: After vendor identify, caps:  a7e9f9bf 00000000 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 512K
CPU: After all inits, caps:        a7e9f9bf 00000000 00000000 00000040
CPU: Intel(R) Celeron(R) M processor         1400MHz stepping 05
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
cofuse init 0.1 (API version 2.2)
Initializing Cryptographic API
serio: cokbd at irq 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
elevator: using anticipatory as default io scheduler
cobd: loaded (max 32 devices)
loop: loaded (max 8 devices)
conet: loaded (max 16 devices)
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on cokbd
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

D:\coLinux>
回复 支持 反对

使用道具 举报

发表于 2005-12-8 11:35:18 | 显示全部楼层
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\pp>d:

D:\>cd coLinux

D:\coLinux>colinux-daemon.exe -c default.colinux.xml -t nt
Cooperative Linux Daemon, 0.6.2
Compiled on Sat Feb  5 10:19:28 2005

Linux version 2.6.10-co-0.6.2 (karrde@callisto.yi.org) (gcc version 3.3.5 (Debia
n 1:3.3.5-8)) #5 Sat Feb 5 10:19:16 IST 2005
60MB LOWMEM available.
On node 0 totalpages: 15360
  DMA zone: 0 pages, LIFO batch:1
  Normal zone: 15360 pages, LIFO batch:3
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line:
Initializing CPU#0
Setting proxy interrupt vectors
PID hash table entries: 256 (order: 8, 4096 bytes)
Using cooperative for high-res timesource
Console: colour CoCON 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 57336k/61440k available (1502k kernel code, 0k reserved, 548k data, 104k
init, 0k highmem)
Calibrating delay loop... 904.39 BogoMIPS (lpj=4521984)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: a7e9f9bf 00000000 00000000 00000000
CPU: After vendor identify, caps:  a7e9f9bf 00000000 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 512K
CPU: After all inits, caps:        a7e9f9bf 00000000 00000000 00000040
CPU: Intel(R) Celeron(R) M processor         1400MHz stepping 05
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
cofuse init 0.1 (API version 2.2)
Initializing Cryptographic API
serio: cokbd at irq 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
elevator: using anticipatory as default io scheduler
cobd: loaded (max 32 devices)
loop: loaded (max 8 devices)
conet: loaded (max 16 devices)
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on cokbd
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

D:\coLinux>
回复 支持 反对

使用道具 举报

发表于 2005-12-11 03:12:59 | 显示全部楼层
我也遇见了相同的问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-11 03:51:12 | 显示全部楼层
检查 default.colinux.xml 内系统映像的路径是否正确
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表