A simple operating system, following this book.
sudo apt-get install build-essential nasm genisoimage
make run
This generates an os.iso file which can be run easily with VirtualBox.
Open VirtualBox, then click New -> Type: Other, Version: Other/Unknown(64 bit).
Start the VM and select your os.iso file when prompted.