Skip to content

Instantly share code, notes, and snippets.

@hasherezade
Created March 29, 2016 14:58
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save hasherezade/5c283e80785395fcb4ae to your computer and use it in GitHub Desktop.
Save hasherezade/5c283e80785395fcb4ae to your computer and use it in GitHub Desktop.
Bochs configuration to run a bootloader from disk dump
#required: bochs, bochs-x
megs: 32
romimage: file=/usr/share/bochs/BIOS-bochs-latest, address=0xfffe0000
vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest
ata0-master: type=disk, path="infected.dsk", cylinders=615, heads=6, spt=17
boot: disk
log: bochsout.txt
mouse: enabled=0
display_library: x, options="gui_debug"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment