> >Lately, I've decided to give dosemu a try, however I don't have a dos
> >partition on my rather archaic system so I want to use an hdimage to
> >create a virtual dos filesystem. I'm aware of the 'mkhdimage' option,
> >however I haven't been able to get the syntax correct. I'd like to make
> >an hdimage file that's around 50 MB. Could someone tell me how to do this
> >without having a dos partition (but having plenty of access to DOS disks,
> >etc). Also, once this partition has been created, can it be formatted and
> >treated as if it were an actual filesystem? If this is possible, can Wabi
> >utilize it?
> You are going about it wrong. The HDimage utility is to make an image of a
> disk (floppy). What you need to do is make an image of a bootable disk, these
> images will usually be no larger than 1.44 Mb. In the AUTOEXEC you use the
> DOSemu utility to remap your local drives and use your existing filesystem.
> I have a directory off of root called DOS. When I fire up DOSemu I remap my
> booted disk to drive D: and map /DOS (linux filesystem) as drive C:
You can do mkhdimage -c xxx -h yy -s zzz >hdimage which then can be
copied to /var/lib/dosemu, next when dosemu is started from floppy,
fdisk c:/s, then (think) format c:. You can specify -c (cylinders) -h
(heads) -s (sectors) so you can have a drive capable of growing to a
certain size, in my case 540 MB. I haven't seen the size decrease when
files are deleted, although you see the difference in dosemu.
What I did for WABI was to setup a drive D: as /d:, in wabi I've added
for dosemu the command dos -dC so it goes to a VC, can't get graphics in
X to behave so far.
For the specific case mentioned, you can achieve it with a smaller
lredir to the dos partition, that's best.
... Sid Boyce...Amdahl(UK)...44-121 422 0375
Any opinions expressed above are mine and do not necessarily represent
the opinions or policies of Amdahl Corporation.