设置colinux Debian Lenny

1.下载
colinux develop:http://www.colinux.org/snapshots/devel-coLinux-20091115.exe
debian lenny image:http://jaist.dl.sourceforge.net/project/colinux/Images%202.6.x%20Debian/Debian%205.0%20Lenny/Debian-5.0r2-lenny.7z
2.安装colinux,解压image到colinux安装目录

ps:root 的密码是colinux,另外有个普通用户colinux,密码也是colinux

可以使用deluser,adduser删除添加用户。
3.设置
1)设置镜像为网易开源镜像站

wget http://mirrors.163.com/.help/sources.list.lenny

mv /etc/apt/sources.list ~/

mv sources.list.lenny /etc/apt/sources.list

apt-get update

注意:会出现如下错误:

W: Failed to fetch http://non-us.debian.org/debian-non-US/dists/lenny/non-US/Release.gpg  Could not resolve ‘non-us.debian.org’

W: Failed to fetch http://non-us.debian.org/debian-non-US/dists/lenny/non-US/main/i18n/Translation-en_US.gz  Could not resolve ‘non-us.debian.org’

据说,non-us已经好久不用了,所以,把包含non-us的一行注释掉就行了。

继续阅读

colinux 新版(0.7.3以后)无法启动网络的问题

今天更新了CoLinux 为最新的稳定版0.7.5,在启动原先0.7.3建立的debian镜像文件时,出现

colinux:~# /etc/init.d/networking restart
>> Reconfiguring network interfaces…SIOCSIFADDR: No such device
>> eth0: ERROR while getting interface flags: No such device
>> SIOCSIFNETMASK: No such device
>> eth0: ERROR while getting interface flags: No such device
>> Failed to bring up eth0.

启动时也有相应的信息。

不管eth0是设置了什么网络,Slirp,tap,pcap或者ndis,都是一样的。

原因:

The problem is: Debian is *trying* to be smart.
Every time CoLinux starts up, it automatically generates a new MAC address
for each adapter, seen here in your log:
configured TAP at ” device as eth0
MAC address: auto generated
configured PCAP bridge at ” device as eth1
MAC address: auto generated
configured Slirp as eth2
MAC address: auto generated
Every time a new MAC address is generated, debian will rename your ethX
device.
Set a MAC address for each adapter in your CoLinux config file and clear
out debian’s previous failed network connections.

 

就是说,debian的智能化处理,每次启动时,为每个网卡自动生成一个新的mac地址,而debian就重新生成一个ethx的设备。

而udev系统有个规则,保存在"/etc/udev/rules.d/z25_persistent-net.rules",只允许里面记录的mac地址的网卡生成。所以导致了失败。

继续阅读

Cooperative Linux 0.7.5 released

colinux 发布0.7.5新版,更新如下:
  Version 0.7.5
  * Bug #1959846, #2760666: Don't crash the host, if an other virtualization
    runs in VMX mode.

  Network:
  * Bug #2849262: SLiRP: Active FTP failed with "500 Illegal PORT command".
    Environment COLINUX_HOST_IPADDR overwrites auto detected host ip address.

  Console and daemons:
  * Insert keys from fltk console without keyboard mapping. (Paolo Minazzi)
  * New: NT console WinKey+V paste keys from clipboard. (Vladislav Grishenko)
  * Linux as host: Handle extended keys, for example ALT+CurRight.
  * Automatically add network dependency to coLinux as service.
  * Version informations about binutils and SVN revision added to daemon file.

  Kernel:
  * Remove floating point handling from passage page code. FPU save/restore
    only on demand and only inside Linux guest kernel, if Linux kernel or Linux
    userland needs the FPU. In cases where FPU was not used on Linux guest side,
    the registers of FPU are not touched. That saves some time between operating
    system switches. It's 1 percent (or less) faster now.
  * Increase CO_LINUX_API_VERSION to 13, avoids crashes with older builds.
  * cloop updated to version 2.625
  * Forward plain text panic message instead "terminated with code 3".

  Buildsystem:
  * Bug #2847393: Configure detected wrong program versions. (Steven Chen)

  Updated libraries and tools:
  * w32api 3.13
Download CoLinux 0.7.5

andLinux – 在Windows中直接运行Linux程序

 

andLinux是一个完整的Ubuntu Linux系统,它能够直接运行于Windows 2000/XP/2003和Vista的32位版本上,它由GP2X社区负责维护,而且是永久免费的.
andLinux基于CoLinux开发的技术,它提供了一个让Windows连接Linux内核的接口,虽然这技术有点像VMware和VPC,但这并不是一个简单的模拟器,看完图你就知道了.

访问:andLinux

cnBeta.COM_Linux_ andLinux – 在Windows中直接运行Linux程序