qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Boot Failure (CDROM boot failure code : 0004)
Date: Mon, 16 Jun 2008 17:09:07 -0500	[thread overview]
Message-ID: <4856E483.6000404@codemonkey.ws> (raw)
In-Reply-To: <874p7tinv3.fsf@alamut.mobiliz.com.tr>

Volkan YAZICI wrote:
> Hi,
>
> I'm trying to install Windows Server 2003 Standard (x86-64) on a
> machine which has AMD Turion 64 X2 processor. I compiled and installed
> the qemu from source tarball using below commands:
>
>   root:~# su - windows
>   windows:~$ mkdir qemu; cd qemu
>   windows:~/qemu$ wget http://bellard.org/qemu/qemu-0.9.1.tar.gz
>   windows:~/qemu$ tar -zxf qemu-0.9.1.tar.gz; cd qemu-0.9.1
>   windows:~/qemu/qemu-0.9.1$ ./configure --prefix=/home/windows/qemu
>   windows:~/qemu/qemu-0.9.1$ make && make install
>
> And then I create the appropriate disk images.
>
>   windows:~$ dd of=/home/windows/disk-raw-20g.img \
>   > bs=1024 seek=$[1024 * 1024 * 20] count=0
>   windows:~$ qemu/bin/qemu-img create -f qcow disk-qcow-20g.img 20G
>   windows:~$ qemu/bin/qemu-img create -f qcow2 disk-qcow2-20g.img 20G
>
> When I try to boot Windows Server ISO image
>
>   root:~# /home/windows/qemu/bin/qemu -boot d \
>   > -cdrom /home/windows/windows-server-2003-standard-x86-64-sp2.iso \
>   > -hda /home/windows/disk-qcow-20g.img \
>   > -localtime -m 512 -L /home/windows/qemu/share/qemu
>
> qemu complains that
>
>   QEMU BIOS - build: 02/08/07
>   $Revision: 1.174 $ $Date: 2006/10/17 16:48:05 $
>   Options: apmbios pcibios eltorito rombios32
>
>   ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (20480 MBytes)
>   ata1 master: QEMU CD-ROM ATAPI-4 Cd-Rom/Dvd-Rom
>
>   CDROM boot failure code : 0004
>   Boot from Cd-Rom failed
>   FATAL: Could not read the boot disk
>
> I also tried below combinations:
>
>   1. -cdrom /dev/scd0
>   

In theory, this should succeed, but I've experienced fickelness when 
installing Windows and using this sort of command.  I never have tracked 
it down because just dd'ing the ISO has always worked for me.  I assume 
some of the "host device" support in QEMU is too smart for its own good.

Regards,

Anthony Liguori

      parent reply	other threads:[~2008-06-16 22:09 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16 12:08 [Qemu-devel] Boot Failure (CDROM boot failure code : 0004) Volkan YAZICI
2008-06-16 12:36 ` Laurent Vivier
2008-06-16 13:14   ` [Qemu-devel] " Volkan YAZICI
2008-06-16 17:26     ` Jens Axboe
2008-06-16 17:41       ` Avi Kivity
2008-06-16 18:01         ` Jens Axboe
2008-06-16 17:43       ` Natalia Portillo
2008-06-16 17:49       ` Paul Brook
2008-06-16 18:00         ` Jens Axboe
2008-06-16 18:29           ` Avi Kivity
2008-06-17 18:29             ` Jens Axboe
2008-06-17  8:25           ` Brad Campbell
2008-06-16 17:46     ` Natalia Portillo
2008-06-17  5:33       ` Volkan YAZICI
2008-06-17 20:01         ` Natalia Portillo
2008-06-16 22:00     ` Anthony Liguori
2008-06-17  6:09       ` Volkan YAZICI
2008-06-17  8:06         ` Volkan YAZICI
2008-06-17 18:12           ` Anthony Liguori
2008-06-16 14:00 ` [Qemu-devel] " Avi Kivity
2008-06-17  6:40   ` [Qemu-devel] " Volkan YAZICI
2008-06-16 16:04 ` Sebastian Herbszt
2008-06-17  6:23   ` Volkan YAZICI
2008-06-17 13:59     ` Sebastian Herbszt
2008-06-17 14:36       ` Volkan YAZICI
2008-06-17 20:05         ` Natalia Portillo
2008-06-16 22:09 ` Anthony Liguori [this message]

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=4856E483.6000404@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --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).