Booting a `supermin` appliance with `qboot` ========================================== Build an appliance ------------------ $ mkdir basic-supermin.d $ supermin --prepare bash coreutils -o basic-supermin.d $ mkdir basic-full-appliance $ supermin --build -f ext2 \ --copy-kernel --host-cpu "$(uname -m)" \ -o basic-full-appliance \ basic-supermin.d Compile `qboot` firmware ------------------------ Clone the source: $ git clone https://github.com/bonzini/qboot.git Compile the qboot firmware (you may need to install the relevant build time dependancies): $ make Boot the appliance with the above firmware ------------------------------------------ $ ~/build/qboot-qemu/x86_64-softmmu/qemu-system-x86_64 \ -bios ~/src/qboot/bios.bin \ -kernel kernel -initrd initrd \ -serial stdio \ -append 'console=ttyS0,115200 root=/dev/sda' \ -device virtio-scsi-pci,id=scsi \ -drive file=./root,format=raw,if=none,id=hd0 \ -device scsi-hd,drive=hd0