home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / FLEXBOOT.ZIP / FLEXBOOT.DOC next >
Text File  |  1990-10-14  |  12KB  |  261 lines

  1.     FlexBoot(TM) V0.9 - Boot any partition on a hard disk
  2.     Copyright Cowan Systems, 1990.  All rights reserved
  3.  
  4. FlexBoot will replace your master boot record, which also contains the
  5. partition table, with a new version which asks which partition you want to
  6. boot.  This installation procedure will let you customize the behavior of
  7. FlexBoot to your preferences.  You can specify which is the default partition
  8. to boot, how long FlexBoot should wait before booting the default, the names
  9. you prefer for each partition on the disk, and extra names for future systems
  10. you may install on the disk.
  11.  
  12. Warning to people with actual IBM machines: FlexBoot does not run ROM basic
  13. when no valid partitions are found on the disk, unlike the standard IBM boot
  14. program.
  15.  
  16. FlexBoot is shareware: you may try it out and copy it freely, but if you
  17. continue to use it, you should contribute so I can stay in business.  You are
  18. encouraged to contribute $20 US$ or C$ (C$ for Canadians only) to:
  19.  
  20.         Cowan Systems
  21.         6 Axford Bay
  22.         Port Moody, B.C., Canada
  23.         V3H 3R2
  24.  
  25. If you contribute $30, a return address, and a written non-disclosure agreement
  26. which I find acceptable, I will send you the source for FlexBoot.
  27.  
  28.  
  29. WARNING!
  30. --------
  31.  
  32. If your hard disk does not boot by the standard method wherein the ROM BIOS
  33. reads the first sector from the hard disk, and then that master boot record
  34. uses the ROM BIOS INT 13h to read a boot record from one of the partitions on
  35. the hard disk, then DO NOT attempt to use FlexBoot, it will not work!!!!!
  36.  
  37. If you are using some strange partitioning software on your hard disk which
  38. puts more than 4 main partitions on the disk (one of them can be an extended
  39. partition which contains other partitions), then FlexBoot may not work!  Use
  40. it at your own risk - I have NOT tried it in such circumstances!!!!
  41.  
  42. In any case, you should feel comfortable with what you are doing before trying
  43. to install FlexBoot - it was not designed to be foolproof!  Whatever you do,
  44. make sure you have a back-up floppy with which you can restore the boot record
  45. on the hard disk if things go wrong.  The FlexBoot install program can restore
  46. the original master boot record for you, but only if you can re-run it!
  47.  
  48. FlexBoot IS PROVIDED WITHOUT ANY WARRANTY OF ANY KIND!  USE IT AT YOUR OWN
  49. RISK!  If you don't like it, don't pay for it!  I and my friends have installed
  50. it on about 5 different machines and have had no problems, except that some
  51. versions of SCO UNIX clobber FlexBoot's master boot record when they install,
  52. so you have to re-install FlexBoot after installing UNIX.  So far I don't know
  53. anyone using SCSI disks so there may be problems in that area.
  54.  
  55.  
  56. Operation of FlexBoot Master Boot Record
  57. ----------------------------------------
  58.  
  59. FlexBoot scans the partition table and builds a list of partitions which could
  60. possibly be booted.  This list is output to the screen:
  61.  
  62.     FlexBoot: aaaa bbbb cccc? 
  63.     
  64. and FlexBoot waits for you to choose one of the partitions by typing the first
  65. letter of the partition name.  If you don't respond within the timeout period,
  66. FlexBoot will boot the default partition.  You can also press the <Enter> key
  67. while FlexBoot is waiting and it will boot the default partition immediately.
  68. The timeout period and the default partition can both be set with the install
  69. program.
  70.  
  71. FlexBoot contains a boot selection table which it uses to build the list of
  72. bootable partitions.  Any partition type which is not in the boot selection
  73. table is deemed to be not bootable.  The boot selection table contains five
  74. entries, so all partitions on your hard disk can be bootable if you wish.  The
  75. extra entry lets you put an extra partition type into the list in anticipation
  76. of installing another operating system in the future.  The install program will
  77. let you specify the contents of the boot selection table.
  78.  
  79.  
  80. Operation of FlexBoot install program
  81. -------------------------------------
  82.  
  83. FlexBoot can set up the partition table for many operating systems besides
  84. MS-DOS, but you must run FlexBoot from an MS-DOS system.  FlexBoot uses the
  85. ROM BIOS to read and write the disk partition table.
  86.  
  87. When you first run FlexBoot, it will greet you with a screen containing more
  88. or less the same information as the introduction above.  It will then ask if
  89. you want to continue:
  90.  
  91.     Push <Enter> to continue, anything else to quit...
  92.  
  93. If you push anything other than the <Enter> key (that is the main return/enter
  94. key, not the one on the keypad), the install program will quit.  Assuming you
  95. push <Enter>, the install program will then prompt you for the disk to set up.
  96. Normally, only the first hard disk drive (0) is bootable, but you may want to
  97. set up a second drive (1) which you will later change to being the first drive
  98. (perhaps on another computer).  The prompt is:
  99.  
  100.     Will set up disk drive 0, enter another number to change... 
  101.  
  102. Just push <Enter> to set up drive 0 or type the drive number to set up another
  103. drive.  FlexBoot will then read the master boot record/partition table and
  104. save it in a file.  If it has trouble reading the record, it will say:
  105.  
  106.     Unable to read master boot on drive %c, try another drive
  107.  
  108. and let you try another drive.  Break out if you don't want to retry.  If all
  109. is ok at this point, FlexBoot will save the original boot record in the file
  110. "ORIGBOOT.DRn" in the current directory, where n is the drive number (0 or 1
  111. usually).  If it cannot, it will quit with one of the messages:
  112.  
  113.     Can't save original boot record in origboot.drn, quitting
  114.  
  115.     File origboot.drn exists but does not contain a boot record
  116.  
  117. If the ORIGBOOT.DRn file already exists and its contents are different from the
  118. current master boot record, FlexBoot will ask if it is ok to overwrite it, or
  119. if you want to restore the master boot record to the file contents:
  120.  
  121.     File origboot.drn exists, overwrite (O) or restore (R) it? 
  122.  
  123. If FlexBoot recognizes the current master boot record as a FlexBoot version, it
  124. will instead ask:
  125.  
  126.     FlexBoot already installed, restore previous? 
  127.  
  128. If you don't want to continue at all at this point, press Ctrl-C or Ctrl-Break
  129. to quit the installation process.
  130.  
  131. If you decide to restore the old master boot record, and the partition table in
  132. the saved copy is not exactly the same as the partition table in the current
  133. master boot, FlexBoot will ask:
  134.  
  135.     Partition table in origboot.drn is not the same as master boot,
  136.     are you sure you want to restore it? 
  137.  
  138. Reply Y to do the restore anyway, anything else to go back to the overwrite or
  139. restore prompt.
  140.  
  141. If you are continuing with the installation at this point, FlexBoot will
  142. display the following information about the disk and the partition table.  IF
  143. THIS INFORMATION IS NOT CORRECT, DO NOT LET THE INSTALLATION COMPLETE!  Press
  144. Esc to quit.
  145.  
  146.     Disk n has nnn cylinders of nn tracks each with nn sectors/track
  147.  
  148.     Partitions:
  149.         #   Type     Start C,H,S    End C,H,S    Sectors
  150.  
  151.     Boot selection table will contain the following entries.  Please edit the
  152.     names to make the first letters unique (independent of case) and fill in the
  153.     00 entries if you want.  Hit <Enter> when done editing or <Esc> to quit.
  154.  
  155.     tt:name  tt:name  tt:name  tt:name  tt:name
  156.  
  157.     Known types are: 01:DOS2 02:Xenx 04:DOS3 06:DOS4 07:OS/2 40:Minx 63:Unix
  158.  
  159. (These names aren't strictly correct: type 01 is really 12-bit FAT which can be
  160. used for DOS2, DOS3 or DOS4; type 04 is 16-bit FAT limited to 32MB which can be
  161. used for DOS3, DOS4 or OS/2; type 06 is 16-bit FAT bigger than 32MB; type 07 is
  162. HPFS.)
  163.  
  164. The FlexBoot boot program matches entries in the boot selection table with the
  165. partition table at boot time, so you should try to set up the boot selection
  166. table for maximum flexibility in your situation.  If you have more than one
  167. partition of the same type, you can put multiple tt:name entries in the boot
  168. selection table with the same type (tt) field.  All name fields in the table
  169. must start with different letters.  For instance, if you have two type 06
  170. partitions, one of which contains OS/2 and the other DOS 4, you could put the
  171. following entries in the table:
  172.  
  173.     04:DOS4  04:OS/2
  174.  
  175. The first 04 entry will be used for the first 04 partition and the second for
  176. the second one, so make sure that the DOS partition comes before the OS/2 one
  177. in the partition table.  Even though there are only 4 partitions in the
  178. partition table, the boot selection table can contain up to 5 valid partition
  179. types.  You can use the extra type(s) to provide future flexibility to change
  180. the partitions on the disk without having to re-install FlexBoot, or you can
  181. just leave them at 00:unkn.
  182.  
  183. Use the <Tab>, <BackTab>, <Home>, <End>, <<->, <->>, <Del> and normal alpha and
  184. number keys for editing the boot selection table.  <Del> resets the current
  185. entry back to 00:unkn.
  186.  
  187. Once you have finished editing the boot selection table, press <Enter> to
  188. continue the installation process or <Esc> to abort it.  If you continue,
  189. FlexBoot will next prompt for the default partition:
  190.  
  191.     Enter default partition name 1st char or <Esc> to default to active: 
  192.  
  193. Choose one of the partitions by typing the 1st character of its name in the
  194. boot selection table, or press <Esc> to have FlexBoot default to the partition
  195. which is currently marked as the active one.  The next prompt is for the
  196. timeout before FlexBoot boots the default partition:
  197.  
  198.     How many seconds should FlexBoot wait before booting default (3): 
  199.  
  200. Usually 3 seconds is a reasonable timeout.  It provides enough time to enter
  201. the single character required to boot a partition other than the default one
  202. and it doesn't introduce too long a delay in the boot process when you want to
  203. boot without paying attention to the screen.  The next prompt controls whether
  204. or not FlexBoot will rewrite the master boot record to mark the just booted
  205. partition the active one:
  206.  
  207.     Should FlexBoot mark booted partition as active one? 
  208.  
  209. The default answer is No (N).  Note that some operating systems re-read the
  210. master boot record (rather than using the copy in memory which is passed to the
  211. partition boot record).  Those operating systems will not boot correctly with
  212. FlexBoot unless you let it rewrite the master boot record.  Some versions of
  213. Unix behave this way.  If you have told FlexBoot that the default partition is
  214. the active one, you may also want to have it change active partitions when you
  215. boot another partition.  That way the default partition becomes the last booted
  216. one.
  217.  
  218. Finally, FlexBoot will ask if you want to install the master boot program:
  219.  
  220.     Previous master boot record is in file %s, run FlexBoot again to
  221.     restore it.  To be safe ensure you have a bootable floppy disk and copy
  222.     %s to it before installing FlexBoot.  Ok to install? 
  223.  
  224. If you reply Y to the above prompt, you will be asked yet again to make sure
  225. that you haven't made a typing mistake:
  226.  
  227.     Last chance, are you SURE you want to install FlexBoot? 
  228.  
  229. If all goes well, you will then see:
  230.  
  231.     Master boot sector written successfully
  232.  
  233. and FlexBoot will quit.  If writing the master boot record doesn't work, you
  234. will instead see:
  235.  
  236.     Error writing master boot sector, disk is probably unbootable
  237.  
  238. Panic at this point!  Actually, you will have to restore the original boot
  239. record using some means other than FlexBoot - if FlexBoot can't write its own
  240. master boot record, it is unlikely it can restore the old one.  Of course if
  241. you are running some virus protection program which prevents writes to the
  242. master boot record, then the write operation will fail but nothing will really
  243. be wrong.
  244.  
  245. Other possible messages are:
  246.  
  247.     Last chance, are you SURE you want to restore old boot record? 
  248.  
  249.     Installation aborted
  250.  
  251.     FlexBoot boot program is invalid, unable to install
  252.  
  253.  
  254. Fixes and Bug Reports
  255. ---------------------
  256.  
  257. I will be happy to try to fix probems if you give me an intelligible problem
  258. report.  You may send it to my address above, or via the Internet to:
  259.  
  260.     Bruce_Cowan@CC.SFU.CA
  261.