Creating Installation Media for OS/2 2.11 on CD with ATAPI/IDE CD-ROM Support

= Introduction = This guide explains how to use the OS/2 2.11 diskettes to create an installation CD which can be used with a modern ATAPI/IDE CD-ROM drive.

It takes advantage of IBM’s updated OS/2 ATAPI/IDE drivers released in February 1995.

This process may also work with OS/2 2.1 with slight modifications (the contents of Diskette 1 for OS/2 2.1 are different to those on Diskette 1 for OS/2 2.11).

= Overview = This guide is split into five sections:


 * Requirements
 * Preparing the installation media
 * Installing from CD-ROM
 * Updating OS/2 2.11 after the installation
 * Installing MultiMedia Presentation Manager

= Requirements = You will need:
 * OS/2 2.11 Installation Diskette
 * OS/2 2.11 Diskette 1
 * OS/2 2.11 Diskette 8 (we need this later to reinstall CD-ROM support after installation)
 * A blank CD-R or CD-RW
 * A blank floppy disk (it’s not good practice to modify the original Diskette 1)
 * ATAPI.zip from the link below. This contains updated IDE and ATAPI drivers from a subsequent OS/2 2.11 Fixpak and which were also used with Warp: /

= Preparing the installation media =
 * 1) The original Diskette 1 should never be modified so make a copy of OS/2 2.11 Diskette 1 which will become our new Modified Diskette 1. You can do this from the command line as follows:


 * diskcopy a: b:


 * From hereon we will always be using the copy of Diskette 1 and which we will refer to as the Modified Diskette 1.

  In order to make space for the additional CD-ROM drivers on Diskette 1 we delete the following drivers on the Modified Diskette 1. These drivers are only required for genuine IBM PS/2 systems and which we therefore don’t need: 
 * ibm1s506.add (we replace this file later)
 * ibm2adsk.add
 * ibm2flpy.add
 * ibm2m57.add
 * ibm2scsi.add
 * os2dasd.dmd (we replace this file later)
 * os2scsi.dmd

  Now copy the following five files from the downloaded ATAPI.zip archive onto the Modified Diskette 1 : 
 * ibm1s506.add
 * ibmidecd.flt
 * os2cdrom.dmd
 * os2dasd.dmd
 * cdfs.ifs

  Use your favourite text editor to load config.sys on Modified Diskette 1 and prefix the four IBM2 driver lines with rem: 
 * rem basedev=ibm2adsk.add
 * rem basedev=ibm2flpy.add
 * rem basedev=ibm2m57.add
 * rem basedev=ibm2scsi.add

  Add the following lines to config.sys immediately after device=\testcfg.sys (this is based on a comparison of the OS/2 2.1 Diskette 1 for CD-ROM installation): 
 * set os2_shell=sysinst2.exe d:\
 * set saveconnect=1
 * set cdrominst=1
 * ifs=cdfs.ifs /q
 * basedev=ibmidecd.flt
 * device=\os2cdrom.dmd

<ol start="6" style="list-style-type: decimal;">  Make sure there's a CRLF at the end of the last line (i.e. the cursor should be at the beginning of the line immediately below DEVICE=\OS2CDROM.DMD) then save and close config.sys. </li>  Create a staging folder on your hard drive for the files that will be burned onto the CD-R (e.g. C:\OS2-prep) </li>  Copy the contents of each diskette into the following subfolder structure. This includes copying the contents of the original Diskette 1 because the installer will be looking for drivers that we had to delete from our modified disk to make room for the updated IDE and ATAPI drivers): </li></ol>
 * C:\OS2-prep
 * \OS2SE21
 * \DISK_0 (the Installation Diskette)
 * DISK_1 to DISK_13 (Diskettes 1-13)
 * \DISP_1 to DISP_3 (Display Driver Diskettes)
 * \PMDD_1 to PMDD_3 (Printer Driver Diskettes)
 * \MMPM (MultiMedia Presentation Manager)


 * The contents of the two MultiMedia Presentation Manager Diskettes should be copied into the root of the MMPM folder. There’s no need to separate them as MMPM Diskette 1 and MMPM Diskette 2.

<ol start="9" style="list-style-type: decimal;">  Create a file in the root of C:\OS2-prep called OS2SE20.SRC </li></ol>
 * (That filename is correct, it’s OS2SE20.SRC, not OS2SE21.SRC.)

<ol start="10" style="list-style-type: decimal;">  The contents of this file should be a single line as follows and then a CRLF (i.e. the cursor should end up at the beginning of an empty line 2): </li></ol>
 * \OS2SE21


 * That’s a single backslash followed by the name of the folder into which we've copied the contents of each Diskette.

<ol start="11" style="list-style-type: decimal;">  Burn the contents of C:\OS2-prep to a blank CD. The CD-ROM volume label doesn't matter. OS2SE21 should be the top-level folder of the CD so that it looks like this: </li></ol>
 * D:\OS2SE21\DISK_0

