User Mode Linux (UML) is a great hack. It runs the Linux kernel as a normal process. This is a form of virtualization, with the benefit that it can be used by regular users on any Linux machine. Recently, I needed to experiment with some software that required root access, without the root password. Here is a brief step-by-step guide to help me remember how to get it working:
make menuconfig ARCH=um make -j3 linux ARCH=um
config.h
and uncomment the line that says #define FULL_BOLT
. This will make Slirp go as fast as it can../linux ubd0=disk.img mem=256M eth0=slirp,,slirp hostfs=${HOME}
For more detailed directions, see Installing UML with Fuse or How to Make a UML Image on Debian.