Skip to contentSkip to conversation

adding a drive

DISCUSSION Peter Jay Salzman 1 participant 1 message May 31, 2004

lore
Share & tools
lore
#0 lore raw

Hi there,

The concept of a built-in config file is confusing to me. Without any changes:

C: points to /usr/local/share/dosemu/freedos
D: points to $HOME

I'm unsure about how to add a new "drive" that points to /usr/local/dos, where I intend to install programs. I tried:

ln -s /usr/local/dos ~/.dosemu/drives/e

That didn't do anything.

Then in /etc/dosemu/dosemu.conf, I wrote:

$_hdimage = "/etc/dosemu/drives/*"

In /etc/dosemu/drives are the following links:

c -> /usr/local/share/dosemu/freedos/
e -> /usr/local/dos/

But now,

C: points to /usr/local/share/dosemu/freedos
D: points to $HOME
E: points to /usr/local/share/dosemu/freedos/
F: points to /usr/local/dos

which is good, but I'd rather not have dosemu/freedos repeated. If I remove /etc/dosemu/drives/c, then dosemu won't boot at all (it can't find an operating system).

So I found a way that works, but it duplicates a hard drive.

So what's the proper way of adding a drive to the system?

Thanks,
Pete