Has anyone had any luck creating images with mkfs.vfat and then mounting them in DOSBox?
So far I tried:
Code:
mkfs.vfat -C disk-image 4100
which mounts fine using the loop device, i.e.:
Code:
mount disk-image dos/ -t vfat -o loop
and I can read and write to it, mount/umount it, etc.
But when I try to mount in dosbox using:
Code:
imgmount c ~/disk-image -size 512,63,16,20
it tells me it has mounted, but then when I try to dir, it tells me:
Code:
File *.* not found.
and in the background it says:
Code:
No good partiton found in image.
Loaded image has no valid magicnumbers at the end!
I'm really unsure about the parameters I'm passing to the -size option. I've tried "512,63,16,20" and "512,63,32,255" and "512,63,16,255" and "512,63,255,255," none of which work. Any suggestions at all will be appreciated.