Re: KVM-74: HELP PLEASE - cannot boot from cdrom for recovery

Gerry Reno
2009-03-31T17:01:23Z

Charles Duffy wrote:
> Gerry Reno wrote:
>> Charles Duffy wrote:
>>> Gerry Reno wrote:
>>>>> What is GUI VMM?
>>>> virt-manager
>>>
>>> To get support for kvm proper here, you'll want to use ps to see the
>>> command line with which libvirtd is invoking kvm and provide that.
>>>
>> /usr/bin/qemu-kvm -S -M pc -m 512 -smp 2 -name MX_3 -monitor pty
>> -boot c -drive
>> file=/var/vm/vm1/qemu/images/MX_3/MX_3.img,if=ide,index=0,boot=on
>> -net nic,macaddr=00:0c:29:e3:bc:ee,vlan=0 -net
>> tap,fd=18,script=,vlan=0,ifname=vnet1 -serial none -parallel none
>> -usb -vnc 127.0.0.1:1 -k en-us
>
> -drive file=/path/to/your.iso,if=ide,index=1,media=cdrom
>
> or, in your XML:
>
> <disk type='file' device='cdrom'>
>
> <target dev='hdd' bus='ide'/>
> <readonly/>
> </disk>
>
I put the xml stanza in the file and undefine/define domain but it gives
an error about cannot read image file.

And I check this path and I can read all the files from the command line
on the DVD just fine.
What could be the problem?

Regards,
Gerry