1.
下載boch 2.4
https://sourceforge.net/projects/bochs/files/bochs/
下載linux-0.11內核
http://www.oldlinux.org/Linux.old/Linux-0.11/sources/system/
http://www.oldlinux.org/Linux.old/images/
http://www.oldlinux.org/Linux.old/images/
2.建一個boch的可執行文件bochsrc_fd.bxrc
內容是:
megs: 32
romimage: file=$BXSHARE/BIOS-bochs-latest
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
vga: extension=vbe
floppya: 1_44=bootimage-0.11-20040305, status=inserted
floppyb: 1_44=bootimage-0.11-20040305, status=inserted
boot: a
log: bochsout.txt
mouse: enabled=0
ips: 15000000
vga_update_interval: 150000
i440fxsupport: enabled=1
第五第六行的文件名需要和下載的文件名一致
3.點擊打開這個文件
會出現兩個界面,分別爲console控制檯界面
主界面
4.可以看到命令行信息
Insert root floppy and press ENTER
由於在內核映像bootimage-0.11中是從第一個軟盤啓動的,因此我們需要重新設置仿真器
將bootimage改成rootimage
點擊ok之後在主界面按回車
系統至此搭建完成!