VOGONS


First post, by howrad

User metadata
Rank Newbie
Rank
Newbie

I tried plugging a very old 540MB IDE HDD into a modern computer, and using WinImage to make an image file for DOSBox.

WinImage can see the contents of the drive just fine, but when I run

imgmount c "386d2.IMA" -t hdd -size 512,63,16,1020

This is the result

3P4ry5bg4ofj.png

What might I be doing wrong?

Reply 2 of 5, by howrad

User metadata
Rank Newbie
Rank
Newbie

Without -size, it says

Could not extract drive geometry from image.
Use parameter -size bps,spc,hpc,cyl to specify the geometry.

My source for the geometry is the sticker on the hard drive, which says:

Drive Parameters: 1048 cyl, 16 heads, 63 spt, 540.8MB

It's a Western Digital Caviar 2540. I do think it's formatted for 503MB instead of 540.8MB though.

Reply 4 of 5, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
howrad wrote:

but DOSBox is trying to load it as FAT32.

I don't think standard DOSBox even has support for FAT32. Anyway, as per the readme, you might need to specify "-fs fat".

Does WinImage tell you what geometry it detects for the image?

Reply 5 of 5, by howrad

User metadata
Rank Newbie
Rank
Newbie

I tried "-fs fat", with no change. When mounted, the second window in DOSBox says

Using partition 0 on drive; skipping 1684955424 sectors
Loaded image has no magicnumbers at the end!
Mounted FAT volume is FAT32 with 16842699 clusters

So I think it's trying to mount as FAT32.
Where do I go in WinImage to look at drive geometry? I can't seem to find it anywhere.