Creating a disk image using C/H/S values will require a number of calculations. Although the calculations below are based on a required size (in MB) the resulting disk image will by +/- 3.92 MB of the size required, as the image will be rounded up or down to the nearest cylinder. Assuming the standard Windows XP n/255/63 geometry (where n is the number of cylinders) will be used for the disk image -
E.g. to calculate the parameters for creating a disk image 1GB (1GB equals 1024MB) in size -
The above calculations are used for all of the methods covered in this guide (including superfloppy type images) to ensure that the disk images are compatible with Grub4dos and map without errors. An exception is a superfloppy disk image that may display an error if formatted using NTFS - see here.