Building a UML kernel

0) Make sure you can build the Linux kernel

$ sudo apt-get install build-essential kernel-package -y

1) Get the Kernel (kernel.org)
2) cd kernel tree
3) configure and compile

linux-3.1.4$ make menuconfig ARCH=um
linux-3.1.4$ make linux ARCH=um

Voila! You should have a file linux which is an executable UML image.

Leave a Reply