Skip to main content
Welcome guest. | Register | Login | Post

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

Wow, qemu is a powerful tool - I'll be taking some screenshots of a BLAG install soon Smiling

Thanks,

dylunio

Sure is. Looking forward to

Sure is. Looking forward to those shots. Smiling

Thank you

Looks like kqemu, the qemu

Looks 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

 

QEmu 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

Great, now I can 100% recommend it instead of saying "I would recommend it if it was free software".

good news quoted

libervisco wrote:

Looks 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

 

Finally 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 look