colinux下运行ubuntu7.10 (windows下直接运行linux)
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 8
- 注册时间: 2005-10-27 15:13
colinux下运行ubuntu7.10 (windows下直接运行linux)
ubuntu7.10 for colinux boot FS image是干净的ubuntu7.10根文件系统映像。
运行后可以自己的需求来安装各种软件,包括xwindow,build-essential等。
colinux可以替代vmware或virtualbox/virtualpc等虚拟机在windows下运行linux系统。
Colinux (Cooperative Linux) 使得在Windows2000/XP上同时运行Linux成为可能并不借助
第三方的虚拟机软件(VMware , VitualPC).它不是一种虚拟机,而是Linux内核的移植,使得Linux 可以natively 运行在Windows上,所以运行速度快占用系统资源小。
coLinux 是标准 Linux 内核的一个端口。coLinux 就是一个 Linux 内核,它经过修改,以与另一个操作系统协作运行。
主机操作系统(Windows 或 Linux)控制操作系统的物理资源,而访客(guest)操作系统(coLinux)获得硬件的虚拟抽象。
下载 coLinux 最新发布版。请访问 http://www.colinux.org 并在左侧栏中选择 Downloads。
在接受许可协议之后,询问您希望安装哪些组件。保持这些设置不变(应该选择了所有组件),包括下载根文件系统映像。
colinux boot FS image for ubuntu7.10
1. execute stable-coLinux-20080118.exe to install on c:\colinux folder or other folder.
2. extract ubuntu7colinux.rar to D:\
3. run cai.bat on d:\ubuntu7colinux folder.
4. ID/passwd is root/root
5. you can install ubuntu softwares with apt-get install xxx/apt-get update/apt-get upgrade
ubuntu7colinux.rar 下载地址 http://www.fs2you.com/zh-cn/files/da11b ... 4221f4662/
others documents:
http://groups.google.com/group/iyaf/web ... ubuntu7-10
运行后可以自己的需求来安装各种软件,包括xwindow,build-essential等。
colinux可以替代vmware或virtualbox/virtualpc等虚拟机在windows下运行linux系统。
Colinux (Cooperative Linux) 使得在Windows2000/XP上同时运行Linux成为可能并不借助
第三方的虚拟机软件(VMware , VitualPC).它不是一种虚拟机,而是Linux内核的移植,使得Linux 可以natively 运行在Windows上,所以运行速度快占用系统资源小。
coLinux 是标准 Linux 内核的一个端口。coLinux 就是一个 Linux 内核,它经过修改,以与另一个操作系统协作运行。
主机操作系统(Windows 或 Linux)控制操作系统的物理资源,而访客(guest)操作系统(coLinux)获得硬件的虚拟抽象。
下载 coLinux 最新发布版。请访问 http://www.colinux.org 并在左侧栏中选择 Downloads。
在接受许可协议之后,询问您希望安装哪些组件。保持这些设置不变(应该选择了所有组件),包括下载根文件系统映像。
colinux boot FS image for ubuntu7.10
1. execute stable-coLinux-20080118.exe to install on c:\colinux folder or other folder.
2. extract ubuntu7colinux.rar to D:\
3. run cai.bat on d:\ubuntu7colinux folder.
4. ID/passwd is root/root
5. you can install ubuntu softwares with apt-get install xxx/apt-get update/apt-get upgrade
ubuntu7colinux.rar 下载地址 http://www.fs2you.com/zh-cn/files/da11b ... 4221f4662/
others documents:
http://groups.google.com/group/iyaf/web ... ubuntu7-10
-
- 帖子: 42
- 注册时间: 2006-06-05 22:12
-
- 帖子: 8
- 注册时间: 2005-10-27 15:13
download ubuntu7colinux-readme.rar file from http://groups.google.com/group/iyaf/web ... ubuntu7-10 site that file include FS files, xming and reame.pertain 写了:如何与xming整合啊?
export DISPLAY 192.168.0.1:0 行不通
pls refer cai2install.txt (about x-server and xming)
-
- 帖子: 160
- 注册时间: 2007-12-03 13:57
到 了最后就一步,就是打不开xwindows xming 也启动了,但是就是没有显示???请帮看一下
这是原文介绍
#install xming and change IP address in X0.hosts file on xming installed folder
#export DISPLAY=155.35.71.100:0.0 # as same as x0.hosts IP address
#install xwindow
apt-get install x-window-system-core
apt-get install xfce4
apt-get install xfce4-terminal
#startxfce4 #to run xwindow
这是我启动设置的conf文件最后部分
# Tuntap as private network between guest and host on second linux device
eth2=tuntap
exec0=e:\Xming\Xming.exe,":0 -clipboard -multiwindow -ac"
这是启动过程的log
Welcome to the Xming X Server
Vendor: Colin Harrison
Release: 6.9.0.31
FreeType2: 2.3.4
Contact: http://sourceforge.net/forum/?group_id=156984
e:\Xming\Xming.exe :0 -clipboard -multiwindow -ac
XdmcpRegisterConnection: newAddress 192.168.10.100
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 800 depth: 32
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
glWinInitVisuals:1596: glWinInitVisuals
glWinInitVisualConfigs:1503: glWinInitVisualConfigs glWinSetVisualConfigs:1581: glWinSetVisualConfigs
init_visuals:1055: init_visuals
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
glWinScreenProbe:1390: glWinScreenProbe
fixup_visuals:1303: fixup_visuals
init_screen_visuals:1336: init_screen_visuals
(--) 3 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000804" (00000804)
(EE) Keyboardlayout "Chinese (Simplified) - US Keyboard" (00000804) is unknown
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
Could not init font path element e:\Xming/fonts/misc/, removing from list!
Could not init font path element e:\Xming/fonts/TTF/, removing from list!
Could not init font path element e:\Xming/fonts/Type1/, removing from list!
Could not init font path element e:\Xming/fonts/75dpi/, removing from list!
Could not init font path element e:\Xming/fonts/100dpi/, removing from list!
Could not init font path element C:\Program Files\Xming\fonts\dejavu, removing from list!
Could not init font path element C:\Program Files\Xming\fonts\cyrillic, removing from list!
Could not init font path element C:\WINDOWS\Fonts, removing from list!
winInitMultiWindowWM - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - Hello
DetectUnicodeSupport - Windows Vista
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
这是原文介绍
#install xming and change IP address in X0.hosts file on xming installed folder
#export DISPLAY=155.35.71.100:0.0 # as same as x0.hosts IP address
#install xwindow
apt-get install x-window-system-core
apt-get install xfce4
apt-get install xfce4-terminal
#startxfce4 #to run xwindow
这是我启动设置的conf文件最后部分
# Tuntap as private network between guest and host on second linux device
eth2=tuntap
exec0=e:\Xming\Xming.exe,":0 -clipboard -multiwindow -ac"
这是启动过程的log
Welcome to the Xming X Server
Vendor: Colin Harrison
Release: 6.9.0.31
FreeType2: 2.3.4
Contact: http://sourceforge.net/forum/?group_id=156984
e:\Xming\Xming.exe :0 -clipboard -multiwindow -ac
XdmcpRegisterConnection: newAddress 192.168.10.100
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 800 depth: 32
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
glWinInitVisuals:1596: glWinInitVisuals
glWinInitVisualConfigs:1503: glWinInitVisualConfigs glWinSetVisualConfigs:1581: glWinSetVisualConfigs
init_visuals:1055: init_visuals
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
glWinScreenProbe:1390: glWinScreenProbe
fixup_visuals:1303: fixup_visuals
init_screen_visuals:1336: init_screen_visuals
(--) 3 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000804" (00000804)
(EE) Keyboardlayout "Chinese (Simplified) - US Keyboard" (00000804) is unknown
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
Could not init font path element e:\Xming/fonts/misc/, removing from list!
Could not init font path element e:\Xming/fonts/TTF/, removing from list!
Could not init font path element e:\Xming/fonts/Type1/, removing from list!
Could not init font path element e:\Xming/fonts/75dpi/, removing from list!
Could not init font path element e:\Xming/fonts/100dpi/, removing from list!
Could not init font path element C:\Program Files\Xming\fonts\dejavu, removing from list!
Could not init font path element C:\Program Files\Xming\fonts\cyrillic, removing from list!
Could not init font path element C:\WINDOWS\Fonts, removing from list!
winInitMultiWindowWM - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - Hello
DetectUnicodeSupport - Windows Vista
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
-
- 帖子: 8
- 注册时间: 2005-10-27 15:13
我看到了你的log文件。
我在写的
#install xming and change IP address in X0.hosts file on xming installed folder
#export DISPLAY=155.35.71.100:0.0 # as same as x0.hosts IP address
哪里 155.35.71.100是我的计算机的IP来写的,
这是你的log文件里的提示的信息
XdmcpRegisterConnection: newAddress 192.168.10.100
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
者两个不匹配,也就是xserver的IP地址的你要设置的export DISPLAY=ip地址不一样当然显示不了了。
具体的步骤是:
1.先安装xming (#install xming )
2.在host(宿主机也就是你安装xming的windows机器)里command窗口里输入
c:> ipconfig /all
显示 你的 Ethernet adapter 本地连接:
IP Address. . . . . . . . . . . . : 155.35.71.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 155.35.71.1
3.到xming安装目录下你可以看到 X0.hosts的文件 默认是localhost改为刚才的155.35.71.100
(X0.hosts file on xming installed folder )
4.xLuanch来启动你的xserver,任务栏里显示一个X的图标。
5.启动http://www.fs2you/xxxxx的rar文件里的cai.bat
(因为我这里没有好的ftp服务器,所以那个站点里暂时放的那位网友提供给更好的下载站点就好了)
6.进入到ubuntu7.10的root #提示符下输入 #export DISPLAY=155.35.71.100:0.0
7.安装xwindow
http://groups.google.com/group/iyaf/web ... ubuntu7-10
ubuntu7colinux-readme.rar
(安装步骤可以参考readme文件,我写英文的比较潦草请多见谅,因为那个是group所以大的文件放不下,文件存放了不同的站点)
8. 安装好的xwindow你可以在
colinux的ubuntu7.10下运行 $startxfce4 &
9.这时候可以在xming的xwindow下显示ubuntu的xwindow窗口了。
Regards,
Daway.Cai
我在写的
#install xming and change IP address in X0.hosts file on xming installed folder
#export DISPLAY=155.35.71.100:0.0 # as same as x0.hosts IP address
哪里 155.35.71.100是我的计算机的IP来写的,
这是你的log文件里的提示的信息
XdmcpRegisterConnection: newAddress 192.168.10.100
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
者两个不匹配,也就是xserver的IP地址的你要设置的export DISPLAY=ip地址不一样当然显示不了了。
具体的步骤是:
1.先安装xming (#install xming )
2.在host(宿主机也就是你安装xming的windows机器)里command窗口里输入
c:> ipconfig /all
显示 你的 Ethernet adapter 本地连接:
IP Address. . . . . . . . . . . . : 155.35.71.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 155.35.71.1
3.到xming安装目录下你可以看到 X0.hosts的文件 默认是localhost改为刚才的155.35.71.100
(X0.hosts file on xming installed folder )
4.xLuanch来启动你的xserver,任务栏里显示一个X的图标。
5.启动http://www.fs2you/xxxxx的rar文件里的cai.bat
(因为我这里没有好的ftp服务器,所以那个站点里暂时放的那位网友提供给更好的下载站点就好了)
6.进入到ubuntu7.10的root #提示符下输入 #export DISPLAY=155.35.71.100:0.0
7.安装xwindow
http://groups.google.com/group/iyaf/web ... ubuntu7-10
ubuntu7colinux-readme.rar
(安装步骤可以参考readme文件,我写英文的比较潦草请多见谅,因为那个是group所以大的文件放不下,文件存放了不同的站点)
8. 安装好的xwindow你可以在
colinux的ubuntu7.10下运行 $startxfce4 &
9.这时候可以在xming的xwindow下显示ubuntu的xwindow窗口了。
Regards,
Daway.Cai
-
- 帖子: 160
- 注册时间: 2007-12-03 13:57
-
- 帖子: 8
- 注册时间: 2005-10-27 15:13
我认为3GB基本上够用了,
1.请先确认 /var/cache/apt/archives 目录下的 xxx.deb文件是否清除了没有,
最好不要删除请先 #mv /var/cache/apt/archives/*.deb /opt 目录里下次用的时候再用节省下载的时间,
然后从windows下从d:\ubuntu7colinux\xfs\ 目录里看到你安装过的安装包文件在哪里导出去了,请备份吧。
colinux虚拟机里 #df看看还有没有空间,一般能导出1G文件能导出来。
我装了很多才用了72%做有的空间。
2.mount的方法来把各个/usr /var /home 等虚拟硬盘来分离出来。
http://groups.google.com/group/iyaf/web ... ubuntu7-10
ubuntu7colinux-readme.rar
下载揭开压缩文件,那里的 FS目录里有从128M,256M,...4G...10G的空映像文件系统。
你可以按需要来解压就可以拿到不同的文件映像。
然后在 colinux.cfg文件里编辑
cobd0="D:\VMS\ubuntu7colinux\ubuntu7colinux3gb.fs"
cobd1="D:\VMS\ubuntu7colinux\fs_4059mb"
cobd2="D:\VMS\ubuntu7colinux\fs_10gb"
...
等,^_^恐怕你的物理硬盘吃不消的。
然后吧这些mount 到mnt相应的目录文件拷出来。
在colinux下的 /etc/fstab 里添加就可以了。
3.硬盘移植的方法。
在colinux下
#init 1
登录到console控制台界面后,
mkfs.ext3 /dev/cobd[x]
mount 一个你想扩充到的文件映像。(请参照第2段的mount方法)
然后 cp -ax /mnt | ls /usr /home 等方法来拷贝到挂接的新虚拟硬盘里。
(不包括 /var目录),然后
#tar cvf var.tar /var目录,有可能出现错误信息这是正常现象。
然后确认再colinux.cfg文件里cobd0改为新的挂接系统。
重新启动 用init 1里登录后看看系统是否正常引导进来。
后init 5来再次启动就基本移植完毕。这是作业系统的系统硬盘恢复应急方法。
一般不建议使用,我用这个方法来colinux里移植过所以基本上没有问题。
还有dump,dd if等其他方法。
以上我认为colinux不要超过4G为好,可以刻成DVD(3GB+swap128M+其他=4GB),
我的笔记本容量有限还有备份拷贝也花时间的痛苦^)^,不用的东西一般比有用的东西多4倍,最好先删除后用时候再安装吧,安装也很容易的。
虽然colinux0.7X还是不太完善,但个人学习linux应该完全满足,而却相对硬件配置低的用户学习liux的好的方式,
colinux毕竟开发当中的异类虚拟机,学习之用就可以了,有待关注它的发展了。
在商业用还是推荐,真实物理机或vmware/vitrua box/paralles/xen等技术支持好有实力的产品。
1.请先确认 /var/cache/apt/archives 目录下的 xxx.deb文件是否清除了没有,
最好不要删除请先 #mv /var/cache/apt/archives/*.deb /opt 目录里下次用的时候再用节省下载的时间,
然后从windows下从d:\ubuntu7colinux\xfs\ 目录里看到你安装过的安装包文件在哪里导出去了,请备份吧。
colinux虚拟机里 #df看看还有没有空间,一般能导出1G文件能导出来。
我装了很多才用了72%做有的空间。
2.mount的方法来把各个/usr /var /home 等虚拟硬盘来分离出来。
http://groups.google.com/group/iyaf/web ... ubuntu7-10
ubuntu7colinux-readme.rar
下载揭开压缩文件,那里的 FS目录里有从128M,256M,...4G...10G的空映像文件系统。
你可以按需要来解压就可以拿到不同的文件映像。
然后在 colinux.cfg文件里编辑
cobd0="D:\VMS\ubuntu7colinux\ubuntu7colinux3gb.fs"
cobd1="D:\VMS\ubuntu7colinux\fs_4059mb"
cobd2="D:\VMS\ubuntu7colinux\fs_10gb"
...
等,^_^恐怕你的物理硬盘吃不消的。
然后吧这些mount 到mnt相应的目录文件拷出来。
在colinux下的 /etc/fstab 里添加就可以了。
3.硬盘移植的方法。
在colinux下
#init 1
登录到console控制台界面后,
mkfs.ext3 /dev/cobd[x]
mount 一个你想扩充到的文件映像。(请参照第2段的mount方法)
然后 cp -ax /mnt | ls /usr /home 等方法来拷贝到挂接的新虚拟硬盘里。
(不包括 /var目录),然后
#tar cvf var.tar /var目录,有可能出现错误信息这是正常现象。
然后确认再colinux.cfg文件里cobd0改为新的挂接系统。
重新启动 用init 1里登录后看看系统是否正常引导进来。
后init 5来再次启动就基本移植完毕。这是作业系统的系统硬盘恢复应急方法。
一般不建议使用,我用这个方法来colinux里移植过所以基本上没有问题。
还有dump,dd if等其他方法。
以上我认为colinux不要超过4G为好,可以刻成DVD(3GB+swap128M+其他=4GB),
我的笔记本容量有限还有备份拷贝也花时间的痛苦^)^,不用的东西一般比有用的东西多4倍,最好先删除后用时候再安装吧,安装也很容易的。
虽然colinux0.7X还是不太完善,但个人学习linux应该完全满足,而却相对硬件配置低的用户学习liux的好的方式,
colinux毕竟开发当中的异类虚拟机,学习之用就可以了,有待关注它的发展了。
在商业用还是推荐,真实物理机或vmware/vitrua box/paralles/xen等技术支持好有实力的产品。
-
- 帖子: 160
- 注册时间: 2007-12-03 13:57
- fz420
- 帖子: 127
- 注册时间: 2007-06-18 5:23
- 来自: http://china.com
-
- 帖子: 8
- 注册时间: 2005-10-27 15:13