1.bochs版本:bochs-2.6.8
编译前配置:提取文件,打开目录,在终端中打开;
2.编辑bochesrc
###############################################################
###############################################################
megs: 32
romimage: file=/usr/share/bochs/BIOS-bochs-latest
vgaromimage: file=/usr/share/vgabios/vgabios.bin
floppya: 1_44=/home/OS/a.img, status=inserted
boot: floppy
mouse: enabled=0
keyboard_mapping: enabled=1, map=/usr/share/bochs/keymaps/x11-pc-us.map
3.运行bochs
sudo bochs -f /ect/bochs-init/bochsrc
结果如下:00000000000i[ ] BXSHARE not set. using compile time default '/usr/local/share/bochs'
00000000000i[ ] reading configuration from /etc/bochs-init/bochsrc
00000000000p[ ] >>PANIC<< /etc/bochs-init/bochsrc:25: 'keyboard_mapping' is deprecated - use 'keyboard' option instead.
Bochs is exiting with the following message:
[ ] /etc/bochs-init/bochsrc:25: 'keyboard_mapping' is deprecated - use 'keyboard' option instead.
关闭终端,重新打开,
This is the Bochs Configuration Interface, where you can describe the
machine that you want to simulate. Bochs has already searched for a
configuration file (typically called bochsrc.txt) and loaded it if it
could be found. When you are satisfied with the configuration, go
ahead and start the simulation.
You can also start bochs with the -q option to skip these menus.
按6,然后按c,bochs图形界面弹出,提示No bootable device.
情况描述完毕,求大神解释