[Sussex] Quick qemu question

Ronan Chilvers ronan at thelittledot.com
Thu Nov 10 08:42:25 UTC 2005


Hi Gavin

On Thu, 10 Nov 2005 00:14:58 +0000
Gavin Stevens <starshine at gavmusic.uklinux.net> wrote:

> Is it possible to determine where on the hard drive this image will
> be, or does it put itself somewhere of its own choosing? Sorry if this
> sounds a bit thick - I just want my qemu experience to be safe.

The qemu-img program creates the image wherever you tell it.  So if you
do

qemu-img create hda.img 2500M

you'll get a 2.5GB image called hda.img in the current directory.  You
could as an alternative do

qemu-img create /home/gavin/QemuStuff/debian/mydebianimage.img
2500M

will create an image called mydebianimage.img
in the directory /home/gavin/QemuStuff/debian/

I wouldn't worry about having an impact on your host system.  Qemu is
very safe.  I use it to have a look at other distributions and for
testing system upgrades etc safely.  For example I have a vanilla
image of debian Woody that I use for testing Sarge upgrades, an image
of Arch Linux that I'm playing around with to see what its like, and
so on.

Just as an aside, you might want to consider compiling the
Kqemu accelerator if you end up using qemu a lot.  Its a kernel module
which can speed up the emulation considerably. It would need to be
compiled from source, but its not particularly difficult. Let me know
if you decide to give it a go and I'll send you a couple of links.

Cheers

-- 
Ronan
e: ronan at thelittledot.com
t: 01903 739 997
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.lug.org.uk/pipermail/sussex/attachments/20051110/6b148125/attachment.pgp 


More information about the Sussex mailing list