Hi Enrico,

> I read carefully the following document about CHS and LBA...
> http://www.ata-atapi.com/hiwchs.htm

> My guess...
> My guess 2...
> My guess 3...

There is really no need to guess here ;-).

Just read the rest of the code of

STATIC int LBA_Get_Drive_Parameters(
  int drive, struct DriveParamS *driveParam)

then you will find out that FIRST, FreeDOS
checks if you have LBA support, THEN it does
check whether the geometry is "plausible"
and whether the size is at most 2 Terabytes.
If this is NOT the case, or if LBA is not
supported by the BIOS at all, THEN FreeDOS
will fall back to using only CHS, which will
limit the accessible disk size to ca 8 GB or
(depending on your geometry and BIOS) less.

So the error message is a bit misleading but
FreeDOS can still handle up to 2 TB LBA :-).

Eric


PS: FAT32 can be up to 8 TB in theory, with
32 kB cluster size and 2^28 clusters, but
Win98 can only handle ca 16 mio clusters and
it cannot use LBA48, limiting it to 128 GB.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to