Ubuntu安裝bochs執行Linux 0.11
阿新 • • 發佈:2020-06-30
安裝 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繼續: