qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peng Huang <shawn.p.huang@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] QEMU boot failed from harddisk: Could not read boot disk
Date: Wed, 29 Jul 2009 09:14:38 +0800	[thread overview]
Message-ID: <fb7465350907281814lc3c7064o444a0ada8bf894b9@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

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 \
    $*"

[-- Attachment #2: Type: text/html, Size: 1035 bytes --]

             reply	other threads:[~2009-07-29  1:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-29  1:14 Peng Huang [this message]
2009-07-29  7:41 ` [Qemu-devel] QEMU boot failed from harddisk: Could not read boot disk Rob Landley
2009-07-29  8:16   ` Igor Kovalenko
2009-07-29  9:08     ` Rob Landley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb7465350907281814lc3c7064o444a0ada8bf894b9@mail.gmail.com \
    --to=shawn.p.huang@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).