bochs 的设置
bochs -f bochstr
将引导扇区写入软盘:dd if=boot.bin of=a.img bs=512 count=1 conv=notrunc
bochstr:
###############################################################
# how much memory the emulated machine will have
megs: 32
# filename of ROM images
romimage: file=/usr/share/bochs/BIOS-bochs-latest
vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest
# what disk images will be usedserted
floppya: 1_44=a.img, status=inserted
# choose the boot disk.
boot: floppy
# where do we send log messages?
# log: bochsout.txt