bochs(1)

πŸ’– bochs(1) β€” bestie edition πŸ’–

okay so. this is the manual page for bochs, from The Bochs Project, and it's genuinely one of the most iconic little pieces of software ever. grab a snack, we're doing this. πŸ“


✨ NAME ✨

bochs β€” Portable x86 Emulator. that's it, that's the whole vibe. πŸ‘‘


🌸 SYNOPSIS 🌸

bochs [bochs_options] [bochsrc_options]

πŸ¦‹ DESCRIPTION πŸ¦‹

so bochs is a portable Intel Architecture 32 (x86) emulator, and the way it just… runs on most popular operating systems? main character energy, no cap. πŸ’…

and inside the emulator? bestie, it can run so many operating systems. like, Linux and Microsoft(R) Windows(R) are both on the list. it's giving "I contain multitudes." 🌈


πŸŽ€ OPTIONS πŸŽ€

okay so here's the thing. if you run Bochs without one of the options below, it will search for a configuration file called .bochsrc in the current directory and your home directory, and then show you the start menu. that's the default behaviour, bestie. ✨

  • -q β€” skips the start menu after the configuration file loads. bye menu πŸ‘‹
  • -f configfile β€” names the configuration file you want to use. this is the "hey, use this one" flag.
  • -qf configfile β€” the combo move πŸ’« skips the start menu and uses the config file you specified.
  • -n β€” Bochs doesn't load a configuration file at all. in that case you have to set the whole emulation up yourself using bochsrc options on the command line, or in the start menu. do it live, i guess 😭
  • -benchmark N β€” run Bochs in benchmark mode for N millions of emulated ticks. numbers go brrr πŸ”₯
  • -dumpstats N β€” dump Bochs stats every N millions of emulated ticks.
  • -r path β€” restore the Bochs state from path. nap time's over, we're resuming 🫢
  • -log filename β€” specify the Bochs log file name.
  • -unlock β€” unlock Bochs images left over from a previous session. the ghosts of your last run, freed ✨
  • -h, --help β€” print a summary of the command line options for Bochs and exit.
  • -h, --help features β€” display available features / devices and exit.
  • -h, --help cpu β€” display supported CPU models and exit.

πŸ’œ debugger options πŸ’œ

the following options are only available if Bochs is compiled with debugger support. so if they don't work… that's why, bestie.

  • -dbg β€” start the Bochs internal debugger on startup.
  • -dbg_gui β€” start the Bochs internal debugger with gui on startup.
  • -dbg_gui:globalini β€” start the Bochs internal debugger gui using the ini file from the BXSHARE path.
  • -rc filename β€” execute debugger commands stored in file.
  • -dbglog β€” specify the Bochs internal debugger log file name.

🧚 overriding stuff, and the quote rule 🧚

you can override the settings from the configuration file with command line arguments, using the same syntax as the bochsrc file. periodt.

⚠️ if you have any spaces in your command line arguments, they should be enclosed in single quotes. this is not optional, this is self-care.

for info on Bochs command line and configuration file arguments, go look at the man page bochsrc(5). iykyk πŸ“–

Example:

bochs -q 'boot:a' 'floppya: 1_44=a.img, status=inserted'

see how the quoted bits have spaces in them? yeah. exactly. 🎯


πŸ’€ LICENSE πŸ’€

this program is distributed under the terms of the GNU Lesser General Public License as published by the Free Software Foundation. see the LICENSE and COPYING files located in /usr/share/doc/bochs/ for details on the license and the lack of warranty. (yes. the lack of warranty. read it. 🫣)


🌟 AVAILABILITY 🌟

the latest version of this program can be found at:

https://bochs.sourceforge.io/getcurrent.html

πŸ”₯ SEE ALSO πŸ”₯

The Bochs IA-32 Emulator site on the World Wide Web:

https://bochs.sourceforge.io

Online Bochs Documentation:

https://bochs.sourceforge.io/doc/docbook

πŸ‘‘ AUTHORS πŸ‘‘

The Bochs emulator was created by Kevin Lawton (kevin@mandrakesoft.com), and is currently maintained by the members of the Bochs x86 Emulator Project. you can see a current roster of members at:

https://bochs.sourceforge.io/getinvolved.html

πŸ™ˆ BUGS πŸ™ˆ

please report all bugs to the bug tracker on our web site. just go to https://bochs.sourceforge.io, and click "Bug Reports" on the sidebar under "Feedback".

and when you do, provide a detailed description of the bug, the version of the program you're running, the operating system you're running the program on, and the operating system you're running in the emulator. all four. don't be shy with the details, the devs need them. πŸ’–


and that's the whole page, bestie!! this was bochs version 3.1, dated 07 Mar 2025, from The Bochs Project β€” go emulate something iconic, ily, bye!! πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from