Skip to Content.
Sympa Menu

baslinux - Re: [BL] FreeDOS image that works with qemu (reprise)

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] FreeDOS image that works with qemu (reprise)
  • Date: Fri, 5 May 2006 04:33:35 +0000 (UTC)

On Fri, 5 May 2006 3aoo-cvfd AT dea.spamcon.org wrote:

sindi keesan wrote:

-------------------------
dd if=/dev/fd0 of=dos.img
-------------------------
This will produce a 1.47MB image, right?

It depends on the size of the floppy in /dev/fd0.
You will get a floppy image. If the floppy is
bootable, the image will be bootable.

Then activate qemu and do:
-----------------
qemu -fda dos.img
-----------------
This boots from a floppy disk image on hard drive?

It does a floppy-boot of dos.img. If dos.img is a
bootable floppy image, it will work. If dos.img is
not a bootable floppy image, it won't.

Since I can mount the DOS partition(s) I should be able to boot from a 720K DOS floppy boot disk with only the essentials on it, whatever file are called for by autoexec.bat and config.sys (doskey, himem.sys, maybe a CD-ROM driver). We had been trying to fit a few programs into that disk.


Can I make some image like the one I downloaded which
will boot with qemu dos.img from the hard drive?

You could use dd to make a HD image (just like you did
to made the FD image). The if= parameter is /dev/hda
(or b or c or d) instead of /dev/fd0. Please note you
do the entire HD, not just a partition. I suggest you
do this with a very old HD (80mb, 120mb) -- otherwise
you end up with a very large file.

No need for this if I can access the hard drive after booting.
I would rather run DOS from a non-booting partition so I can access it from linux (which I don't think I can do to the image file while qemu is using it).

I will try this after we replace the non-booting computer, or maybe it will boot again tomorrow.

Cheers,
Steven

-----------------------
BasicLinux mailing list
-----------------------
http://www.basiclinux.com.ru
http://www.ibiblio.org/pub/linux/distributions/baslinux/
------------------------------------
To exit, send subject=unsubscribe to
baslinux-request AT lists.ibiblio.org


keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




Archive powered by MHonArc 2.6.24.

Top of Page