求能上网,有声音的bochs镜像可上网版,解压不超过1GB,并附上bochsrc.txt的配置方法。

下次自动登录
现在的位置:
& 综合 & 正文
Ubuntu10.04搭建linux-0.11编译环境(1.bochs安装和使用)
oldlinux发布的bochs配置文件与Ubuntu10.04上的bochs版本不匹配,造成配置文件解析的一系列问题,本文解决此类问题.
1. 安装bochs
sudo apt-get install bochs vgabios bochs-x bochsbios bochs-doc bochs-sdl
如有问题,找到合适源即可.
2. 获取可启动的linux-0.11 系统
1. 下载压缩包
cd linux-0.11-devel-060625
3. 测试下载过来的镜像
在linux-0.11-devel-060625目录下
执行 bochs -f bochsrc-hd.bxrc
----- 发生错误以及解决办法 -----
(1) &&PANIC&& bochsrc-hd.bxrc:37: vgaromimage directive malformed.
A. 注释掉相应行
B. 改成:vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest
(2) &&PANIC&& bochsrc-hd.bxrc:284: directive 'floppy_command_delay' not understood
A. 注释掉相应行
(3) bochsrc-hd.bxrc:194: unknown parameter for parport1 ignored.
B. 改成:parport1: enabled=1, file="parport.out"
(4) &&PANIC&& bochsrc-hd.bxrc:307: directive 'ips' not understood
B. 改成:cpu: count=1, ips=1000000
(5) dlopen failed for module 'x': file not found
A. 配置文件顶部增加:
config_interface: textconfig
display_library: sdl
(来源于bochs默认配置文件 /etc/bochs-init/bochsrc)
(6) ROM: System BIOS must end at 0xfffff
A. romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000 改成 romimage: file=/usr/share/bochs/BIOS-bochs-latest
(7) 其他问题参考
-----------------------------------------------------------------------------
重新执行 bochs -f bochsrc-hd.bxrc 即可.
注意:实际上,如果是以学习为目的的话,至此已经可以在现有的环境下学习linux-0.11的源码了,上边下载的镜像中,包含了linux-0.11源码,可以直接编译.
编译后,只需要把Image镜像写入到启动盘即可.
写入启动盘的方法是:(假设fd0是启动软盘)
dd if=Image of=/dev/fd0
&&&&推荐文章:
【上篇】【下篇】The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.

我要回帖

更多关于 bochs镜像可上网版 的文章

 

随机推荐