home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / 21BTDK.FAX < prev    next >
Text File  |  1994-12-31  |  10KB  |  286 lines

  1. OSINBOOT - CREATING A BOOT DISK FOR OS/2 2.1
  2. 10/19/94
  3.  
  4. ================================================================
  5.         CREATING A BOOT DISK FOR OS/2 2.1
  6. ================================================================
  7.  
  8.  - Creating a single bootable diskette for OS/2 2.1
  9.  - Creating an OS/2 2.11 bootable diskette from the CSD XR6200
  10. ----------------------------------------------------------------
  11.  
  12. Please Read Entire Document for Full Explanation of Procedures.
  13. ----------------------------------------------------------------
  14.  
  15. The BOOTD21 program for OS/2 2.1 automatically creates a boot
  16. diskette using the Installation Diskette and Diskette 1. The
  17. BOOTD21.ZIP file is available on CompuServe, IBM PCC BBS, and
  18. other Bulletin Boards.
  19.  
  20. If you do not have access to these sources or do not have a
  21. modem, you can create a single boot diskette using the OS/2
  22. Installation Diskette, Diskette 1, and a blank formatted
  23. diskette.
  24.  
  25. PROCEDURE:
  26. ----------------------------------------------------------------
  27.  
  28. 1.  Copy file named SYSINSTX.COM from Installation Diskette to
  29.     the \OS2 subdirectory on your hard disk.
  30.  
  31. 2.  Make a temporary subdirectory on your hard disk called
  32.     BOOTOS2, and copy the files named KEYBOARD.DCP and
  33.     SYSINST1.EXE from OS/2 Diskette 1 to the newly created
  34.     BOOTOS2 subdirectory.
  35.  
  36. 3.  Prepare a blank diskette by placing it in the A:  drive,
  37.     and from an OS/2 command prompt, type:
  38.  
  39.                     SYSINSTX A:
  40.  
  41.     This transfers the necessary boot files to the diskette.
  42.     This is now the boot diskette.
  43.  
  44. 4.  Use following commands to show hidden system files on your
  45.     hard disk:
  46.  
  47.                     ATTRIB -S -H -R OS2KRNL
  48.                     ATTRIB -S -H -R OS2LDR
  49.                     ATTRIB -S -H -R OS2LDR.MSG
  50.  
  51.     These commands remove system, hidden, and read-only
  52.     bits from the OS2KRNL, OS2LDR, and OS2LDR.MSG files, so
  53.     they can be copied from disk to diskette.
  54.  
  55. 5.  Copy OS2KRNL, OS2LDR, and OS2LDR.MSG from the root directory
  56.     of your hard disk to your new boot diskette.
  57.  
  58.              Example:  COPY C:\OS2KRNL A:
  59.  
  60.     After copying all three files, place files back to their
  61.     original state, on the hard disk, using ATTRIB command:
  62.  
  63.                     ATTRIB +S +H +R OS2KRNL
  64.                     ATTRIB +S +H +R OS2LDR
  65.                     ATTRIB +S +H +R OS2LDR.MSG
  66.  
  67. 6.  Copy files named KEYBOARD.DCP and SYSINST1.EXE from \BOOTOS2
  68.     subdirectory on your hard disk to the boot diskette.
  69.  
  70.           Example:  COPY C:\BOOTOS2\KEYBOARD.DCP A:
  71.  
  72. 7.  Copy following files from the \OS2\DLL subdirectory to your
  73.     boot diskette:
  74.  
  75.                      ANSICALL.DLL
  76.                      DOSCALL1.DLL
  77.                      NLS.DLL
  78.                      NPXEMLTR.DLL
  79.                      BKSCALLS.DLL
  80.                      KBDCALLS.DLL
  81.                      OS2CHAR.DLL
  82.                      BMSCALLS.DLL
  83.                      MOUCALLS.DLL
  84.                      QUECALLS.DLL
  85.                      BVHINIT.DLL
  86.                      MSG.DLL
  87.                      SESMGR.DLL
  88.                      BVSCALLS.DLL
  89.                      NAMPIPES.DLL
  90.                      VIOCALLS.DLL
  91.  
  92. 8.  Copy files named HARDERR.EXE and COUNTRY.SYS from \OS2\SYSTEM
  93.     subdirectory to the boot diskette.
  94.  
  95. 9.  Copy file named SYSLEVEL.OS2 from the \OS2\INSTALL
  96.     subdirectory to the boot diskette.
  97.  
  98. 10. Copy files named CMD.EXE, DOS.SYS, IBMINT13.I13, and
  99.     OS2DASD.DMD from \OS2 subdirectory on your hard disk to
  100.     boot diskette.  If you are using HPFS, also copy the file
  101.     named HPFS.IFS.
  102.  
  103. 11. The remainder of files depend on type of machine you have:
  104.  
  105.     If you have an ISA-bus or EISA system, copy the following
  106.     files from the \OS2 subdirectory on the hard disk to the
  107.     boot diskette:
  108.                     CLOCK01.SYS
  109.                     KBD01.SYS
  110.                     PRINT01.SYS
  111.                     SCREEN01.SYS
  112.                     IBM1FLPY.ADD
  113.  
  114.     If you have a Microchannel bus system (IBM PS/2), copy
  115.     the following files from the \OS2 subdirectory on the
  116.     hard disk to the boot diskette:
  117.  
  118.                     CLOCK02.SYS
  119.                     KBD02.SYS
  120.                     PRINT02.SYS,
  121.                     SCREEN02.SYS
  122.                     IBM2FLPY.ADD.
  123.     For PS/2 system, create an ABIOS.SYS file on boot diskette by
  124.     typing from the command line:
  125.  
  126.                     ECHO . > A:\ABIOS.SYS
  127.  
  128. 12. The last file depends on whether or not you have a SCSI hard
  129.     drive in your system.  If so, you also need to copy
  130.     IBM2SCSI.ADD from the \OS2 subdirectory of the hard disk.  If
  131.     NOT, copy IBM1S506.ADD to boot diskette.
  132.  
  133. 13. After the necessary files are copied to boot diskette, you
  134.     must create a CONFIG.SYS file on diskette to include
  135.     the following statements:
  136.  
  137.                     IFS=HPFS.IFS /CACHE:64
  138.                     BUFFERS=32
  139.                     IOPL=YES
  140.                     MEMMAN=NOSWAP
  141.                     SET PROMPT $P$I$G
  142.                     PROTSHELL=SYSINST1.EXE
  143.                     SET OS2_SHELL=CMD.EXE
  144.                     DISKCACHE=64,LW
  145.                     PROTECTONLY=YES
  146.                     LIBPATH=.;\;
  147.                     PAUSEONERROR=NO
  148.                     CODEPAGE=850
  149.                     DEVINFO=SCR,EGA,\OS2\VTB850.DCP
  150.                     DEVINFO=KBD,US,KEYBOARD.DCP
  151.                     DEVICE=\DOS.SYS
  152.                     SET PATH=.;\
  153.                     SET DPATH=\;
  154.                     SET KEYS=ON
  155.                     BASEDEV=PRINT01.SYS     (or PRINT02.SYS)
  156.                     BASEDEV=IBM1FLPY.ADD    (or IBM2FLPY.ADD)
  157.                     BASEDEV=IBMINT13.I13
  158.                     BASEDEV=OS2DASD.DMD
  159.  
  160.    If you have a SCSI hard drive, add the following line:
  161.  
  162.                     BASEDEV=IBM2SCSI.ADD
  163.  
  164.    If you do NOT have a SCSI hard drive, add the following line:
  165.  
  166.                     BASEDEV=IBM1S506.ADD
  167.  
  168.    You now have a single boot diskette ready to use.  Shutdown
  169.    the system and insert boot diskette in the A: drive.  Restart
  170.    the system.  It is a good idea to copy CHKDSK.COM and
  171.    UHPFS.DLL (only if using HPFS) to blank diskette so you can
  172.    run CHKDSK if necessary.
  173.  
  174. ================================================================
  175. CREATING A 2.11 BOOTABLE DISKETTE FROM THE CSD XR6200
  176. ================================================================
  177.  
  178. It is recommended that you create bootable diskettes for the
  179. system prior to installing the Service Pack 1 (SP1).  These
  180. diskettes let you run system commands, such as CHKDSK, ATTRIB
  181. and others, if needed.
  182.  
  183. You can create OS/2 SP1 bootable diskettes two ways:
  184.  
  185. 1.  Use this method if you have not applied the SP1 to your
  186.     system or have applied the SP1 and can start from hard disk.
  187.  
  188.     A. Start OS/2 or any DOS version to access the ATTRIB and
  189.        DISKCOPY commands.  If machine is running, start from
  190.        the hard disk, and go to a command prompt.
  191.  
  192.     B. Make a DISKCOPY OF SP1 Diskette 1 and Diskette 2 by typing
  193.        the following command for each diskette:
  194.  
  195.                     DISKCOPY A:  A:
  196.  
  197.     C. Insert the copy of Diskette 2 and remove the read only
  198.        attribute from the CONFIG.SYS file.  Type:
  199.  
  200.                     ATTRIB A:\CONFIG.SYS -R
  201.  
  202.     D. Replace the following line in the CONFIG.SYS:
  203.  
  204.                     SET OS/2_SHELL=FSERVICE.EXE
  205.                               to
  206.                     SET OS2_SHELL=CMD.EXE
  207.  
  208.        This changes the shell statement in the CONFIG.SYS,
  209.        and lets you to start at the command prompt using the
  210.        SP1 Diskette 1 and the modified copy of SP1 Diskette 2.
  211.        At OS/2 A:  drive command prompt appears after starting
  212.        these two diskettes.
  213.  
  214. 2.  If you have already installed the SP1 on your system and
  215.     you cannot start from the hard disk:
  216.  
  217.     A. Start from the SP1 Diskette 1, and when prompted for
  218.        Diskette 2, insert OS/2 2.1 GA Diskette 1 instead.
  219.  
  220.     B. Press Esc at the Welcome Screen to go to a command prompt.
  221.  
  222.     C. The prompt states OS/2 2.1, but you can use 2.11 system
  223.        commands such as ATTRIB and DISKCOPY.
  224.  
  225.        NOTE: At this point you are using a mix level of code
  226.             (2.1 & 2.11), this is only a work around for using
  227.             the ATTRIB and DISKCOPY commands.  Other commands,
  228.             such as CHKDSK should not be run.
  229.  
  230. You should follow steps A-D, in "Creating a 2.11 Bootable
  231. Diskette from the CSD XR6200" to create boot diskettes.
  232.  
  233.  
  234. ================================================================
  235. CHKDSK Diskette (optional, but recommended)
  236. ================================================================
  237.  
  238. It is recommended you make an additional diskette to use to run
  239. CHKDSK when booting from the diskette drive.  You can do this
  240. after the SP1 is installed:
  241.  
  242. 1.  Insert a formatted diskette into the A: drive.
  243.  
  244. 2.  Copy OS/2 2.11 file CHKDSK.COM to diskette.  Type:
  245.  
  246.             COPY X:\OS2\CHKDSK.COM A:
  247.  
  248. 3.  Copy OS/2 2.11 file UHPFS.DLL to diskette.  Type:
  249.  
  250.             COPY  X:\OS2\DLL\UHPFS.DLL A:
  251.     NOTE:  X:  is your OS2 boot drive.
  252.  
  253. Insert this diskette into the A:  drive to run CHKDSK after
  254. starting from the 2.11 boot diskettes.
  255.  
  256.  
  257. ======================  Trouble Shooting  ======================
  258.  
  259. HPFS DRIVE ACCESS
  260.   When you cannot access an HPFS partition on the hard disk and
  261.   are prompted to run CHKDSK, follow the steps in 2-A above and
  262.   use the optional CHKDSK diskette above.
  263.  
  264. ERROR MESSAGE
  265.   The name specified is not recognized as an internal or
  266.   external command.
  267.  
  268.   This error message occurs when the command file is not
  269.   present in the current directory or any of the path defined
  270.   directories.  For example, if from the A: prompt, ATTRIB
  271.   CONFIG.SYS -R gave this error, the system cannot find the
  272.   ATTRIB command or the CONFIG.SYS file.
  273.  
  274.   To correct this error you need to include a path to where the
  275.   command could be found or make sure the file the command is
  276.   acting upon is located on the drive.
  277.  
  278. ERROR MESSAGE: SYS1210: You are using an incorrect version of
  279.   the operating system.
  280.  
  281.   This error indicates that the command file and the version
  282.   of the operating system running do not match.  You can
  283.   correct this by using the proper command file from the OS/2
  284.   version that is running.
  285.  
  286.