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

Charles Duffy
2009-03-31T16:13:39Z

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/>