VOGONS


First post, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

I use imgmake to create a 520MB hard drive with no file system in it.
Because I want to create 2 logical drives in it.
But when I try to imgmount it, like
imgmount c x:\hd\hd.img -size 512,63,16,1023 -fs none
dosbox doesn't accept it.
How can I mount a raw image drive onto dosbox?
Thanks
Jack

Reply 1 of 2, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

The answer is in the DOSBox readme.

        none: DOSBox will make no attempt to read the file system on the disk.
This is useful if you need to format it or if you want to boot
the disk using the BOOT command. When using the "none"
filesystem, you must specify the drive number (2 or 3,
where 2 = master, 3 = slave) rather than a drive letter.
For example, to mount a 70MB image as the slave drive device,
you would type (without the quotes):
"imgmount 3 d:\test.img -size 512,63,16,142 -fs none"
Compare this with a mount to be able to access the drive
within DOSBox, which would read as:
"imgmount e: d:\test.img -size 512,63,16,142"

Reply 2 of 2, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

Thanks, I can mount it now.