bochs中遇到到问题

1、错误:

========================================================================

Bochs x86 Emulator 2.4.6
Build from CVS snapshot, on February 22, 2011
Compiled at Nov 11 2011, 09:31:18
========================================================================
00000000000i[ ] LTDL_LIBRARY_PATH not set. using compile timedefault '/usr/lib/bochs/plugins'
00000000000i[ ] BXSHARE not set. using compile time default'/usr/share/bochs'
00000000000i[ ] reading configuration from bochsrc.bxrc
00000000000i[ ] lt_dlhandle is 0x2d7b960
00000000000i[PLGIN] loaded plugin libbx_x.so
00000000000i[ ] installing x module as the Bochs GUI
00000000000i[ ] using log file bochsout.txt
bochs-bin: symbol lookup error: /usr/lib/bochs/plugins/libbx_x.so:undefined symbol: XpmCreatePixmapFromData

megs: 32
romimage: file=/usr/share/bochs/BIOS-bochs-latest
vgaromimage: file=/usr/share/vgabios/vgabios.bin
floppya: 1_44=a.img, status=inserted
floppyb: 1_44=floppyb.img, status=inserted
boot: floppy
log: bochsout.txt
mouse: enabled=0
keyboard_mapping: enabled=1,map=/usr/local/share/bochs/keymaps/x11-pc-us.map解决:

在终端输入 sudo apt-get install bochs-sdl安装好后在bochs的配置文件bochsrc里面加一句 display_library: sdl

2.

错误:Event type: PANIC
     Device: [MEM0 ]
     Message: ROM: System BIOS must end at 0xfffff
方法:打开配置文件bochsrc-hdboot.bxrc
     将romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000
     改为romimage: file=$BXSHARE/BIOS-bochs-latest

3.
错误:>>PANIC<< bochsrc-hd.bxrc:37: vgaromimage directive malformed.
方法:

           A. 注释掉相应行

           B. 改成:vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest


4.

错误:Event type: PANIC

      Device: [  ]

      Message: dlopen failed for module 'x': file not found

方法:

          安装bochs-x包, sudo apt-get install bochs-x




你可能感兴趣的:(虚拟机)