install Bochs in ubuntu

bochs virtual machine finally took a day to set up a
due follow "an operating system to achieve" to install, so the beginning of the installation of bochs-2.3.5 version, but at configure time, has been stuck in

ERROR: X windows gui was selected, but X windows libraries were not found.

No matter how to install org-dev or libx11-dev xserver-xorg-dev according to the Internet, it will not work. In desperation, I can only give up x windows, the configuration is as follows

./configure –enable-debugger –enable-disasm –with-nogui

The result is that no errors were reported during the configuration. A lot of errors occurred during make. If there is no other way, this version can only be abandoned and replaced with version 2.4.

Although there was an error in the configuration of version 2.4, it was solved according to the online method

Then an error occurred during make. Wan Xin saw an article, thank you very much, and solved the problem of make
[ https://www.cnblogs.com/KoalaDream/p/5045875.html]

Then there was no problem in sudo make install.
The following posts were introduced boshrc configuration
Write picture description here
in which there are two paths file (romimage vgaromimage) to pay attention to and on the same computer
that also did not follow post written questions, then enter the command bochs in the current path, resulting in a Black frame. . . .
Write picture description here

After reading the book carefully, I found the problem. First of all, we must use the assembly to generate the a.img file and put it in the current file path, because there is a.img configuration in boshrc

Then the most important point is a paragraph in the notes of the book

If you are using bochs with debugging function compiled by yourself, you need to press Enter again after pressing Enter, and enter "c" after the bochs prompt appears, and press Enter again.

Through this operation, bochs finally works
Write picture description here

Guess you like

Origin blog.csdn.net/u012323667/article/details/79226161