免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3747 | 回复: 4
打印 上一主题 下一主题

[求助]XP上Bochs 安装 buntu-10.04-desktop-i386.iso 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-07-14 18:22 |只看该作者 |倒序浏览
本帖最后由 BlackFaceWa 于 2010-07-14 18:24 编辑

环境:
XP, Bochs2.4.5, buntu-10.04-desktop-i386.iso


配置文件:
###############################################################
# bochsrc.txt file for DLX Linux disk image.
###############################################################

# how much memory the emulated machine will have
megs: 128

# filename of ROM images
romimage: file=C:\Progra~1\Bochs-2.4.5\BIOS-bochs-latest #, address=0xf0000
vgaromimage: file=C:\Progra~1\Bochs-2.4.5\VGABIOS-elpin-2.40

# what disk images will be used

# hard disk
ata0-master: type=disk, path="X:\ubuntu\c.img", cylinders=8126, heads=16, spt=63

# where do we send log messages?
log: bochsout.txt

panic: action=ask
error: action=report
info: action=report
debug: action=ignore
clock: sync=realtime, time0=1
#ips: 3000000

# disable the mouse, since DLX is text only
mouse: enabled=0
user_shortcut: keys=ctrlaltdel


# choose the boot disk.
boot: cdrom

#ata0-slave: type=cdrom, path="X:\", status=inserted
ata0-slave: type=cdrom, path="X:\ubuntu\ubuntu-10.04-desktop-i386.iso", status=inserted



第一次碰到的问题:
Kernel panic - not syncing :IO-APIC + timer doesnt work ! boot with apic=debug and send a request. Then try booting with the 'noapic' option

网上的解决办法:
1) when you reach the boot menu, Select Ubuntu entry
2) Press E
3) at the end of line Type: noapic
4) Now press enter and press CTRL-x

If it does not work, then try the following options, one by one.

  * noapic nolapic
  * acpi=off
  * irqpoll
  * lapic pci=routeirq

但是这个办法是在真机安装时候可以用的,Bochs好像不能进入Grub进行编辑。

重启机器后又再次进行安装:
截屏的内容:
[ 7848.163396] [<c0588e7a>] panic+0x48/0xf3b 30 85 f6 74 51 8b 50 0c <8b> 14 96
[ 7848.167628] [<c014ec0d>] forget_original_parent+0x2bd/0x2c0
[ 7848.172417] [<c014ec23>] exit_notify+0x13/0x170x57/0x120 SS:ESP 0068:c3733d4
[ 7848.176669] [<c0150531>] do_exit+0x181/0x310
[ 7848.180796] [<c014c19f>] ? print_oops_end_marker+0x2f/0x40
[ 7848.185448] [<c058c4b5>] oops_end+0x95/0xd0
[ 7848.189682] [<c01068e4>] die+0x54/0x80
[ 7848.193800] [<c058c256>] do_general_protection+0xa6/0x170
[ 7848.199390] [<c01cef67>] ? get_page_from_freelist+0x147/0x360
[ 7848.204223] [<c058c1b0>] ? do_general_protection+0x0/0x170
[ 7848.208824] [<c058b983>] error_code+0x73/0x80
[ 7848.212940] [<c02091cf>] ? get_empty_filp+0xcf/0x1c0
[ 7848.217533] [<c01fcfd7>] ? kmem_cache_alloc+0x57/0x120
[ 7848.222720] [<c02091cf>] ? get_empty_filp+0xcf/0x1c0
[ 7848.227219] [<c04b5a80>] ? sock_init_data+0xb0/0x1d0
[ 7848.231743] [<c02091cf>] get_empty_filp+0xcf/0x1c0
[ 7848.236213] [<c021ea9d>] ? alloc_fd+0xbd/0xf0
[ 7848.240512] [<c04b2636>] sock_alloc_fd+0x26/0x50
[ 7848.244787] [<c04b2740>] sock_map_fd+0x20/0x70
[ 7848.249148] [<c04b2dbc>] sys_socket+0x5c/0x70
[ 7848.253436] [<c04b4791>] sys_socketcall+0x91/0x280
[ 7848.258659] [<c058dae0>] ? do_page_fault+0x160/0x3a0
[ 7848.263390] [<c015176e>] ? sys_time+0x1e/0x60
[ 7848.267565] [<c01033ec>] syscall_call+0x7/0xb
?



最后:
请大家给点意见该如何解决??

论坛徽章:
0
2 [报告]
发表于 2010-07-14 23:22 |只看该作者
自己顶...................

论坛徽章:
0
3 [报告]
发表于 2010-07-15 01:17 |只看该作者
"但是这个办法是在真机安装时候可以用的,Bochs好像不能进入Grub进行编辑。"
不对. 在BOCHS上应该一样可以编辑.

不过BOCHS上装新的LINUX是比较麻烦.我那时装 CENTOS5, 装好之后没法LOGIN, 最后只好用SINGLE USER MODE.

另外,你的内存才给 128 M? 太小了把. 你的主机内存有多大?多给点.

DESKTOP版很吃资源的,可以考虑装 SERVER 版.

论坛徽章:
0
4 [报告]
发表于 2010-07-15 08:59 |只看该作者
"但是这个办法是在真机安装时候可以用的,Bochs好像不能进入Grub进行编辑。"
不对. 在BOCHS上应该一样可以 ...
accessory 发表于 2010-07-15 01:17



不对. 在BOCHS上应该一样可以......
首先非常感谢回复!
我尝试按照网上的方式进入Grub但是都失败了,没有发现任何机会可以进入....

PS:确实是在Bochs上装第一个Linux

论坛徽章:
0
5 [报告]
发表于 2010-07-15 23:07 |只看该作者
"我尝试按照网上的方式进入Grub但是都失败了,没有发现任何机会可以进入...."

具体说下?

进入GRUB一般有个延时,可以把VIRTUAL DISK MOUNT到HOST上,然后把那个时间改长些,比如30, 60, 100试下.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP