Running a USB image on qemu in SUSE Studio

From openSUSE

    Portal Start   FAQ FAQ   Tour Tour   Howto Howto    API API   Feddback, bugs and known issues Bugs   Support and information channels Support   Download appliances and other things Download    Display index of "Category: SUSE Studio"   How to edit this documentation


You can try out the images on qemu before copying them into USB or disc. Even thought you can do that with qemu, I would recommend to use qemu-kvm as it has a better performance. In any case, the disc image has no free space, as it would expand on the USB or disc, but it would not on qemu. So, after making a copy of it, you can add some free space by doing:

dd if=/dev/zero of=image.raw bs=1 count=1 conv=notrunc seek=3G	

And then try the image on qemu or qemu-kvm:

qemu image.raw	

or

qemu-kvm image.raw