From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTojF-0007eT-1p for qemu-devel@nongnu.org; Mon, 15 Nov 2004 16:49:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTojE-0007dz-9O for qemu-devel@nongnu.org; Mon, 15 Nov 2004 16:49:40 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTojE-0007dv-4E for qemu-devel@nongnu.org; Mon, 15 Nov 2004 16:49:40 -0500 Received: from [195.110.149.106] (helo=buzz.railnet.it) by monty-python.gnu.org with smtp (Exim 4.34) id 1CToaB-0004Ab-Gp for qemu-devel@nongnu.org; Mon, 15 Nov 2004 16:40:20 -0500 Message-ID: <4199223E.3040300@railnet.it> Date: Mon, 15 Nov 2004 22:40:14 +0100 From: ML MIME-Version: 1.0 Subject: Re: [Qemu-devel] whats up with QEMU and virtual disks? References: <41e41e7a04111513146259739a@mail.gmail.com> In-Reply-To: <41e41e7a04111513146259739a@mail.gmail.com> 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 Hi list! --- Hetz Ben Hamo said the following on 11/15/2004 10:14 PM: > Hi, > > Today I installed NT 4 server and XP Pro. > In both cases I used new virtual disk partitions (4GB, and 5GB respectivly).. Me too, I created a new 2GB virtual disk with qemu-img to make a fresh installation of XP Home. > As both OS's have 2 stages install, both run the first stage without > any problem (both of them were booted from their original CDs), > however, upon rebooting to the 2nd stage I had problems.. (on XP I had > the problem only after quitting qemu and restarting it).. Yep, same thing to me. > In NT 4 - after starting qemu (after finishing first stage install) it > refused to reboot. > in XP Pro - after restarting qemu (after fully finishing installing XP > Pro) it says that the NTLDR is missing.. I get a Disk I/O error instead. > in both cases, the only way to bypass this problem is by using the > -hdachs parameter.. > Why? what has changed that broke the normal behavior? how can it be fixed? My quick and dirty fix of commenting out the call to bdrv_set_geometry_hint in line 1898 of hw/ide.c doesn't appear to work anymore with the disk image newly created with the 0.6.1 version. However my older disk images, created with previous versions of Qemu, don't work with 0.6.1 (it says that NTLDR is missing) but, if I comment out the line as per above, everything goes back to normal behavior. Ciao, Piero