From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8MtU-0004KZ-JC for qemu-devel@nongnu.org; Mon, 16 Jun 2008 18:09:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8MtT-0004Jb-SG for qemu-devel@nongnu.org; Mon, 16 Jun 2008 18:09:44 -0400 Received: from [199.232.76.173] (port=36958 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8MtT-0004JS-OV for qemu-devel@nongnu.org; Mon, 16 Jun 2008 18:09:43 -0400 Received: from yw-out-1718.google.com ([74.125.46.155]:2916) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8MtR-00066C-Sj for qemu-devel@nongnu.org; Mon, 16 Jun 2008 18:09:42 -0400 Received: by yw-out-1718.google.com with SMTP id 6so3290916ywa.82 for ; Mon, 16 Jun 2008 15:09:35 -0700 (PDT) Message-ID: <4856E483.6000404@codemonkey.ws> Date: Mon, 16 Jun 2008 17:09:07 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Boot Failure (CDROM boot failure code : 0004) References: <874p7tinv3.fsf@alamut.mobiliz.com.tr> In-Reply-To: <874p7tinv3.fsf@alamut.mobiliz.com.tr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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