How To Change The Floppy Image Of Qemu?

4

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?

Nathan Campos

Posted 2010-01-18T20:36:28.703

Reputation: 323

Answers

7

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.

user1686

Posted 2010-01-18T20:36:28.703

Reputation: 283 655