Ubuntu安裝bochs運行Linux 0.11


安裝 bochs

sudo apt-get install bochs
suao apt-get install bochs-x

下載Linux0.11鏡像文件

http://oldlinux.org/Linux.old/bochs/ 下載 linux-0.11-devel-060625.zip后解壓.

1. 使用 bootimage-0.11和rootimage-0.11

修改 bochsrc-fda.bxrc:

romimage: file=/usr/share/bochs/BIOS-bochs-latest
megs: 16
vgaromimage: file=/usr/share/vgabios/vgabios.bin
floppya: 1_44="bootimage-0.11", status=inserted
boot: a
log: bochsout.txt
vga_update_interval: 300000
keyboard_serial_delay: 200
keyboard_paste_delay: 100000
mouse: enabled=0
private_colormap: enabled=0
fullscreen: enabled=0
screenmode: name="sample"

然后在終端運行:

bochs -f bochsrc-fda.bxrc

彈出黑屏, 輸入 c 回車:

看到出現:

Insert root floppy and press ENTER

我們點擊右上角的config, 會出現"Bochs Runtime Options":

如圖依次輸入 1[回車] -> rootimage-0.11[回車] -> [回車] -> [回車] -> [回車] -> 13[回車]:

回到"Insert root floppy and press ENTER"處, 點擊回車即可:

2. 使用 bootimage-0.11-hd和hdc-0.11-new.img

修改bochsrc-hd.bxrc文件:

romimage: file=/usr/share/bochs/BIOS-bochs-latest
megs: 16
vgaromimage: file=/usr/share/vgabios/vgabios.bin
floppya: 1_44="bootimage-0.11-hd", status=inserted
ata0-master: type=disk, path="hdc-0.11-new.img", mode=flat, cylinders=410, heads=16, spt=38
boot: a
log: bochsout.txt
vga_update_interval: 300000
keyboard_serial_delay: 200
keyboard_paste_delay: 100000
mouse: enabled=0
private_colormap: enabled=0
fullscreen: enabled=0
screenmode: name="sample"

運行:

bochs -f bochsrc-hd.bxrc

出現黑屏后輸入c繼續:


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM