From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTsZA-0005fd-Dl for qemu-devel@nongnu.org; Mon, 15 Nov 2004 20:55:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTsZ9-0005er-4o for qemu-devel@nongnu.org; Mon, 15 Nov 2004 20:55:31 -0500 Received: from [129.104.30.34] (helo=mx1.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTsQG-0008G9-AX for qemu-devel@nongnu.org; Mon, 15 Nov 2004 20:46:20 -0500 Received: from localhost (localhost [127.0.0.1]) by djali.polytechnique.org (Postfix) with ESMTP id 60E8233183 for ; Tue, 16 Nov 2004 02:46:19 +0100 (CET) Received: from djali.polytechnique.org ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20925-04 for ; Tue, 16 Nov 2004 02:46:19 +0100 (CET) Received: from bellard.org (unknown [84.99.204.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id 1F6D933170 for ; Tue, 16 Nov 2004 02:46:19 +0100 (CET) Message-ID: <41995BF4.7020102@bellard.org> Date: Tue, 16 Nov 2004 02:46:28 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu-img documentation References: <41993485.6060704@bellard.org> <41e41e7a041115150417b7468d@mail.gmail.com> In-Reply-To: <41e41e7a041115150417b7468d@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; 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 Hetz Ben Hamo wrote: > Thats the problem, Fabrice.. > > I tried a fresh new virtual disks and new installation, and the > problem occured. Not old virtual disks (pre 0.6.x).. Try my last fix. The important fix is in hw/ide.c:ide_guess_geometry(). I think the problem is that after reboot when installing ide_guess_geometry() returns an invalid geometry because the BIOS translated geometry is stored in the MBR instead of the real hard disk geometry. For the desperate user, I added an option to manually specify the BIOS translation mode. Fabrice.