home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / HARDDISK / BOOTM13.ZIP / BOOTMENU.DOC < prev    next >
Encoding:
Text File  |  1990-12-17  |  3.9 KB  |  94 lines

  1.  
  2.     BOOTMENU -- a BOOT sector program with a MENU
  3.     ---------------------------------------------
  4.         by Gordon W. Ross, Aug 1990
  5.  
  6.     This program is loaded by the PC ROM BIOS and is responsible
  7.     for selecting one of four partitions to boot from.  The normal
  8.     (MS-DOS) version of this program always boots the "active"
  9.     partition, but this version allows any partition to be
  10.     selected for booting, wether marked "active" or not.
  11.  
  12.     Two versions of this program are now distributed:
  13.  
  14.     BOOTMENU is small (less than 256 bytes of code) and compatible
  15.     with the SpeedStor hard disk formatting package.  (Note that
  16.     SpeedStor writes in several locations in the boot sector!)
  17.     This version, however, does not allow unattended reboots.
  18.     After BOOTMENU displays its partition menu, it waits
  19.     indefinitely for someone to select a boot partition.
  20.  
  21.     BOOTAUTO (previously called "boot-hdp") is a full-featured
  22.     boot program which allows boot-time partition selection, but
  23.     also provides a default selection which is used if no user
  24.     input arrives within five seconds.
  25.  
  26.     The behaviour of BOOTAUTO is as follows:
  27.  
  28.     BOOTAUTO displays the message:
  29.         Booting device: hd0,
  30.     and then pauses for a five second delay.
  31.  
  32.     If the user presses any key before the delay expires, a menu
  33.     of bootable partitions is displayed, and the user is prompted
  34.     for the number of the partition to boot from.  If no key is
  35.     pressed before the delay ends, the first partition marked as
  36.     "active" is used.  If no partition is marked as active, the
  37.     boot menu is presented without delay, as if a key were struck.
  38.     In essence, this program interprets the "active" mark (if
  39.     present) as a default choice indicator.
  40.  
  41.     Once a partition has been selected this program displays the
  42.     selected partition number and loads its secondary boot
  43.     program.  Errors are printed if (1) the selected partition is
  44.     empty, (2) the secondary boot program lacks a valid signature,
  45.     or (3) an error occurs while reading the secondary boot sector.
  46.  
  47.     Installation:
  48.     ------------
  49.     The "pfdisk" utility included with this program simplifies
  50.     installation of BOOTAUTO into the primary boot sector.
  51.     Instructions for using "pfdisk" are in the pfdisk.doc file.
  52.  
  53.     Limitations:
  54.     -----------
  55.     Names in the boot menu:
  56.  
  57.     BOOTMENU and BOOTAUTO contain a name table that is used to
  58.     generate the boot menu.  This name table is recognized (using
  59.     a signature) and updated by pfdisk but not by other fdisk
  60.     programs. If another fdisk program is used to modify the
  61.     partition table, the name table may be left with misleading
  62.     entries.  Note that pfdisk only updates the name field for any
  63.     entry when the entry is set using the optional name field, i.e:
  64.  
  65.         pfdisk> 1 4 0 127 MS-LOSS
  66.  
  67.     Furthermore, the name supplied as the fourth arg. is truncated
  68.     to eight characters.  (Space is tight in the boot sector.)
  69.  
  70.     The signature which flags the presence of a name table is
  71.     written into any boot sector every time the name argument is
  72.     given in a partition setting command (1,2,3,4).  This
  73.     signature occupies locations 0x1A0 -- 0x1AD which does not
  74.     clobber anything used by any of: UNIX or DOS boot programs,
  75.     SpeedStor or WesternDigital Auto-configuring controllers.
  76.  
  77.     Booting inactive partitions:
  78.  
  79.     MS-DOS will boot from an inactive partition without needing
  80.     any modifications.  Unfortunately, some systems refuse to boot
  81.     from a partition which is not marked as active.
  82.  
  83.     ESIX (from Everex Systems) Sys.V Rel.3.2 will not (as shipped)
  84.     boot unless its partition is marked active.  Other versions of
  85.     Sys.V/386 are similar in this regard.  The easiest solution is
  86.     to mark the UNIX partition as active, and use BOOTMENU to
  87.     offer you a choice between DOS and UNIX.
  88.  
  89.     If you wish, it is also possible to patch UNIX so that it will
  90.     boot without demanding that its partition be marked active.
  91.     These patches (called "esix-boot") are available from the
  92.     author.  Send EMAIL to gwr@linus.mitre.org if you want them.
  93.  
  94.