First post, by vanfanel
- Rank
- Newbie
Hi there,
I'm trying to install ms-dos 6.22 to a virtual disk image on GNU/Linux.
I simply create the image file like this:
dd if=/dev/zero of=hdd.img bs=1M count=1024
Then mount it on DOSBOX as a physical disk (2nd IDE disk) like this:
imgmount 2 hdd.img -size 512,63,16,2080 -t hdd -fs none
..where 2080 is the number of cylinders, calculated as megabytes by 2.03125 (C = S * 2.03125)
(from https://www.linuxandubuntu.com/home/dosbox-pa … ual-hard-drive/)
However, DOS recogizes the disk as having 16MB only, instead of being able to create a primary partition extending to the full 1024MB.
With 512MB and 1040 cylinders, the full 512MB are partitioned by fdisk without any problem!
Do you guys know what is going on here? (Also tried dosbox-staging and it exhibits the same behavior..)