VOGONS

Common searches


Can't mount disk image as hdd in DOSBox

Topic actions

  • This topic is locked. You cannot reply or edit posts.

First post, by weylyn1

User metadata
Rank Newbie
Rank
Newbie

Hi,

I'd like to install Windows 95 on plain DOSBox 0.74 and found a nice tutorial for it, but i stuck at mounting the hard drive image. In the tutorial there's this command: imgmount 2 c.img -size 512,63,16,812 -t hdd -fs none
For me, it looks like this: imgmount 2 .\DOS\c.img --size 1.073.479.680,4193280 -t hdd -fs none (disk size is 0,99 GB, created with Bochs' disk image creator). After typing in the command, i should see something like: Drive number 2 mounted as c.img., but i get The disk image must be on a local or network drive. if i don't put '2' into the command or put it to somewhere else (e.g. the end of the command or before -size), it warns me that an assigned drive number is needed.
What am i doing wrong?

Reply 1 of 7, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

This is not supported and even if you make it work it won’t work reliably.
Try DOSBox-X

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 7, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
weylyn1 wrote:

In the tutorial there's this command: imgmount 2 c.img -size 512,63,16,812 -t hdd -fs none
For me, it looks like this: imgmount 2 .\DOS\c.img --size 1.073.479.680,4193280 -t hdd -fs none (disk size is 0,99 GB, created with Bochs' disk image creator).

The "size" parameter is supposed to be four specific numbers separated by commas. See for instance http://www.dosbox.com/wiki/IMGMOUNT#Hard_disk_images . I have no idea why you are writing "--size 1.073.479.680,4193280".

Reply 3 of 7, by weylyn1

User metadata
Rank Newbie
Rank
Newbie
Jorpho wrote:
weylyn1 wrote:

In the tutorial there's this command: imgmount 2 c.img -size 512,63,16,812 -t hdd -fs none
For me, it looks like this: imgmount 2 .\DOS\c.img --size 1.073.479.680,4193280 -t hdd -fs none (disk size is 0,99 GB, created with Bochs' disk image creator).

The "size" parameter is supposed to be four specific numbers separated by commas. See for instance http://www.dosbox.com/wiki/IMGMOUNT#Hard_disk_images . I have no idea why you are writing "--size 1.073.479.680,4193280".

In the tutorial 812 is the cylinder count which is 4193280 for me.

Reply 4 of 7, by weylyn1

User metadata
Rank Newbie
Rank
Newbie
Dominus wrote:

This is not supported and even if you make it work it won’t work reliably.
Try DOSBox-X

Thanks, but where can i get the Windows binaries for DOSBox-X? All i could see is it's source code. And i don't know how to compile it under Windows. I don't either know what tools do i have to use for compiling it under Windows.

Reply 6 of 7, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
weylyn1 wrote:
Jorpho wrote:
weylyn1 wrote:

In the tutorial there's this command: imgmount 2 c.img -size 512,63,16,812 -t hdd -fs none
For me, it looks like this: imgmount 2 .\DOS\c.img --size 1.073.479.680,4193280 -t hdd -fs none (disk size is 0,99 GB, created with Bochs' disk image creator).

The "size" parameter is supposed to be four specific numbers separated by commas. See for instance http://www.dosbox.com/wiki/IMGMOUNT#Hard_disk_images . I have no idea why you are writing "--size 1.073.479.680,4193280".

In the tutorial 812 is the cylinder count which is 4193280 for me.

Look at the tutorial again. If a 400 MB image has a cylinder count of 812, why would a 990 MB image have a cylinder count of 4193280 ? And why are you writing "1.073.479.680" ?

Reply 7 of 7, by miker1111769

User metadata
Rank Newbie
Rank
Newbie
weylyn1 wrote on 2017-07-21, 19:32:
Hi, […]
Show full quote

Hi,

I'd like to install Windows 95 on plain DOSBox 0.74 and found a nice tutorial for it, but i stuck at mounting the hard drive image. In the tutorial there's this command: imgmount 2 c.img -size 512,63,16,812 -t hdd -fs none
For me, it looks like this: imgmount 2 .\DOS\c.img --size 1.073.479.680,4193280 -t hdd -fs none (disk size is 0,99 GB, created with Bochs' disk image creator). After typing in the command, i should see something like: Drive number 2 mounted as c.img., but i get The disk image must be on a local or network drive. if i don't put '2' into the command or put it to somewhere else (e.g. the end of the command or before -size), it warns me that an assigned drive number is needed.
What am i doing wrong?

I've beeen having issues with this for YEARS, keep in mind this is for Android DosBox.

if yout getting it must be on local or host error, crrate a directory with the image in it, Say directory F, put the image in it, mount F.

the imgmount G f:imgname.

commands in my settings below. this was an hdd image iI downloaded blank HDD Images from:

https://sites.google.com/site/dotalshoff/games/dosbox

Which also provides -size info.

heres my DosBox mount command, and this still needs work as D is mounted as the actual phone storage but F is the image. I just did this to copy DOS6.22,DOS7.1, and Win 3.11.

mount d: /mnt/sdcard/dos/f
d:
imgmount F "hddf.img" -size 512,63,64,1023 -t hdd -fs fat

Hope this helps someone out there, as I said YEARS trying to get this to work.