All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bryan Stillwell <bryan@bokeoa.com>
To: Ged Haywood <ged@www2.jubileegroup.co.uk>
Cc: linux-msdos@vger.kernel.org
Subject: Re: files as harddrives?
Date: Tue, 22 Jul 2003 10:10:04 -0600	[thread overview]
Message-ID: <20030722161004.GA17887@bokeoa.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0307220957420.7046-100000@www2.jubileegroup.co.uk>

On Tue, Jul 22, 2003 at 10:01:33AM +0100, Ged Haywood wrote:
>On Mon, 21 Jul 2003, Bryan Stillwell wrote:
>> Anyone here have a filesystem image working as a harddrive under
>> dosemu with the latest stable version?
>
>I've never had any trouble with this, using 1.0.2 and 1.1.4-5 it
>seemed to work just as documented.  The image is an image of a DOS
>filesystem, I think I just used 'dd' to create it.  Eventually I
>stopped using it and just set up a directory in the Linux tree,
>I finkd that's more flexible but you have to think about filenames
>and permissions...

I've done this before and it works fine, but it won't work for what I'm
trying to do.  Perhaps referring to it as a "filesystem image" was
misleading.  It may be easier to think of it as a hard drive image
(actually compact flash image) with the boot sector and partition
information at the front of the file.  I then want to use ltools (dos
program) to read the linux filesystem located on partition 1 of the
file.  For ltools to work correctly in this situation, it must be able
to access the image as if it's a real hard drive within dosemu.

In bochs I was able to get it working with this line in the .bochsrc:

ata0-slave: type=disk, path="$HOME/freedos_drive/cflash.img", cylinders=496, heads=4, spt=32

I just want something similiar to work in dosemu...

Bryan

  reply	other threads:[~2003-07-22 16:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-21 21:40 files as harddrives? Bryan Stillwell
2003-07-22  9:01 ` Ged Haywood
2003-07-22 16:10   ` Bryan Stillwell [this message]
2003-07-22 16:54     ` Ged Haywood
  -- strict thread matches above, loose matches on Subject: below --
2003-07-22 16:37 Stas Sergeev
2003-07-22 16:59 ` Bryan Stillwell
2003-07-23 18:17 Stas Sergeev
2003-08-04 22:02 ` Bryan Stillwell
2003-08-05  3:26 Stas Sergeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030722161004.GA17887@bokeoa.com \
    --to=bryan@bokeoa.com \
    --cc=ged@www2.jubileegroup.co.uk \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.