Problem Description
System environment: Debian GNU/Linux 10 (buster)
Software version: Bochs x86 Emulator 2.6.9
After starting Bochs, enter the debug mode and display the command prompt. Even if you use the -q option, you can only skip the boot menu.
We hope to run it as a simulator, that is, execute the program directly without entering debug mode.
Solution
Currently (11/11/2020) there is no option to prohibit entering Debugger mode.
Method one, recompile (recommended)
Recompile the Bochs command and do not enable the --enable-debugger option.
# The first step, download the binary file # https://sourceforge.net/projects/bochs/files/bochs/ # The second step, compile and install ./cofigure make make install
Method two, use the -rc option
With the -rc option, the command to be executed is written to a file and passed to Bochs for execution.
references
WikiNotes/禁用 Debugger 功能
Bochs x86 PC emulator / Thread: [Bochs-developers] How to disable the bochs debugger
Bochs x86 PC emulator / Thread: Re: [Bochs-developers] How to disable the bochs debugger
Installation
3.4. Compiling Bochs