Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have download bochs 2.6 sourcecode and installed with gdb-stub configuration. I would like to debug linux-kernel 1.0 or 2.0 or 3.0 which sourcecode downloaded from http://www.kernel.org/ with gcc and Bochs. How to compiled the kernel sourcecode and debug it?

share|improve this question

1 Answer 1

Better configure for User Mode (Linux running as a normal user process). BOCHS is painfully slow, and you still have a kernel in charge that you can't look into easily.

BTW, kernels like 1.0 won't manage UM Linux (that came much later), and I don't know if 2.0 handled it either.

If you want simple, you should perhaps look at Xv6, a V6 Unix (as in Lyon's book) ported to ANSI C.

share|improve this answer

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.