From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GzsCm-0006zq-SK for qemu-devel@nongnu.org; Thu, 28 Dec 2006 05:09:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GzsCj-0006yF-7s for qemu-devel@nongnu.org; Thu, 28 Dec 2006 05:09:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzsCh-0006xc-DI for qemu-devel@nongnu.org; Thu, 28 Dec 2006 05:09:40 -0500 Received: from [212.227.126.177] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GzsCb-0005is-Mg for qemu-devel@nongnu.org; Thu, 28 Dec 2006 05:09:34 -0500 Message-ID: <459397D8.5050800@mail.berlios.de> Date: Thu, 28 Dec 2006 11:09:28 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] boot a preinstalled winxp on linux/x86: writing a patch... References: <200612280213.11840.rpolli@babel.it> In-Reply-To: <200612280213.11840.rpolli@babel.it> Content-Type: text/plain; charset=ISO-8859-1 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, booting a preinstalled winxp fails because Windows XP crashs (sometimes you will see a bluescreen) and starts a reboot. It won't fail if the real hardware and QEMU's virtual hardware are nearly identical. Especially the chipset seams to be critical. /dev/hda1 is the first partition which is part of /dev/hda (whole disk), so there are no patches which can fix anything in QEMU here. You might extend QEMU to emulate your computer's hardware - then XP would run. But this is a lot of work... Regards Stefan Roberto Polli schrieb: > hi all, > > I tried to boot my preinstalled winxp with > # qemu -boot c -hda /dev/hda > > that's what happens: > - qemu load grub, and I select to boot winxp (grub says "chainloader > +1, then > boot") > - qemu starts to load winxp, with a winxp boot screen > - qemu fails and reboots > > it seems qemu stops loading winxp when /dev/hda "ends" and /dev/hda1 > starts. > > I could build a patch to fix it, but before start studing qemu source, > I'd > like to ear from you - yes, if it was easy you guru already would have > done > it! > > tia, > R.