doas losetup -d /dev/loop1
dd if=stage1/boot.bin of=nothing.img bs=1 count=446 conv=notrunc
dd if=magic.bin of=nothing.img bs=1 seek=510 count=2 conv=notrunc
- dd if=stage2/target/x86_64-loadnothing/debug/stage2 of=nothing.img bs=1 seek=512 conv=notrunc
+ dd if=stage2/target/x86_64-loadnothing/debug/stage2 of=nothing.img bs=512 seek=1 conv=notrunc
vm: nothing.img
qemu-system-x86_64 -hda nothing.img