From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVxki-0004RG-Fa for qemu-devel@nongnu.org; Tue, 28 Jul 2009 21:14:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVxke-0004QY-Tk for qemu-devel@nongnu.org; Tue, 28 Jul 2009 21:14:44 -0400 Received: from [199.232.76.173] (port=52922 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVxke-0004QV-OT for qemu-devel@nongnu.org; Tue, 28 Jul 2009 21:14:40 -0400 Received: from mail-pz0-f196.google.com ([209.85.222.196]:35423) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MVxke-0001W4-6h for qemu-devel@nongnu.org; Tue, 28 Jul 2009 21:14:40 -0400 Received: by pzk34 with SMTP id 34so262067pzk.4 for ; Tue, 28 Jul 2009 18:14:38 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 29 Jul 2009 09:14:38 +0800 Message-ID: From: Peng Huang Content-Type: multipart/alternative; boundary=0016e64ca5d23636fa046fcde9f1 Subject: [Qemu-devel] QEMU boot failed from harddisk: Could not read boot disk List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0016e64ca5d23636fa046fcde9f1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I just updated my qemu to git head version, and I found the qemu can not boot now, and the QEMU gives me message "Boot failed: could not read boot disk". And I also found if I put the line '-drive if=ide,index=0,media=disk,format=qcow2,file=winxp.qcow2' before 'drive if=ide,index=2,media=cdrom,file=$CDROM \', the boot will be OK. Below is my qemu start script. ===================== QEMU="/home/phuang/local/bin/qemu-system-x86_64 -enable-kvm" # QEMU="qemu-kvm" CDROM=/dev/cdrom1 ARGS=" \ -M pc -m 1G -smp 1 -name winxp \ -localtime \ -k en-us \ -boot cda \ -usbdevice tablet \ -soundhw es1370 \ -net nic,model=virtio,macaddr=54:52:00:14:35:9b,vlan=0 \ -net tap,vlan=0,ifname=tap1,script=qemu-ifup \ -drive if=ide,index=2,media=cdrom,file=$CDROM \ -drive if=ide,index=0,media=disk,format=qcow2,file=winxp.qcow2 \ $*" --0016e64ca5d23636fa046fcde9f1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,

I just updated my qemu to git head version, and I found the qemu= can not boot now, and the QEMU gives me message "Boot failed: could n= ot read boot disk". And I also found if I put the line '-drive if= =3Dide,index=3D0,media=3Ddisk,format=3Dqcow2,file=3Dwinxp.qcow2' before= 'drive if=3Dide,index=3D2,media=3Dcdrom,file=3D$CDROM \', the boot= will be OK.

Below is my qemu start script.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
QEMU=3D"/home/phuang/local/bin/qemu-sys= tem-x86_64 -enable-kvm"
# QEMU=3D"qemu-kvm"
CDROM=3D/d= ev/cdrom1
ARGS=3D" \
=C2=A0=C2=A0=C2=A0 -M pc -m 1G -smp 1 -name= winxp \
=C2=A0=C2=A0=C2=A0 -localtime \
=C2=A0=C2=A0=C2=A0 -k en-us \
=C2=A0= =C2=A0=C2=A0 -boot cda \
=C2=A0=C2=A0=C2=A0 -usbdevice tablet \
=C2= =A0=C2=A0=C2=A0 -soundhw es1370 \
=C2=A0=C2=A0=C2=A0 -net nic,model=3Dvi= rtio,macaddr=3D54:52:00:14:35:9b,vlan=3D0 \
=C2=A0=C2=A0=C2=A0 -net tap,= vlan=3D0,ifname=3Dtap1,script=3Dqemu-ifup \
=C2=A0=C2=A0=C2=A0 -drive if=3Dide,index=3D2,media=3Dcdrom,file=3D$CDROM \<= br>=C2=A0=C2=A0=C2=A0 -drive if=3Dide,index=3D0,media=3Ddisk,format=3Dqcow2= ,file=3Dwinxp.qcow2 \
=C2=A0=C2=A0=C2=A0 $*"

--0016e64ca5d23636fa046fcde9f1--