# what disk images will be used
floppya: 1_44=boot.img, status=inserted //修改为1_44=boot.img
#floppyb: 1_44=floppyb.img, status=inserted//注释掉这行
' # hard disk
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
#ata0-master: type=disk, path="hd10meg.img", cylinders=306, heads=4, spt=17//注释掉这行
# choose the boot disk.
boot: floppy //改为floppy
Hello, OS world!絠os 0.6c 08 Apr 2009
This VGA/VBE Bios is released under the GNU LGPL
Please visit :
. http://bochs.sourceforge.net
. http://www.nongnu.org/vgabios
Bochs VBE Display Adapter enabled
Bochs BIOS - build: 04/05/10
$Revision: 1.247 $ $Date: 2010/04/04 19:33:50 $
Options: apmbios pcibios pnpbios eltorito rombios32
Press F12 for boot menu.
Booting from Floppy...
6、遇到的问题
1、错误显示如下
Plex86/Bochs VGABios 0.6c 08 Apr 2009
This VGA/VBE Bios is released under the GNU LGPL
Please visit :
. http://bochs.sourceforge.net
. http://www.nongnu.org/vgabios
Bochs VBE Display Adapter enabled
Bochs BIOS - build: 04/05/10
$Revision: 1.247 $ $Date: 2010/04/04 19:33:50 $
Options: apmbios pcibios pnpbios eltorito rombios32
Press F12 for boot menu.
Booting from Floppy...
Boot failed: could not read the boot disk
FATAL: No bootable device.
?
2、解决办法
我出现这个问题原因就是boot.bin没有真正的写入boot.img,因为之前我是用文字处理软件直接复制的二进制,可能没有复制成功吧
之后,我用了FloppyWriter.exe这个工具刻录果然就行了,不知道你是不是我的这个情况,可以试一下
共同学习,共同进步!