I've got an existing QEMU Virtual Server running on Fedora 11. Having troubles trying to find out how to change the location of where the Virtual Images are stored.

Can anybody provide any help please?

Thanks in advance!

I'm also new to Linux Server Administration - n00b in other words - so this might seem lazy but I need to know commands or where to look

migrated from stackoverflow.com Oct 11 '09 at 20:42

This question came from our site for professional and enthusiast programmers.


QEMU is usually run from shell, even if a number of GUI exist all around. Try doing a ps aux | grep qemu and see if you can find in the output the commandline for qemu binary (look for -hdc option).


Figured it out looking at the manuals for a fair few commands, the following command has worked

virt-install --name=WindowsXPIE6 --ram=512 --file=/media/Filestore/virtual_machines/WindowsXPIE6.img --import

--name is the name (label) of the Virtual Machine --ram is the amount of RAM in mb --file is the location of the .img file --import is to tell QEMU to use an existing disk image


You may find the the location of your server image:

$ find / -iname server.img
After run qemu from command line as :

$ qemu -boot c -hda server.img -net nic -net tap

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.