Program |
Location |
File |
|---|---|---|
| FDISK.EXE | C:\OS2 | ...... |
| FORMAT.COM | C:\OS2 | ...... |
| BootOS2 | Hobbes | bootos2.zip |
| LXLite | Hobbes | lxlt.zip |
The following instructions assume you have a working OS/2 installation on a machine.
Obtain and install the BootOS2 program using the following directory structure.
Obtain and install the LXLite compression program into the
C:\OS2\APPS\BootOS2 directory.
This is required to create a two diskette boot floppy set.
Compose the following two CMD files using the OS/2 System editor.
Compose the following two ASCII text files using the OS/2 System editor.
Save all of these files to the C:\OS2\APPS\BootOS2 directory.
Add C:\OS2\APPS\BootOS2 to the PATH line in your CONFIG.SYS file,
take care to include semi-colons ";" where required.
Shut down and re boot your machine so the updated PATH line is read.
Obtain any additional files mentioned in the fd_extras.txt and hd_extras.txt
such as InfoZip programs ZIP.EXE and UNZIP.EXE and place them in the
C:\OS2\APPS\BootOS2\BootOS2Src directory.
Have two 1.4 meg floppy disks available and execute the boot_fd.cmd file.
This will give you a set of boot floppies to use for the creation of the BootOS2
maintenance partition.
Shut down your system and reboot using the two floppy disks created in step 9.
( jump to post fdisk step 15 )
The above diagram illustrates a typical hard disk drive partition map
for creating a bootable maintenance partition.
Warning!!! the following procedures will destroy
ALL! data on your hard disk.
After booting from your BootOS2 floppy disks run fdisk
This will produce the fdisk screen.
Pressing the Tab key will highlight the first or only partition
of the selected physical disk drive.
Use the arrow cursor control keys to move to the last partition
if you have more than one partition defined.
Press Enter to open the Options menu as shown on the following screen.
This menu allows for all alterations to your disk partitions.
Make certain you have backed up all your existing partitions
as this step will remove all your data and
IT CAN NOT BE RECOVERED!!!
Select the Delete partition option from the menu and press enter.
Repeat step 4 for any remaining partitions until you have none remaining.
These steps are not required if you are setting up a new drive.
Your fdisk screen should now show only one free space occupying the entire disk.
Press enter to call the Options menu and select the
Install Boot Manager... option.
You will be prompted for the location of the Boot Manager partition.
Choose the Start of free space option.
Using the cursor keys select the free space again and press enter.
Select Create partition from the Options menu and press enter.
You will then be prompted for the size and type (Primary or Logical)
of the partition you wish to create.
You must create a Primary partition and from experience 700 megabytes
is a good choice.
Using the cursor keys select the partition you just created and press enter.
From the menu select the Add to Boot Manager menu... option
and press enter.
You will be prompted for a name for the partition. I usually use the name I give
the machine when setting up the LAN followed by _C. The choice is yours.
Repeat step 7 but select Logical rather than Primary when prompted.
I have found that 300 megabytes is a good size.
This is the "Maintenance" partition.
Add this partition to the boot manager menu as in step 8.
Repeat step nine to create further Logical partitions in the remainin free space.
Do not create any Primary partitions.
Finally, select the Primary partition, drive C, and using the Options menu
select the Set installable option.
You should now have an fdisk screen similar to the following...
This is the point of no return.
Press the F3 function key and confirm that you want
to write the partition data to your hard disk.
Once you do this you existing data is gone.
You will now see a message in red saying that the partiton table
has been altered and that Ctrl-Alt-Del is now required
to re-boot your machine.
Make sure you have removed the second BootOS2 disk from the floppy disk drive
and replaced the first disk as you must now boot off floppy disks again to format
the partitions you just created.
After re-booting run the following command...
FORMAT C: /FS:HPFS /L
This will perform a long format of your C partition
and is recommended as it does a check of each sector of your drive.
This will find and mark any bad sectors on your drive.
Repeat the format command for each of the partitions you have defined
replacing the "C:" in the command tail with the appropriate drive letter.
There is no need to re-boot between each format.
Once you have completed formatting ALL partitions on your drive
execute the following two commands...
SYSINSTX C:\
SYSINSTX D:\
This will make both C and D drives bootable.
It is roughly equivallent to running the DOS SYS C: and SYS D:
commands to make DOS disks bootable.
Replace the BootOS2 disk in your floppy disk drive with your
OS/2 installation diskette and re-boot your system.
Once the instalation starts answer YES when prompted to
install on drive C: and answer NO when prompted to format
the partition.
Install OS/2 as normally.
After you have installed OS/2 and done any configuration required
re-load the BootOS2 program as described above
Execute the boot_hd.cmd
This will create the bootable maintenance OS/2 system on your D: drive
Re-boot your system and select the maintenance partition
from your Boot Manager menu and you should see the IBM BootOS2
startup messages and eventually a D:\> prompt.
Congratulations! you have setup a bootable OS/2 maintenance partition.
Relatively painless wasn't it?
You can now use this boot to ZIP your C:\ drive to your E:\
as a backup and if you have any large capacity removable media
such as CD writers or ZIP drives you can copy this zip file to removable
media and keep your C:\ drive safe.
To repace a damaged C:\ drive simple re-format, run sysinstx C: and then
unzip the C:\ drive zip you created.
boot_fd.cmd
@ECHO OFF
CLS
BOOTOS2 SOURCE=C:\OS2\APPS\BootOS2\BootOS2Src\ 2DISK=A
REXX HELP VGA LX TEMP=C:\OS2\APPS\BootOS2\BOS2TEMP
FILE=C:\OS2\APPS\BootOS2\FD_EXTRAS.TXT FORMAT:FAT
CLS
boot_hd.cmd
@ECHO OFF
CLS
BOOTOS2 SOURCE=C:\OS2\APPS\BootOS2\BootOS2Src TARGET=D
REXX VDM VGA FILE=C:\OS2\APPS\BootOS2\HD_EXTRAS.TXT
TEMP=C:\OS2\APPS\BootOS2\BootOS2temp FORMAT:NONE
CLS
In the above two files the lines between the two CLS statements
should be on one line
not word wraped as shown above.
Back to introduction
fd_extras.txt
=C:\OS2\XCOPY.EXE
=C:\OS2\CACHE.EXE
=C:\OS2\FORMAT.COM
=C:\OS2\FDISK.COM
=C:\OS2\CHKDSK.COM
=C:\OS2\DISKCOPY.COM
=C:\OS2\MORE.COM
=C:\OS2\XDFCOPY.EXE
=C:\OS2\SYSINSTX.COM
=C:\OS2\APPS\BootOS2\BootOS2Src\LOADDSKF.EXE
=C:\OS2\APPS\BootOS2\BootOS2Src\ZIP.EXE
=C:\OS2\APPS\BootOS2\BootOS2Src\UNZIP.EXE
hd_extras.txt
=C:\OS2\XCOPY.EXE
=C:\OS2\CACHE.EXE
=C:\OS2\FORMAT.COM
=C:\OS2\FDISK.COM
=C:\OS2\CHKDSK.COM
=C:\OS2\DISKCOPY.COM
=C:\OS2\MORE.COM
=C:\OS2\XDFCOPY.EXE
=C:\OS2\SYSINSTX.COM
=C:\OS2\LOADDSKF.EXE
=C:\OS2\APPS\BootOS2\ZIP.EXE
=C:\OS2\APPS\BootOS2\UNZIP.EXE
=C:\OS2\APPS\BootOS2\BootOS2Src\REXX.DLL
=C:\OS2\APPS\BootOS2\BootOS2Src\REXXUTIL.DLL