Stopbyte

How to boot Qemu Virtual machine from a live CDROM ISO image?

Hi;

i’m bit new to Qemu, i’ve been using VirtualBox since the beginning but when i encountered similar issue as described in this Question about VB Error: “Callee RC: REGDB_E_CLASSNOTREG (0x80040154)” i had to look for alternatives. and first thing i thought about was Bochs but unfortunately when i tried it it worked but it’s not compatible with the OS image i am using. then i thought why not use Qemu, especially that it’s known to be the fast Virtual machine out there.

I installed it, can’t find any User interface i can start with, what i should do next to successfully boot from that live CD Iso image?

thanks in advance.

Qemu Installation comes with some handy HTML documentation check if you have that, if not you can look for an online version at the Qemu official website.

as for the way to boot from a live CD ISO image this is the command syntax:

qemu -boot d -cdrom <your-iso-image.iso> -m <ram>

notice the <ram> parameter is used to tell qemu how much memory to dedicate to your guest system from the host System.

If you wish to use create a hard disk image and associate it with the qemu VM as well (useful when formatting the VM using the ISO) you can execute these two commands:

  1. First, create the hard disk image:

    qemu-img create <disk-image-name.img>

Pass in the your desired disk image name, and the size you want to allocate for it.

  1. Now we can use both Iso and Disk image to boot:

    qemu -boot d -cdrom <iso-image.iso> -m -hda <disk-image.img>

That would be it.