Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do you do a memory dump in Bochs?

(Either physical or virtual -- but both would be even better!)

share|improve this question

3 Answers 3

Perhaps you're looking for Save and restore simulation:

The state of cpu(s), memory and all devices can be saved now. When running Bochs with there will be a button in the header bar called "Suspend".

(emphasis added)

share|improve this answer
Er... yes, the contents of the memory is there, but how do I look at it? – Mehrdad Jul 12 '11 at 6:46

Try memsave and pmemsave commands in the Bochs console.

memsave addr size file

save to disk virtual memory dump starting at addr of size size.

pmemsave addr size file

save to disk physical memory dump starting at addr of size size.

share|improve this answer
Are you sure Bochs supports this? – Mehrdad Jul 16 '11 at 17:52
doesn't work... – Milind R Feb 8 '14 at 19:30

Apparently there is writemem

    writemem                     dump a number of bytes of virtual memory starting from
                                 the specified linear address into a file

But it doesn't seem to work.

share|improve this answer
Update me if you do get this to work somehow – Milind R Feb 8 '14 at 20:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.