TIP: Click on subject to list as thread! ANSI
echo: os2
to: Dave Davidson
from: Jonathan de Boyne Pollard
date: 1999-11-17 10:50:18
subject: More OS/2 Questions.....

 DD> AMD K6/2-350 10.3GB Seagate, all OS/2, with 96MB memory.  OS/2 only
 DD> see's 8.3GB of the drive so the other 2GB is wasted. 

I have a 8.49GiB (9.1GB) drive and OS/2 sees all of it just fine.  

The issue with drive sizes is a complex one, and I don't really have the time
to type in a full explanation here.  But here are two points that should start 
you going in the right direction:

þ The size limits on bootable partitions are imposed by the antiquated BIOS
API for accessing hard discs (which is, of course, the only way to access hard 
discs before an operating system has booted).  The absolute maximum size of
disc that is "visible" via the BIOS API is 1024 cylinders * 255 tracks * 63
sectors, which is around 7.84GiB (8.42GB).  All boot files and partitions for
all operating systems, or at least the portions of those operating systems
that are read before the operating system's own disc device drivers kick in,
must fit within the first 1024 cylinders.  

þ The consequence of the above is that one cannot partition a drive greater
than 7.84GiB into one big bootable partition.  One *has* to have a boot
partition, 7.84GiB in size, and at least one other partition consuming the
rest of the space.  The latter partition(s) will not be visible from DOS or at 
boot time (since they both use the BIOS API to access hard discs).  And this
is indeed pretty much how I have my drive set up (with the exception that I
have a 1 cylinder wide FAT boot partition, for reasons that I won't go into):

[C:\]partlist 1

Physical disc 1 (1109 cylinders, 255 heads, 63 sectors per track)

Contents of partition records in MBR at block 00000000
------------------------------------------------------
   Type                      Start    Length   start chs     end chs
   -- ---------------------- -------- -------- ------------- -------------
  *0a Boot Manager           0000003f 00003e82 (   0,  1, 1) (   0,254,63)
   07 OS/2 IFS (e.g. HPFS)   00003ec1 00fa867e (   1,  0, 1) (1022,254,63)
   05 Secondary MBR          00fac53f 001514d6 (1023,  0, 1) (1023,254,63)
   >> Only those cylinders up to 1023 are accessible to the BIOS
   >> End CHS values (1108,254,63) truncated at 1024th cylinder
   00 (Free)                 00000000 00000000 (   0,  0, 0) (   0,  0, 0)

Contents of partition records in MBR at block 00fac53f
------------------------------------------------------
   Type                      Start    Length   start chs     end chs
   -- ---------------------- -------- -------- ------------- -------------
  *01 12-bit FAT             00fac57e 00003e82 (1023,  1, 1) (1023,254,63)
   05 Secondary MBR          00fb0400 0014d615 (1023,254,63) (1023,254,63)
   >> Inaccessible at boot time because of BIOS 1023 cylinder limit
   >> Start CHS values (1024,  0, 1) truncated at 1024th cylinder
   >> End CHS values (1108,254,63) truncated at 1024th cylinder
   >> Does not begin on a track boundary
   00 (Free)                 00fac53f 00000000 (   0,  0, 0) (   0,  0, 0)
   00 (Free)                 00fac53f 00000000 (   0,  0, 0) (   0,  0, 0)

Contents of partition records in MBR at block 00fb0400
------------------------------------------------------
   Type                      Start    Length   start chs     end chs
   -- ---------------------- -------- -------- ------------- -------------
  *07 OS/2 IFS (e.g. HPFS)   00fb043f 0014d5d6 (1023,254,63) (1023,254,63)
   >> Inaccessible at boot time because of BIOS 1023 cylinder limit
   >> Start CHS values (1024,  1, 1) truncated at 1024th cylinder
   >> End CHS values (1108,254,63) truncated at 1024th cylinder
   >> Does not begin on a track boundary
   00 (Free)                 00fb0400 00000000 (   0,  0, 0) (   0,  0, 0)
   00 (Free)                 00fb0400 00000000 (   0,  0, 0) (   0,  0, 0)
   00 (Free)                 00fb0400 00000000 (   0,  0, 0) (   0,  0, 0)

[C:\]

 ¯ JdeBP ®

--- FleetStreet 1.22 NR
114/477
143/1
* Origin: JdeBP's point, using Squish (2:257/609.3)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.