Chapter 11. Compiling UML from Source

So far we have been playing with a UML kernel binary that we had no hand in creating. Now we will see what’s involved with building a UML binary from source.

The process is exactly the same as building a kernel for the host— download the source, configure it, and then build it. The kernel build procedure can be daunting for someone who has never done it before; if the kernel isn’t configured correctly, it is reasonably likely not to recognize all of the system’s hardware. If one of the unrecognized devices is the boot disk, the kernel won’t even boot.

With UML, things are simpler. There are far fewer configuration options because there is a much greater variety of physical devices possibly present on the ...

Get User Mode Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.