lorne schachter wrote:
> 
> I've got an interesting problem.  1 have a 2-disk system, 12G and 4G
> split as follows:
> 
>     cdrive - 8G Windows98 and 4G Linux
>     ddrive - 3G Windows98 and 1G Linux.
> The partition table is as follows (for the first drive)
> 
> partition 1 0 - 0 - 0 thru 1023-255-63
> partition 2 1023 - 0 - 0 thru 1023-255-63
> 
> Clearly, this information is bad, but it won't let me change it to more
> reasonable values.

Sorry, this information is NOT bad, it's simply that above 8G,
you CAN'T use cyl-head-track values to address the disk, so
the values above are not bad, they are simply meaningless ...

You can do the arithmetic yourself: 1023-255-63 is 0xffffff,
which is the absolute maximum you can put in the partition table
field (12 bits). This, multiplied by the sector size (512 bytes)
amounts to a little more than 8G. This is the absolute limit
for using cyl-head-trk values.

Fortunately, modern disks (and BIOS and OS's) use LBA (logical
block adressing) which is simply a 32-bit sector counter in
ANOTHER FIELD, and simply DON'T use cyl-head-trk values at all.


-- 
Jean-Louis Debert        [EMAIL PROTECTED]
74 Annemasse  France
old Linux fan

Reply via email to