From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cwq0H-0002Gy-NQ for qemu-devel@nongnu.org; Thu, 03 Feb 2005 18:03:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cwq05-0002AP-GY for qemu-devel@nongnu.org; Thu, 03 Feb 2005 18:03:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cwq02-00025i-1o for qemu-devel@nongnu.org; Thu, 03 Feb 2005 18:02:58 -0500 Received: from [63.208.196.171] (helo=outbound.mailhop.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Cwpbo-0005Tx-8U for qemu-devel@nongnu.org; Thu, 03 Feb 2005 17:37:56 -0500 Received: from user-0cdvpct.cable.mindspring.com ([24.223.229.157] helo=mail.info9.net) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.42) id 1Cwpbl-00074o-RT for qemu-devel@nongnu.org; Thu, 03 Feb 2005 17:37:53 -0500 Received: from [10.9.7.5] (fred1.info9.net [10.9.7.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.info9.net (Postfix) with ESMTP id ACD0F7854F for ; Thu, 3 Feb 2005 16:38:06 -0600 (CST) Message-ID: <4202A7C0.7080105@info9.net> Date: Thu, 03 Feb 2005 16:37:52 -0600 From: Tom Marble MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Drive success FAT16, NTFS, failure with FAT32 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 Fabrice: I have been able to configure qemu (from CVS yesterday) to use the following drives: In each case I used bximage (interactively) to create the raw image files (which I left to the Windows installers to partition and format). I probably could/should have used qemu-img instead. FAT16 503 MB Type: 0x0e W95 FAT16 LBA Installed Windows 98 successfully NTFS 2000 MB Type: 0x07 HPFS/NTFS Installed Windows XP successfully I was unsuccessful, however, in creating FAT32 filesystems, even those < 512 MB. Using fdisk to set /dev/hda1 to type 0x0b WIN95 FAT32 and creating the filesystem with mkdosfs -F 32 did create a disk that was recognized by the Windows 98 installer. Windows complained about bad clusters. Using type 0x0c WIN95 FAT32 (LBA) and formatting the disk made the Windows 98 installer happy. However on the first reboot after installation the BIOS complained of a Disk I/O Error. Once it actually got farther and said Booting... but then just hung. I made various attempts at adding -hdachs arguments but none succeeded in making the FAT32 disk recognized. I have not looked at the code that examines the MBR or trys to mount the partition based on the type, but I suspect that's the next place to look. I have to say I am *very* impressed with qemu! In my debugging I tried to see if bochs would work with FAT32 -- and it didn't (same BIOS as qemu) -- but it ran much, much slower (probably the 4x slower people have mentioned). One can imagine using the bochs BIOS to debug ACPI and PXE related issues as well. Merci pour cet excellent logiciel! --Tom