Following the tutorial http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/index.html