Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8UOR-00078o-N3 for qemu-devel@nongnu.org; Tue, 17 Jun 2008 02:10:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8UOQ-00078I-8d for qemu-devel@nongnu.org; Tue, 17 Jun 2008 02:10:11 -0400 Received: from [199.232.76.173] (port=58392 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8UOQ-00078F-3W for qemu-devel@nongnu.org; Tue, 17 Jun 2008 02:10:10 -0400 Received: from [88.255.235.9] (port=35772 helo=mailserver.ttmail.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8UOP-0006MD-Pr for qemu-devel@nongnu.org; Tue, 17 Jun 2008 02:10:10 -0400 From: Volkan YAZICI References: <874p7tinv3.fsf@alamut.mobiliz.com.tr> <1213619803.3810.8.camel@frecb07144> <87zlplh68t.fsf_-_@alamut.mobiliz.com.tr> <4856E263.1080103@codemonkey.ws> Date: Tue, 17 Jun 2008 09:09:56 +0300 In-Reply-To: <4856E263.1080103@codemonkey.ws> (Anthony Liguori's message of "Mon, 16 Jun 2008 17:00:03 -0500") Message-ID: <874p7svbgr.fsf_-_@alamut.mobiliz.com.tr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: Boot Failure (CDROM boot failure code : 0004) 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 Cc: Laurent Vivier On Mon, 16 Jun 2008, Anthony Liguori writes: > Volkan YAZICI wrote: >> root:~# dd bs=$[1024 * 32] \ >> > if=/dev/scd0 \ >> > of=/root/windows-server-2003-standard-x86-64-sp2.iso >> > > Your dd line is very suspect. Why are you using a block size of 32k? > The sector size of most CD-ROMs is 2k. I've certainly encountered my > fair share of CD-ROMS that were an odd multiple of 2k. dd will > silently truncate the ISO if the size is not a multiple of 32k. You seem to be right. See below command outputs. windows:~$ md5sum windows-server-2003-standard-x86-64-sp2.iso \ > >windows-server-2003-standard-x86-64-sp2.iso.md5sum root:~# dd bs=2048 if=/dev/scd0 of=/root/scd0.iso root:~# md5sum scd0.iso >scd0.iso.md5sum root:~# diff \ > /root/scd0.iso.md5sum > /home/windows/windows-server-2003-standard-x86-64-sp2.iso.md5sum 1c1 < b5d670b7360dc43af8157a50de43bac1 scd0.iso --- > cfcf3b24d9b44e75826259c9e914bf40 windows-server-2003-standard-x86-64-sp2.iso root:~# ls -lb \ > /home/windows/windows-server-2003-standard-x86-64-sp2.iso \ > /root/scd0.iso -rw-r--r-- 1 windows windows 4840085504 2008-06-13 17:54 /home/windows/windows-server-2003-standard-x86-64-sp2.iso -rw-r--r-- 1 root root 4840085504 2008-06-17 08:54 /root/scd0.iso But trying to start qemu with the scd0.iso didn't make any difference. Should I try with a different bs value? Regards.