If I do:
qemu-system-i386 -m 64M -drive node-name=erika,file=FD13FULL.img,format=raw -usb -device usb-storage,drive=erika
I get:
qemu-system-i386: -device usb-storage,drive=erika: Conflicts with use by ide0-hd0 as 'root', which does not allow 'write' on erika
I am able to boot from my emulated usb key (as if it is an hard drive) by doing:
qemu-system-i386 -m 64M -blockdev node-name=erika,driver=file,filename=FD13FULL.img -usb -device usb-storage,drive=erika
If I do:
qemu-system-i386 -m 64M -blockdev node-name=erika,driver=file,filename=FD13FULL.img -usb -device usb-storage,drive=erika -drive file=hd.img,format=raw
boot failed, not a bootable disk... I think because it try to boot from hd.img, which is a freshly created disk image (so with no system yet).
I may try to change index:
qemu-system-i386 -m 64M -blockdev node-name=erika,driver=file,filename=FD13FULL.img -usb -device usb-storage,drive=erika -drive file=hd.img,format=raw,index=3
Same error: boot failed, not a bootable disk
I would like to have -boot u (for usb) but it does not seems to exist.
[paul@fedora myfreedos]$ qemu-system-i386 --version
QEMU emulator version 5.2.0 (qemu-5.2.0-5.fc34.1)
A suggestion to what to do?
I do not think this is relevant, but FD13FULL.img come from: