[alt.msdos.programmer] Running DOS and OS/2 on the same computer

chris@peregrine.peregrine.com (Chris Cole) (08/25/89)

I received a large number of replies to my query on running DOS
and OS/2 on the same computer, and on running DOS drivers under
OS/2.  Thanks to all that responded.  The two most complete
responses are listed below:

This is commonly called a dualboot utility, dually booting either
DOS or OS/2.

The Microsoft OS/2 1.00 kernel came with dualboot support built in. 
Microsoft OS/2 version 1.10 shipped to OEMs with a dualboot utility.
Note that it is a separate utility and not part of the kernel as in 
1.10. called dualboot. IBM OS/2 1.00 and 1.10 didn't have these.

There is a third party product called MultiBoot by Bolt Systems in
Canada. Look in PC Magazine or other popular magazines for more 
information. In [the defunct] PC Tech Journal, there was an article
in 1988 which showed how to dualboot OS/2 and DOS. I think that
there was an update to this article (for OS/2 1.10) in an issue 
at the beginning of 1989.

I've seen a DOS and Xenix "dualboot" program posted on a Unix
usenet newsgroup. It'd be nice to have something which boots
DOS, Xenix, or OS/2. Hope this helps.

You can't "force" OS/2 to recognize DOS device drivers; OS/2
will only accept a subset of DOS device drivers which will
meet it's criterion (I don't have these handy, sorry).
--
lee fisher, leefi@microsoft.com, {uw-beaver,sun,uunet}!microsoft!leefi


I just got a 386 system and here's my crude solution so far.
(Seems I read about a cleaner way of switching between DOS and OS/2
in a back issue of PC Tech Journal--I hope to dig through my back
issues this weekend.  And of course, you know there's a $40 program
out there that will do this for you.)

I installed MS DOS and used DEBUG to make a copy of the boot sector.
You probably know how to do this, but just in case:
DEBUG
L 100 2 0 1
RCX
200
NDOSBOOT
W
Q

Then I made copies of AUTOEXEC.BAT and CONFIG.SYS.

Then I installed OS/2.   Rebooting with a DOS floppy, I did the
same as above, but I called the file OS2BOOT.  I also made copies
of OS/2's AUTOEXEC.BAT and CONFIG.SYS.

Now I can switch between the two OS's by using DEBUG to rewrite the
boot sector, copying the correct versions of AUTOEXEC.BAT and
CONFIG.SYS, and rebooting.

I've done this on two different machines (286 clone and 386 clone)
and two different versions of DOS (3.3 and 4.01) and it seems to work.
In both cases, the OS/2 was genuine IBM 1.1.
Clearly, however, the process cries out for automation (a batch file,
if nothing else).

Mark Riordan  riordanmr@clvax1.cl.msu.edu