Home | History | Annotate | Line # | Download | only in i386
prep revision 1.3.2.1
      1 First and foremost, before beginning the installation process, MAKE
      2 SURE YOU HAVE A RELIABLE BACKUP of any data on your hard disk that you
      3 wish to keep. Mistakes in partitioning your hard disk may lead
      4 to data loss.
      5 
      6 Before you begin, you should be aware of the geometry issues that may
      7 arise in relation to your hard disk.  First of all, you should know
      8 about sector size. You can count on this to be 512 bytes; other sizes
      9 are rare (and currently not supported). Of particular interest are
     10 the number of sectors per track, the number of tracks per cylinder
     11 (also known as the number of heads), and the number of cylinders.
     12 Together they describe the disk geometry.
     13 
     14 The BIOS has a limit of 1024 cylinders and 63 sectors per track for
     15 doing BIOS I/O. This is because of the old programming interface
     16 to the BIOS that restricts these values. Most of the big disks
     17 currently being used have more than 1024 real cylinders. Some have
     18 more than 63 sectors per track. Therefore, the BIOS can be instructed
     19 to use a fake geometry that accesses most of the disk and the fake
     20 geometry has less than or equal to 1024 cylinders and less than or
     21 equal to 63 sectors. This is possible because the disks can be
     22 addressed in a way that is not restricted to these values, and the
     23 BIOS can internally perform a translation. This can be activated
     24 in most modern BIOSes by using 'Large' or 'LBA' mode for the disk.
     25 
     26 NetBSD does not have the mentioned limitations with regard to the
     27 geometry. However, since the BIOS has to be used during startup,
     28 it is important to know about the geometry the BIOS uses. The
     29 NetBSD kernel should be on a part of the disk where it can be
     30 loaded using the BIOS, within the limitations of the BIOS
     31 geometry. The install program will check this for you, and
     32 will give you a chance to correct this if this is not the case.
     33 
     34 If you have not yet installed any other systems on the harddisk
     35 that you plan to install NetBSD on, or if you plan to use the
     36 disk entirely for NetBSD, you may wish to check your BIOS
     37 settings for the 'Large' or 'LBA' modes, and activate
     38 them for the harddisk in question. While they are not needed
     39 by NetBSD as such, doing so will remove the limitations mentioned
     40 above, and will avoid hassle should you wish to share the disk with
     41 other systems. Do NOT change these settings if you already have
     42 data on the disk that you want to preserve!
     43 
     44 In any case, it is wise to check your the BIOS settings for the
     45 harddisk geometry before beginning the installation, and write
     46 them down. While this should usually not be needed, it enables
     47 you to verify that the install program determines these values
     48 correctly.
     49 
     50 The geometry that the BIOS uses will be referred to as the "BIOS
     51 geometry", the geometry that NetBSD uses is the "real geometry".
     52 
     53 Sysinst will try to discover both the real geometry and BIOS
     54 geometry. If a Master Boot Record (MBR) has been written to
     55 your disk by DOS, Windows 95, NT, or another system, sysinst should
     56 have no trouble find the BIOS geometry. If the disk has not had a MBR
     57 written to it, it may be much more difficult to get the BIOS geometry.
     58 
     59 It is *important* that sysinst know the proper BIOS geometry to be able
     60 to get NetBSD to boot, regardless of where on your disk you put it.
     61 It is less of a concern if the disk is going to be used entirely for
     62 NetBSD.  If you intend to have several OSes on your disk, this becomes
     63 a much larger issue.
     64 
     65 Another issue with geometry is with SCSI disks.  The geometry reported
     66 by the disk often does not address all addressable sectors on the disk.
     67 sysinst will assist you if you want to choose a fake geometry for
     68 NetBSD to use so it can get access to more sectors.  This is not
     69 the same as the BIOS fake geometry.
     70