First post, by Malvineous
- Rank
- Oldbie
Hi all,
Has anyone tried to mount real disk devices in DOSBox under Linux? I can't find any comments on the forum or Google so I'm wondering whether I am doing something wrong.
I am trying to mount a 4GB SD card (via a USB adapter) which appears on my system as /dev/sdd. I am trying to mount it like this:
imgmount 2 /dev/sdd -t hdd -fs none -size 512,63,16,7803
But that gives me the DOSBox error "To mount directories, use the MOUNT command, not the IMGMOUNT command." Weirdly I can "mount c /dev/sdd" and it doesn't give me an error, but running a "dir c:" command tells me "File *.* not found" (which would make sense, as /dev/sdd is a device file, not a folder.) I am hoping to boot real DOS and format/install it onto the SD card, for use in a real PC.
Is there a trick to mounting a raw device as a file? I'd like to avoid mounting a 4GB file instead, because then every time I want to make a change on the SD card I have to read 4GB off it and write 4GB back again which takes forever.