Maintenance Partitions (Revised)



By: Walter Metcalf
Date: 01/05/00

A maintenance partition is a very useful, bordering on essential, item to have on your hard drive, but all too few people seem to have one. Maintenance partitions have been of such useful service to me over the years that I wouldn't be without one.

What is a maintenance partition? A maintenance partition is a small bootable partition of your hard drive that contains a very minimal OS/2 system, preferably on a different physical drive from your main OS/2 system. (When I say minimal, I mean that 20 MB is more than enough hard drive space!) Its purpose is to perform maintenance, from a simple chkdsk to a full restore, on the main system. Neither of these functions can be performed while booted from the main system.

The purpose of this article is to show you how to make a maintenance partition, something you'll use time and again.

To do this you'll need the free program BootOS/2. BootOS/2 is a program written by IBM'er Ken Kahn and released as freeware under the IBM EWS (employee-written software) program and designed to make bootable diskettes or partitions that are customized to your hardware and software. Most of the files it uses are copied directly from your boot drive. However, some are taken from your system CD, and a few are contained in the BootOS/2 package itself. As mentioned earlier, it produces a very small OS/2 system--one that will comfortably fit on any hard drive. It also has a great many parameters to allow you to further customize your partition.1

The first step is to download BootOS/2. Next create a new directory, and unzip BootOS/2 into it. You should spend a few minutes looking over the documentation (BootOS2.doc), esp. the discussion of the parameters. Even if you don't understand everything, it'll give you a feel for what the program can do should you wish to customize your maintenance partition later.

The steps in creating a maintenance partition are:

  1. Using Partition Magic (3.05 or higher), if you have it installed, or FDISK or DFSee if you don't, examine your hard drive(s) and determine where you want to put it. If you have only one physical drive, it's simplest to put the maintenance partition at the end of the drive. If you have more than one physical drive, it's better not to put it on the same drive as your normal boot drive. On the other hand, putting it on the end of the last drive means you won't have to change any drive letters in your system (except for your cdrom). You decide which you prefer and which works out best in your system.

  2. (If you're going to use Fdisk, you MUST back up the complete physical drive on which you're going to make the partition because the following procedure will destroy all existing data!) Using Partition Magic or FDisk to create some free space at the desired location by resizing (and possibly moving) existing partition(s)--25-30 MB is plenty. Create the partition--and this is important--add it to the Boot Manager and give it a name. Shutdown and restart your system.

  3. If you've used Fdisk, then reformat the existing partitions in the original formats and restore the files you backed up in step 2 to the original existing partitions. This step is NOT necessary if you've used Partition Magic 3.0. (BTW, I have no relationship to PowerQuest, the manufacturer of Partition Magic.)

  4. Now you need to use BootOS/2 to actually create the maintenance partition. To run BootOS/2 put your OS/2 Warp CD in your cdrom drive. To create the simplest possible maintenance partition, type:

    BOOTOS2  SOURCE=x:\OS2IMAGE  TARGET=m  FORMAT:HPFS

    where x is your cdrom drive and m is the maintenance partition drive letter.

    The FORMAT:HPFS parameter is necessary to avoid any problems with boot drives above 1024 cylinders. (You may format the partition as FAT if the entire partition fits under the 1024 cylinder boundary. Note: the specific location of this boundary will depend on your computer's hardware and the software installed thereon.)

Next Page > Customizing your Partition > Page 1 2

Walter Metcalf

Setting Up a LAN on Warp 4, Part 3

Notes

1 It should be noted that although IBM discontinued the EWS program long ago, Mr. Kahn continues to update BootOS/2 regularly, and evens responds to email questions. Thanks Ken!


Disclaimer: All links in this article are checked at time of writing to ensure validity. However due to the nature of the Internet, some links may become invalid with the passage of time.


Unless otherwise noted, all content on this site is Copyright © 2004, VOICE