Can you show the qemu-kvm command you are running?
On Tue, Oct 23, 2012 at 8:48 AM, AK Sathiya <[email protected]> wrote: > 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. > > qemu-image create -f qcow2 $IMAGE 5 G > > Howerve, I am not getting ISOLINUX 4.02 2010-07-21 ETCD Copyright (C) > 1994-2010 H. Peter Anvin et alÿ. > > I have tried to boot with the same ISO on a different VM and it worked > fined. > > Not sure why. any ideas. > > AK > > >> Date: Mon, 22 Oct 2012 11:09:19 -0700 >> Subject: Re: [Openstack] QEMU Error >> From: [email protected] >> To: [email protected] >> CC: [email protected] > >> >> The following should do the trick for you in order to create a new >> disk and boot an iso using it : >> >> IMAGE=centos-6.2.img >> qemu-img create -f raw $IMAGE 5G >> sudo kvm -hda $IMAGE -m 512 -smp 2 -cdrom centos_installer.iso -boot c >> >> Aaron >> >> On Mon, Oct 22, 2012 at 8:36 AM, AK Sathiya <[email protected]> wrote: >> > All, i am a newbi to the openstack. I am trying to create a QCOW2 image >> > from >> > a Centos Linux installation iso and ran into the a road block. This is >> > what >> > I did so far (just followed the admin manual for Openstack). >> > >> > IMAGE=centos-6.2.img >> > $ qemu-img create -f raw $IMAGE 5G >> > >> > VNCDISPLAY=:2 >> > $ MONITOR=/tmp/file.mon >> > $ sudo /usr/libexec/qemu-kvm -m 1024 -drive >> > file=${IMAGE},if=virtio,index=0 >> > \ >> > -boot c -net nic -net user -nographic -vnc ${VNCDISPLAY} \ >> > -monitor unix:${MONITOR},server,nowait >> > >> > I have the distribution iso on the local directory of the user. >> > >> > I got the following error. what am i missing here? >> > >> > qemu-kvm: -drive file=centos-6.2.img,if=virtio,index=0: could not open >> > disk >> > image centos-6.2.img:Operation not supported >> > >> > Any help is appreciated. >> > >> > AK >> > >> > >> > >> > _______________________________________________ >> > Mailing list: https://launchpad.net/~openstack >> > Post to : [email protected] >> > Unsubscribe : https://launchpad.net/~openstack >> > More help : https://help.launchpad.net/ListHelp >> > _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

