Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDbj3-0004br-Ic for qemu-devel@nongnu.org; Tue, 01 Jul 2008 05:00:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDbj1-0004ZP-O1 for qemu-devel@nongnu.org; Tue, 01 Jul 2008 05:00:37 -0400 Received: from [199.232.76.173] (port=37771 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDbj1-0004ZD-Gz for qemu-devel@nongnu.org; Tue, 01 Jul 2008 05:00:35 -0400 Received: from ra.siriusit.co.uk ([217.207.197.130]:38314) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KDbj0-0003Vh-Jh for qemu-devel@nongnu.org; Tue, 01 Jul 2008 05:00:35 -0400 Received: from [192.168.1.83] ([192.168.1.83]) by ra.siriusit.co.uk (8.13.3/8.13.3) with ESMTP id m6199XeF009843 for ; Tue, 1 Jul 2008 10:09:33 +0100 Message-ID: <4869F2D8.9020504@siriusit.co.uk> Date: Tue, 01 Jul 2008 10:03:20 +0100 From: Mark Cave-Ayland MIME-Version: 1.0 Subject: Re: [Qemu-devel] "A disk read error occurred" References: <478c82f00806281242q52a7fa55qcd458c9915e0c5a7@mail.gmail.com> <4867061B.2090309@qumranet.com> <20080630230542.GD20187@shareable.org> In-Reply-To: <20080630230542.GD20187@shareable.org> 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 Jamie Lokier wrote: > Also, sometimes when booting the BIOS can print a disk read error > message, and an appropriate -hdachs will fix it. I found that out > when rebooting Windows 2000 after installing it from CD (both in > QEMU), on a virtual disk 1GB in size. > > -- Jamie The message "A disk read error occurred" comes from the NT bootloader when it is unable to boot, typically caused by an incorrect drive geometry. It sounds as if you are experiencing a similar problem to the one I blogged about here: http://www.ilande.co.uk/index.php?/archives/6-Migrating-an-NT4-VM-from-VMWare-to-NT4-Part-1.html. In other words, in order to run an existing NT4 image under QEMU I had to halve the number of heads in the NTFS BPB in order for things to work properly. I suspect that this is a bug in either QEMU/BIOS, but I have no idea where to even start looking. HTH, Mark. -- Mark Cave-Ayland Sirius Corporation - The Open Source Experts http://www.siriusit.co.uk T: +44 870 608 0063