Problem:
Can't use 2gb hdd image fully, created with bochs bximage tool. Only 488 mb are available. Dos 6.22 or win95osr2 boot disk's fdisk sees only 488 mb.
Step:
C:\Program Files\Bochs-2.6.11>bximage
========================================================================
bximage
Disk Image Creation / Conversion / Resize and Commit Tool for Bochs
$Id: bximage.cc 13481 2018-03-30 21:04:04Z vruppert $
========================================================================
1. Create new floppy or hard disk image
2. Convert hard disk image to other format (mode)
3. Resize hard disk image
4. Commit 'undoable' redolog to base image
5. Disk image info
0. Quit
Please choose one [0] 1
Create image
Do you want to create a floppy disk image or a hard disk image?
Please type hd or fd. [hd]
What kind of image should I create?
Please type flat, sparse, growing, vpc or vmware4. [flat]
Choose the size of hard disk sectors.
Please type 512, 1024 or 4096. [512]
Enter the hard disk size in megabytes, between 10 and 8257535
[10] 2000
What should be the name of the image?
[c.img]
Creating hard disk image 'c.img' with CHS=4063/16/63 (sector size = 512)
[cpu]
core=dynamic
cycles=83500
cycleup=4000
cycledown=2000
[sdl]
output=opengl
fullresolution=1280x960
windowresolution=1280x960
fulldouble=true
[render]
scaler=none forced
aspect=true
[speaker]
tandy=off
disney=false
[joystick]
joysticktype=none
timed=false
[dosbox]
captures=..\captures\2
[autoexec]
imgmount A "E:\emu\dos_newme\!win95\boot95.img" -t floppy
imgmount 2 "E:\emu\dos_newme\!win95\c.img" -fs none -size 512,63,16,4063 -t hdd
boot "E:\emu\dos_newme\!win95\boot95.img"
a:
dir
exit
Expected:
FAT16 primary partition of size up to 2Gb can be created.
Actual:
FDISK reports 488 mb available.
Additional environment info:
Win 10 x64
DBGL folder has "compress" flags enabled, so image, dosbox, dbgl are all compressed on disk using NTFS compression feature in Win 10.
1023 is maximum cylinder count, so you need to increase head count.