7

I'm developing my own OS, but I'm having some problems with Qemu, because I need to change the floppy image from grub.img to os.img while the emulation is running, but how can I do this?

12

You can open qemu's console by pressing Ctrl-Alt-2 then type:

(qemu) change floppy0 os.img

Ctrl-Alt-1 to switch back to the VM's display.

If you start qemu from a terminal, an easier way of doing this is to run qemu with the -monitor stdio option, which will give the same qemu console in the terminal window.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.