From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerry Reno Subject: Re: KVM-74: HELP PLEASE - cannot boot from cdrom for recovery Date: Tue, 31 Mar 2009 13:31:04 -0400 Message-ID: <49D25358.2030805@verizon.net> References: <49D22FAF.5060808@verizon.net> <49D23022.5060101@wpkg.org> <49D231D0.3040805@verizon.net> <49D23255.8090202@wpkg.org> <49D2345D.1060101@verizon.net> <49D23BBF.5020804@messageone.com> <49D23D03.8090607@verizon.net> <49D24C56.6040502@verizon.net> <90eb1dc70903311005l32c5d631j21dfdbd1f8339c4f@mail.gmail.com> <49D25151.90207@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from vms173009pub.verizon.net ([206.46.173.9]:56507 "EHLO vms173009pub.verizon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755891AbZCaRbM (ORCPT ); Tue, 31 Mar 2009 13:31:12 -0400 Received: from [192.168.2.100] ([72.91.189.24]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KHD0030WSNT3MN5@vms173009.mailsrvcs.net> for kvm@vger.kernel.org; Tue, 31 Mar 2009 12:31:05 -0500 (CDT) In-reply-to: <49D25151.90207@verizon.net> Sender: kvm-owner@vger.kernel.org List-ID: Gerry Reno wrote: > Javier Guerra wrote: >> On Tue, Mar 31, 2009 at 12:01 PM, Gerry Reno 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. >>> >>> 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: > > > 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 Regards, Gerry