Add support for creating bootable media for use with USB or HDD boot. Also add support for running the generated media in QEMU.