<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Thanks Aaron, i have only qemu-kvm not kvm. The issue was the image type is qcow2. When I changed it to the following I got pass that issue.<BR>
 <BR>
qemu-image create -f qcow2 $IMAGE 5 G<BR>
 <BR>
Howerve, I am not getting ISOLINUX 4.02 2010-07-21 ETCD Copyright (C) 1994-2010 H. Peter Anvin et al˙. <BR>
 <BR>
I have tried to boot with the same ISO on a different VM and it worked fined.<BR>
 <BR>
Not sure why. any ideas.<BR>
 <BR>
AK<BR>
 <BR>
 <BR>
<DIV>
<DIV id=SkyDrivePlaceholder></DIV>> Date: Mon, 22 Oct 2012 11:09:19 -0700<BR>> Subject: Re: [Openstack] QEMU Error<BR>> From: arosen@nicira.com<BR>> To: ak_misc@hotmail.com<BR>> CC: openstack@lists.launchpad.net<BR>> <BR>> The following should do the trick for you in order to create a new<BR>> disk and boot an iso using it :<BR>> <BR>> IMAGE=centos-6.2.img<BR>> qemu-img create -f raw $IMAGE 5G<BR>> sudo kvm -hda $IMAGE -m 512 -smp 2 -cdrom centos_installer.iso -boot c<BR>> <BR>> Aaron<BR>> <BR>> On Mon, Oct 22, 2012 at 8:36 AM, AK Sathiya <ak_misc@hotmail.com> wrote:<BR>> > All, i am a newbi to the openstack. I am trying to create a QCOW2 image from<BR>> > a Centos Linux installation iso and ran into the a road block. This is what<BR>> > I did so far (just followed the admin manual for Openstack).<BR>> ><BR>> > IMAGE=centos-6.2.img<BR>> > $ qemu-img create -f raw $IMAGE 5G<BR>> ><BR>> > VNCDISPLAY=:2<BR>> > $ MONITOR=/tmp/file.mon<BR>> > $ sudo /usr/libexec/qemu-kvm -m 1024 -drive file=${IMAGE},if=virtio,index=0<BR>> > \<BR>> > -boot c -net nic -net user -nographic -vnc ${VNCDISPLAY} \<BR>> > -monitor unix:${MONITOR},server,nowait<BR>> ><BR>> > I have the distribution iso on the local directory of the user.<BR>> ><BR>> > I got the following error. what am i missing here?<BR>> ><BR>> > qemu-kvm: -drive file=centos-6.2.img,if=virtio,index=0: could not open disk<BR>> > image centos-6.2.img:Operation not supported<BR>> ><BR>> > Any help is appreciated.<BR>> ><BR>> > AK<BR>> ><BR>> ><BR>> ><BR>> > _______________________________________________<BR>> > Mailing list: https://launchpad.net/~openstack<BR>> > Post to : openstack@lists.launchpad.net<BR>> > Unsubscribe : https://launchpad.net/~openstack<BR>> > More help : https://help.launchpad.net/ListHelp<BR>> ><BR></DIV>                                      </div></body>
</html>