Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

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

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

3 Answers

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).

share|improve this answer
add comment

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

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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