= Installing from CD-ROM = The installation from CD-ROM is fairly straightforward but there are a couple of gotchas:
 * We need to manually update the files installed to the hard drive before the first reboot
 * We need to (re)install CD-ROM support once OS/2 has finished installing

<ol start="12" style="list-style-type: decimal;">  Insert the Installation Diskette and start the system </li>  Swap to the Modified Diskette 1 when prompted </li>  There are now two scenarios depending on whether any drive partitioning is done or whether you’re installing to an existing partition with no changes being made: <ol style="list-style-type: lower-alpha;">  If you’re installing onto a completely blank drive, or if you used OS/2’s FDISK to repartition the drive then you’ll need to reinsert the Installation Diskette and reboot after the Preparing the Hard Disk screen. </li>  If you’re installing into an existing partition then the installation process will continue as normal starting with Loading System Files and then the Formatting options </li></ol> </li>  Regardless of whether any drive repartitioning was done It’s very important that you don’t immediately reboot at the big grey screen which says: </li></ol>


 * The hard disk preparation is complete. The next step will be OS/2 system configuration.

<ol start="16" style="list-style-type: decimal;">  Instead whilst you must remove the floppy disk from the drive (otherwise you'll continue to see a message telling you to do so) you should press Enter to reboot and then immediately reinsert the Installation Diskette to boot from that floppy disk again. This is because we need to recopy the new ATAPI/IDE driver files onto the hard disk because the OS/2 installation program has instead used the ones on the CD-ROM which were from the original Diskette 1 and which don’t include ATAPI/IDE CD-ROM support. </li></ol>


 * If we don’t do the following steps then it will initially appear to continue successfully but the installation program won’t find any programs to migrate later on, and the installer ultimately gets stuck at the Saving Settings screen and never completes.

<ol start="17" style="list-style-type: decimal;">  Insert the Modified Diskette 1 again when prompted and once you get to the Installation screen you should press [F3] to drop to an OS/2 Command Prompt. You should find yourself in D:\OS2SE21\DISK_1. </li>  Run the following commands (assuming you've installed OS/2 to Drive-C): </li></ol>


 * (Remember that on a UK keyboard you can get the backslash by pressing the [#]-key)


 * cd ..\disk_2
 * md c:\tools
 * copy unpack.exe c:\tools
 * cd ..\disk_8
 * copy attrib.* c:\tools
 * c:
 * cd \tools
 * unpack attrib (this unpacks the attrib command into c:\os2 by default)
 * cd \os2
 * attrib ibm1s506.add -r (removes the read-only attribute)
 * copy a:\ibm1s506.add
 * copy a:\ibmidecd.flt
 * copy a:\os2cdrom.dmd
 * exit

<ol start="19" style="list-style-type: decimal;">  Now remove the Modified Diskette 1 and reboot again with no floppy disk inserted </li> <li> The next screen will be the System Configuration screen where you select things like your country and keyboard layout. Leave &quot;CD-ROM Device Support&quot; as &quot;None&quot;. If you try changing this to “Other” at this point you still need to follow the post-installation steps below. Tick the box of anything else you want to change, then click on OK. </li> <li> Complete the rest of the installation as normal. </li></ol>

= Updating OS/2 2.11 after the installation = Now we need to remind OS/2 that we have an IDE CD-ROM drive. <ol start="22" style="list-style-type: decimal;"> <li> Go to OS/2 System &gt; System Setup &gt; Selective Install </li> <li> Tick CD-ROM Device Support then click OK </li> <li> Scroll down and select &quot;OTHER&quot; then click OK </li> <li> Click OK on the main Selective Install screen </li> <li> You're now asked if you want to add any additional elements, just click Install </li> <li> Insert the Modified Diskette 1 and then click on Change... in the &quot;Source Directory&quot; window </li> <li> Select A:\ and click on &quot;Set&quot; </li> <li> Click on &quot;Install...&quot; </li> <li> It’ll copy a few files from Modified Diskette 1 then you’ll be prompted to insert Diskette 8. This copies additional CD-ROM driver code across to OS/2 which is why it's not just enough to manually update config.sys without going through this process. </li> <li> Reboot even if you're not prompted </li> <li> At this point we still don't have the CD-ROM drive available so drop to an OS/2 Command Prompt and copy the following five files from the Modified Diskette 1 into C:\OS2, overwriting any files that may already exist: </li></ol>
 * cd \os2
 * copy a:\os2cdrom.dmd
 * exit

<ol start="33" style="list-style-type: decimal;"> <li> Reboot again and you should now have full CD-ROM support. You can verify this by going to OS/2 System &gt; Drives and you should see your CD-ROM drive. </li></ol>

= Installing MultiMedia Presentation Manager (MMPM) = MultiMedia Presentation Manager can be installed from the CD because we copied across the contents of the two MMPM diskettes to our CD prep folder.

<ol start="34" style="list-style-type: decimal;"> <li> Drop to an OS/2 Command Prompt and run the following: </li></ol>
 * d:
 * cd mmpm
 * minstall

<ol start="35" style="list-style-type: decimal;"> <li> Reboot once MMPM installation has completed successfully </li></ol>


 * All done!