home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / CLONBOOT.ZIP / READ.ME < prev   
Text File  |  1991-12-17  |  5KB  |  111 lines

  1.  
  2.             BOOT.BIN
  3.  
  4. Name:    BOOT.BIN
  5.  
  6. Author:    John Bridges is the author of GRASP, a fine graphics-based slide show/software
  7.      demo authoring and display application and can be reached on CompuServe 
  8.     under ID# 75300,2137.  He has gratiously agreed to contribute this utility as freeware.
  9.     
  10. Description:
  11.  
  12.     BOOT.BIN is a replacement for the OS/2 floppy diskette boot sector.  Its use will allow 
  13.     many clones to boot OS/2 from a 3.5" 1.44mb HD diskette in Drive A:
  14.  
  15. Compatibility:
  16.  
  17.     Tested on a Cheetah cAT 386 with Award v3.03 386 BIOS using OS/2 ver 1.3SE, 1.3EE,
  18.      OS/2 v2.0beta at levels 6.149 and 6F.167.  OS/2 Installation diskettes patched with the
  19.      replacement boot sector remain bootable on MicroChannel IBM PS/2s as well.  May
  20.      work for other BIOS versions and systems.
  21.  
  22. Files Included:
  23.  
  24.     BOOT.BIN     512bytes    09-24-91        modified boot sector
  25.     BOOT.ASM    2841        09-26-91        modified source code
  26.     OLDBOOT.BIN     512        09-23-91        IBM boot sector
  27.     OLDBOOT.ASM    2598        09-24-91        disassembled IBM source
  28.     READ.ME                        This file
  29.  
  30. Discussion:
  31.  
  32.     The BIOS used in many AT clone systems forces the diskette drive parameters for
  33.      Drive A: to be 15 sectors regardless of whether a 5.25" 1.2mb HD drive or 3.5" 1.44mb
  34.      HD drive is installed.  Even though settup may allow a 3.5" drive to be specified as
  35.      Drive A:, the system will still force the sectors to be 15.
  36.  
  37.     This is not a problem for DOS because code is included which patches the drive
  38.      parameters in memory while DOS loads.
  39.     
  40.     OS/2 does not include this 'correction' which is only applicable to clones since IBM
  41.      never made an AT with a 3.5" drive A:, and all PS/2s use the correct drive parameters.
  42.  
  43.     The most common result is that the OS/2 Installation diskette will begin loading OS/2,
  44.      then hang before the IBM logo screen is reached, often reporting the error message
  45.     "Sector not found".  This happens as OS/2 attempts to load sector 13 on the first track
  46.      of the diskette.
  47.  
  48.     The file BOOT.BIN is a complete replacement for the 3.5" HD diskette boot sector and
  49.      contains a short assembly language routine which patches the drive parameters.  In
  50.      order to keep the file length to 512 bytes (one sector), it was necessary to alter the
  51.      language (but not the function) of one of the boot error messages.
  52.  
  53.     This boot sector replacement is ONLY required to create an OS/2 bootable diskette.
  54.       Once OS/2 is installed it is not needed unless additional OS/2 boot diskettes are
  55.      desired, and these can be created via a simple DISKCOPY  of a patched boot
  56.      diskette.
  57.  
  58. Installing BOOT.BIN:
  59.  
  60.     Using a sector editor such as Norton's DISKEDIT.EXE, simply copy BOOT.BIN into
  61.     the first sector of the first cylinder on a formatted 3.5" HD diskette.  Below are detailed
  62.     "HOW TO" instructions using Norton Utilities ver 6.0 DISKEDIT as an example:
  63.  
  64.     Steps:
  65.  
  66.     1.  Using DOS, make a DISKCOPY of the OS/2 Installation diskette and label it OS/2 
  67.          Clone Installation Diskette.
  68.  
  69.     2.  Copy BOOT.BIN to a temporary subdirector.  (E:\temp in this example)
  70.  
  71.     Quick method using NU DISKEDIT:
  72.  
  73.     3a.  at a command prompt: diskedit e:\temp\boot.bin    {loads BOOT.BIN into editor}
  74.             enter following keystrokes at each prompt: Alt-W,p,enter,enter,enter,enter,Ctrl-Q.
  75.             
  76.     Detailed method:
  77.  
  78.     3b.  Start NU 6.0 and load the modified boot sector into memory:
  79.  
  80.         e:\nu6\diskedit e:\temp\boot.bin
  81.  
  82.     or     start DISKEDIT, Alt-F e:\temp\boot.bin {enter}
  83.     or    start DISKEDIT, Object, File, e:\temp\boot.bin {enter}
  84.  
  85.     4.  Select Tools, Write (or Alt-W or Alt-T-W) from the menu to bring up the 
  86.           Write Options dialog box.
  87.  
  88.     5.  Click on or enter P to select the Physical Sectors radio button option and click
  89.           on OK or press the enter key.
  90.  
  91.     6.  At the prompt "Select the physical drive to write object to" highlight the option
  92.          "Floppy drive A:" and click on OK or press the enter key.
  93.  
  94.     7.  Accept the default Physical sectors of "Cylinder 0, side 0, Sector 1" by clicking
  95.          on OK or pressing enter. 
  96.  
  97.     8.  At the "Warning!" prompt, be sure you are writing BOOT.BIN to Side 0, Cylinder 0,
  98.           Sector 1 on Floppy Drive A:.  If correct, click on OK or press enter.
  99.  
  100.     9.  All done!  quit diskedit by ALT-Q-Q or Ctrl-Q.
  101.  
  102. See if the OS/2 Clone Installation diskette will now boot in your drive A:.  If you still get a hang
  103. or install failure, you have a different problem not addressed by this patch.
  104.  
  105. **************
  106. Code contributed to the public domain by permission of John Bridges.
  107. This READ.ME written and included at John's request.
  108.  
  109. P. Eskildsen 12/91.
  110. **************
  111.