Boot a CD image in Qemu
You can use Qemu to boot a CD ISO image you downloaded before you even burn it. This could be useful for just checking it out before you decide to spend a CD for burning it or to take screenshots you otherwise wouldn't be able to from the real bootup.
Here's a simple command to do it:
qemu -cdrom cdimage.iso
You can even install a CD image on a special virtual disk you can create on qemu. This disk is actually not a disk, of course, but a disk image which contains free space that can be used within qemu emulation.
To create this disk image do this:
qemu-img create myimage.img mysize
Of course, replace myimage.img with the desired name and "mysize" with the desired amount of free space you want it to take, for example 2GB.
To be able to install from a CD image, you have to boot it with the support of the qemu disk image you created above. Here's the command for that:
qemu -cdrom cdimage.iso -boot d /path/to/diskimage.img
cdimage.iso is the name of the CD ISO you need to boot and diskimage.img is the disk image containing free space you can install on (from the CD ISO you booted from).
There are many ways you can use qemu. For more information you can type man qemu on your GNU/Linux terminal or read Qemu documentation.









Comments
Wow, qemu is a powerful tool
by dylunio | Fri, 2006-08-18 15:30Wow, qemu is a powerful tool - I'll be taking some screenshots of a BLAG install soon
Thanks,
dylunio
Sure is. Looking forward to
by libervisco | Sat, 2006-08-19 07:44Sure is. Looking forward to those shots.
Thank you
Looks like kqemu, the qemu
by libervisco | Wed, 2007-02-07 08:37Looks like kqemu, the qemu accelerator became completely Free Software. It is recommended to use it with qemu as it should significantly improve performance. I'm probably gonna try it on something soon.
QEmu is really cool. I've
by reptiler | Wed, 2007-02-07 09:36QEmu is really cool. I've been using it before, but cannot compile it on my system at this moment.
I guess I made some mistake when compiling my system. Well, I'm still using it at the office, mostly for testruns of my distro.
Before I also used it to have an image with Windows to test my websites in IE.
Bochs is also quite good, but it's much slower than QEmu. I guess that Bochs might be more suitable for DOS and things like that.
free kqemu
by tbuitenh | Wed, 2007-02-07 10:33Great, now I can 100% recommend it instead of saying "I would recommend it if it was free software".
good news quoted
by free-zombie | Wed, 2007-02-07 12:59Looks like kqemu, the qemu accelerator became completely Free Software. It is recommended to use it with qemu as it should significantly improve performance. I'm probably gonna try it on something soon.
this. is. great. (and needs to be quoted) I know from the old proprietary version that it's brilliant software. Now it's both brilliant and free.
Finally I can run QEmu
by reptiler | Wed, 2007-02-07 14:01Finally I can run QEmu again. Obviously there was something wrong with my Kernel-headers. I replaced them with the latest headers, applied the GCC4-patch to QEmu and everything compiled smoothly.
And since KQEmu also is free now I can also use it (didn't use it before since it wasn't free). Performance looks good, although I have to say that I also couldn't really complain before. Will have to see how significant the change is.
Here is a good guide for
by libervisco | Thu, 2007-02-08 17:53Here is a good guide for setting up qemu along with acceleration: http://technowizah.com/2007/02/debian-how-to-qemu-virtual-machine.html