From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DW2eB-0002CB-Ui for qemu-devel@nongnu.org; Wed, 11 May 2005 21:37:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DW2e3-00028o-62 for Qemu-devel@nongnu.org; Wed, 11 May 2005 21:37:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DW2e1-00020C-El for Qemu-devel@nongnu.org; Wed, 11 May 2005 21:37:45 -0400 Received: from [64.233.170.192] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DW2KU-0002YJ-8P for Qemu-devel@nongnu.org; Wed, 11 May 2005 21:17:34 -0400 Received: by rproxy.gmail.com with SMTP id z35so311693rne for ; Wed, 11 May 2005 18:10:48 -0700 (PDT) Message-ID: <41e41e7a05051118102668e1e5@mail.gmail.com> Date: Thu, 12 May 2005 03:10:48 +0200 From: Hetz Ben Hamo Subject: Re: [Qemu-devel] Old DOS under Qemu In-Reply-To: <000501c55689$3e137ce0$334d21d1@organiza3bfb0e> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <000501c55689$3e137ce0$334d21d1@organiza3bfb0e> Reply-To: Hetz Ben Hamo , 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 Cc: Qemu mailing list Hi Jeebs, I just read your mail and decided to try to do what you're doing, only I'm using Linux instead of Windows, and I'm using the CVS version. I have tried the following OS's: * IBM PC DOS 3.30 * MS DOS 5.0 * MS DOS 6.22 All of them are available freely (only the boot disks + some utilities like fdisk, format, you know - stuff that will let you create partitions, format and boot the system) at http://bootdisk.com I used winimage (through wine) to extract some of the compressed boot disks and create standard image floppies (so QEMU can boot from them). I only did it with IBM PC DOS 3.3 image. I created 2 GB hard disk (raw) with the command:=20 qemu-img create msdos.img 2G And I didn't use any special parameters when running QEMU. I used: qemu -fda -hda msdos.img -boot a All of the above OS's recognized the hard disk (although DOS 3.3 recognized 32MB of it, if I'm not mistaken). I used the fdisk version that came with each DOS to create 1 partition, format it with /s, and then restarted qemu but with -boot c - to boot from the hard drive. All of them worked perfectly. The only issue I had was with DOS 3.3 which didn't allow me to erase and/or use the DOS 6.22 partitions, so I re-created it with qemu-img. Mind you, I haven't really played inside (no himem.sys, no autoexec.bat, no config.sys - just a bare boot which asks for date & time). If you want, I can send you a bootable hard drive image with only the DOS boot (which means io.sys, msdos.sys, command.com) which boots perfectly with QEMU. The attachment size is about ~2MB. Thanks, Hetz