home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / bootfx.zip / README.TXT < prev   
Text File  |  1993-06-08  |  4KB  |  101 lines

  1. GetBoot and PutBoot, v1.0
  2.  
  3. Copyright 1993, Matthew J. Palcic (Team OS/2)
  4. All rights reserved.
  5.  
  6. You are free to copy this software and distribute it to other users as
  7. long as the archive file is distributed in its entirety with this text
  8. file included in the archive.
  9. ---------------------------------------------------------------------------
  10.  
  11. GetBoot and PutBoot were written to transfer boot sectors from disks to
  12. files and from files to disks.  This is useful for users that inadvertently
  13. ran the DOS 'SYS' command and wiped out OS/2 boot information, or for users
  14. who installed MS-DOS 6.0 over their OS/2 installation.
  15.  
  16. Syntax is available by running the programs without any parameters on
  17. the command line.
  18.  
  19. If you only ran the 'SYS' command, but previously had Dual Boot working,
  20. and the AUTOEXEC.BAT and CONFIG.SYS files are still OS/2 versions,
  21. follow steps 2 through 4 below.  OS/2 should now boot.
  22.  
  23.  ******
  24.  
  25. The process to restore an OS/2 boot drive after installing MS-DOS 6.0:
  26.  
  27. (Note: This does not work while running OS/2, from either floppy or hard
  28. disk.)
  29.  
  30.   1. Run the GETSEC.EXE program to make a copy of the DOS boot sector
  31.      currently on your hard drive (the one DOS 6.0 made):
  32.  
  33.        GETSEC C: C:\OS2\SYSTEM\boot.dos
  34.  
  35.   2. Insert the 'OS/2 Installation' diskette in drive A:.
  36.  
  37.   3. Run the GETSEC.EXE program to read the boot sector from drive A:.
  38.  
  39.        GETSEC A: boot.os2
  40.  
  41.   4. Run the PUTSEC.EXE program to place the OS/2 boot sector on your
  42.      hard drive.
  43.  
  44.        PUTSEC boot.os2 C:
  45.  
  46.   5. Copy BOOT.DOS to the \OS2\SYSTEM directory if you didn't store the
  47.      file there in step 1 above.
  48.  
  49.   6. Copy the DOS versions of AUTOEXEC.BAT and CONFIG.SYS to the
  50.      \OS2\SYSTEM directory, but name them 'AUTOEXEC.DOS' and
  51.      'CONFIG.DOS'.
  52.  
  53.   7. Make the OS/2 versions of AUTOEXEC.BAT and CONFIG.SYS the current
  54.      files in the root, and be sure to name them 'AUTOEXEC.BAT' and
  55.      'CONFIG.SYS'.  If not, you will not have a proper OS/2 CONFIG.SYS
  56.      file and OS/2 will not boot.
  57.  
  58.      If your OS/2 CONFIG.SYS file is totally gone, you can at least get
  59.      back to the one that was created during the OS/2 installation
  60.      process by copying C:\OS2\INSTALL\CONFIG.SYS to the root directory.
  61.      Any changes you made to CONFIG.SYS are, of course, gone but you can
  62.      at least boot OS/2.  If your AUTOEXEC.BAT is gone, you're on your
  63.      own for that one.
  64.  
  65.   8. Run 'C:\OS2\BOOT /DOS' to switch to DOS mode.  (YOU MUST PERFORM
  66.      THIS STEP TO PLACE THE CORRECT FILES IN \OS2\SYSTEM.)
  67.  
  68.   9. Run 'C:\OS2\BOOT /OS2' to switch back to OS/2 mode.
  69.  
  70.   The above process makes OS/2 Dual Boot work even if Dual Boot didn't
  71.   work before you installed DOS 6.0 (i.e., pre-installed OS/2 machines).
  72.  
  73. Note: Be sure you don't leave a DOS version of COMMAND.COM in the root
  74.       of your boot drive. In your DOS CONFIG.SYS file you must have the
  75.       line:
  76.  
  77.          SHELL=C:\DOS\COMMAND.COM C:\DOS /P
  78.  
  79.       and in DOS AUTOEXEC.BAT you should have the line:
  80.  
  81.          SET COMSPEC=C:\DOS\COMMAND.COM
  82.  
  83.       Adjust C:\DOS to wherever you put your DOS files and be sure
  84.       COMMAND.COM is in that directory.  Then remove the COMMAND.COM
  85.       from the root.  Otherwise you might get 'Incorrect DOS version'
  86.       when you try to open a DOS box.
  87.  
  88.  
  89. ------------------------------------------------------------------------
  90. The author claims no responsibility for a drive becoming unusable or for
  91. loss of data.  The nature of this program is to modify an important part
  92. of the disk structure, and should be used only by someone who knows why
  93. they are using the program.  Back up data before using any utility that
  94. performs low-level disk operations.  Attempts have been made to be sure
  95. the program modifies the disk properly, but freak things do happen.
  96.  
  97. Matthew J. Palcic
  98. PO Box 1571
  99. Fairborn, OH  45324-1571
  100.  
  101.