qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] QEMU boot failed from harddisk: Could not read boot disk
@ 2009-07-29  1:14 Peng Huang
  2009-07-29  7:41 ` Rob Landley
  0 siblings, 1 reply; 4+ messages in thread
From: Peng Huang @ 2009-07-29  1:14 UTC (permalink / raw)
  To: qemu-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] QEMU boot failed from harddisk: Could not read boot disk
  2009-07-29  1:14 [Qemu-devel] QEMU boot failed from harddisk: Could not read boot disk Peng Huang
@ 2009-07-29  7:41 ` Rob Landley
  2009-07-29  8:16   ` Igor Kovalenko
  0 siblings, 1 reply; 4+ messages in thread
From: Rob Landley @ 2009-07-29  7:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peng Huang

On Tuesday 28 July 2009 20:14:38 Peng Huang wrote:
> 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".

Yeah, the current qemu -git was broken by this commit:

9dfd7c7a00dd700de36ca58005a7cb3934a62efb is first bad commit
commit 9dfd7c7a00dd700de36ca58005a7cb3934a62efb
Author: Gerd Hoffmann <kraxel@redhat.com>
Date:   Wed Jul 22 16:43:04 2009 +0200

    switch -drive to QemuOpts.
    
    Demo QemuOpts in action ;)
    
    Implementing a alternative way to specify the filename should be
    just a few lines of code now once we decided how the cmd line syntax
    should look like.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

I found this out by attempting to install a Fedora 11 image this morning, 
with:

  qemu -m 512 -hda fedora-11.img -cdrom Fedora-11-i686-Live.iso -boot d

Current qemu can't do that.  The one before the above commit could.

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] QEMU boot failed from harddisk: Could not read boot disk
  2009-07-29  7:41 ` Rob Landley
@ 2009-07-29  8:16   ` Igor Kovalenko
  2009-07-29  9:08     ` Rob Landley
  0 siblings, 1 reply; 4+ messages in thread
From: Igor Kovalenko @ 2009-07-29  8:16 UTC (permalink / raw)
  To: Rob Landley; +Cc: Peng Huang, qemu-devel

On Wed, Jul 29, 2009 at 11:41 AM, Rob Landley<rob@landley.net> wrote:
> On Tuesday 28 July 2009 20:14:38 Peng Huang wrote:
>> 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".
>
> Yeah, the current qemu -git was broken by this commit:
>
> 9dfd7c7a00dd700de36ca58005a7cb3934a62efb is first bad commit
> commit 9dfd7c7a00dd700de36ca58005a7cb3934a62efb
> Author: Gerd Hoffmann <kraxel@redhat.com>
> Date:   Wed Jul 22 16:43:04 2009 +0200
>
>    switch -drive to QemuOpts.
>
>    Demo QemuOpts in action ;)
>
>    Implementing a alternative way to specify the filename should be
>    just a few lines of code now once we decided how the cmd line syntax
>    should look like.
>
>    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
>    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
>
> I found this out by attempting to install a Fedora 11 image this morning,
> with:
>
>  qemu -m 512 -hda fedora-11.img -cdrom Fedora-11-i686-Live.iso -boot d
>
> Current qemu can't do that.  The one before the above commit could.
>

Please check if the following patch fixes this issue:
http://lists.gnu.org/archive/html/qemu-devel/2009-07/msg02221.html

-- 
Kind regards,
Igor V. Kovalenko

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] QEMU boot failed from harddisk: Could not read boot disk
  2009-07-29  8:16   ` Igor Kovalenko
@ 2009-07-29  9:08     ` Rob Landley
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Landley @ 2009-07-29  9:08 UTC (permalink / raw)
  To: Igor Kovalenko; +Cc: Peng Huang, qemu-devel

On Wednesday 29 July 2009 03:16:58 Igor Kovalenko wrote:
> > I found this out by attempting to install a Fedora 11 image this morning,
> > with:
> >
> >  qemu -m 512 -hda fedora-11.img -cdrom Fedora-11-i686-Live.iso -boot d
> >
> > Current qemu can't do that.  The one before the above commit could.
>
> Please check if the following patch fixes this issue:
> http://lists.gnu.org/archive/html/qemu-devel/2009-07/msg02221.html

Yup, that fixed it for me.

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-29  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-29  1:14 [Qemu-devel] QEMU boot failed from harddisk: Could not read boot disk Peng Huang
2009-07-29  7:41 ` Rob Landley
2009-07-29  8:16   ` Igor Kovalenko
2009-07-29  9:08     ` Rob Landley

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).