Install bochs
sudo apt-get install bochs
suao apt-get install bochs-x
Download Linux0.11 image file
Download linux-0.11-devel-060625.zip from http://oldlinux.org/Linux.old/bochs/ and unzip it.
1. Use bootimage-0.11 and rootimage-0.11
Modify 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"
Then run in the terminal:
bochs -f bochsrc-fda.bxrc
A black screen pops up, enter c and press Enter:
See the emergence:
Insert root floppy and press ENTER
We click on config in the upper right corner, and "Bochs Runtime Options" will appear:
Enter 1[Enter] -> rootimage-0.11[Enter] -> [Enter] -> [Enter] -> [Enter] -> 13[Enter] as shown in the figure:
Go back to "Insert root floppy and press ENTER" and click enter:
2. Use bootimage-0.11-hd and hdc-0.11-new.img
Modify the bochsrc-hd.bxrc file:
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"
run:
bochs -f bochsrc-hd.bxrc
After the black screen appears, enter c to continue:
Good article, please pay attention to my favorite article
+Follow
0
0
« Previous article: Machine learning 5-logarithmic probability regression + Python implementation
» Next article: Ubuntu compile and run Linux-0.00
posted @ 2020-06-30 10:09 Raina_RLN Reading (273) Comments (0) Edit collection