Gerry Reno schrieb:
Gerry Reno wrote:
Gerry Reno wrote:
Javier Guerra wrote:
On Tue, Mar 31, 2009 at 12:01 PM, Gerry Reno <gr...@verizon.net> wrote:
Charles Duffy wrote:
I put the xml stanza in the file and undefine/define domain but it gives an
error about cannot read image file.
<source file=/media/Fedora 10 DVD"/>
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?

don't put a mount dir, either use a ISO image, or the cdrom device file


Ok, a little closer now. I put this in xml file and redefine domain and it now defines:

<source file=/dev/sr0"/>
This was device that mount showed as mounting the DVD.

But when the domain boots and I select 3. CDROM from screen, it still shows the original boot error:
Boot Failure Code:  0003
Boot from CDROM failed:  cannot read the boot disk.
FATAL: No bootable device.
What should I change?

Here is what command looks like now using 'ps':
/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 -drive file=/dev/sr0,if=ide,media=cdrom,index=3 -net nic,macaddr=00:0c:29:e3:bc:ee,vlan=0 -net tap,fd=17,script=,vlan=0,ifname=vnet1 -serial none -parallel none -usb -vnc 127.0.0.1:1 -k en-us

And I try other disk type:
<disk type='block' device='cdrom'>
But that produces the same error.

What else can I add in order to boot from cdrom?

What does:

md5sum /dev/sr0

output?


--
Tomasz Chmielewski
http://wpkg.org

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to