自己动手写操作系统——bochs启动问题

用源码安装bochs时,默认没有安装vgabios,且我在配置文件里也将此注视掉了,这样允许出现段错误。弹出的窗口出现错误。

You can also start bochs with the -q option to skip these menus.

1. Restore factory default configuration
2. Read options from...
3. Edit options
4. Save options to...
5. Restore the Bochs state from...
6. Begin simulation
7. Quit now

Please choose one: [6] 6
00000000000i[     ] installing x module as the Bochs GUI
00000000000i[     ] using log file bochsout.txt
段错误

解决办法:安装vgcbios

sudo apt-get install bochs-x
                  

相应配置文件:在/etc/bochs-init/bochsrc中,参照于渊的著作修改即可


你可能感兴趣的:(linux,操作系统,apt,BIOS)