From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Chmielewski Subject: Re: KVM-74: HELP PLEASE - cannot boot from cdrom for recovery Date: Tue, 31 Mar 2009 20:05:05 +0200 Message-ID: <49D25B51.1010005@wpkg.org> 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> <49D25358.2030805@verizon.net> <49D25AD9.7020304@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Gerry Reno Return-path: Received: from mx03.syneticon.net ([78.111.66.105]:57745 "EHLO mx03.syneticon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751047AbZCaSFJ (ORCPT ); Tue, 31 Mar 2009 14:05:09 -0400 In-Reply-To: <49D25AD9.7020304@verizon.net> Sender: kvm-owner@vger.kernel.org List-ID: Gerry Reno schrieb: > Gerry Reno wrote: >> 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 >> > And I try other disk type: > > 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