Prerequisites: nasm gcc GNU make byacc patch Fetch all required sources with: make source Build the qemu image with: make qemu Note that building VDI images needs vditool, which needs a properly installed version of the VirtualBox shared library files. Note that you can't build grub on a 64-bit machine, use a 32-bit environment for that.