We help IT Professionals succeed at work.

Setboot command for DOS

lest
lest asked
on
Medium Priority
414 Views
Last Modified: 2013-12-27
The command setboot of os/2 doesn't work if I boot my computer with DOS operating system (I have a DOS and OS/2 partition).

I want to use the OS/2 boot manager, so the command 'boot /os2' is not what I am looking for.

Is there any execute command just as setboot could work in DOS environment to change my OS/2 boot manager system?

Please tell me.
Comment
Watch Question

Commented:
If you're in Dos or OS2 you can decide to boot into any operating system that is on your machine by doing the following command :   1 - CD\OS2
            2 - boot /dos (to boot in dos)
            3 - boot /os2 (to boot in os2)

This command works both in dos or os2
   


I hope this is what you were asking for.

Author

Commented:
Edited text of question

Author

Commented:
Edited text of question

Author

Commented:
I want to use the os2 boot manager. So, the command 'boot /os2' is not what I'm looking for.

Help me?

Commented:
In order to use bootmanager you have to have OS/2 and DOS installed on different partitions.

Author

Commented:
Edited text of question

Author

Commented:
I want to change the OS/2 boot manager settings from the DOS partition.

Commented:
You aren't making any sense.  

What does it mean to change boot manager settings from a partition?  If you mean when booted to DOS, no you can't change boot manager from DOS.

Author

Commented:
Grovedc,

OS/2 is installed on drive d. The command 'Setboot /IBD:C' reboot the computer, skip the OS/2 boot manager menu and boot drive C.

I want to do the same on drive C (DOS). So, I'm looking for a 'setboot' command for DOS (Setboot for DOS and not for OS/2).
 

Commented:
I still don't understand what you are trying to do or why.

You can use fdisk under DOS to set the active partition.

Author

Commented:
Why:

I write a application for Windows 3.11 and a application for os/2. The applications have to reboot to the other OS system. For OS/2, I use reboot command in the script. For Windows 3.11, I have no commmand.
Commented:
I got bad news for you...It's not possible, at least not with
SetBoot.  I went looking in the IBM BBS and in IBM archives that
I have access to and couldn't find anything that would do this.
I've thrown the question around to some ppl here who are more
then well versed in OS/2 and the general impression I got is
that it's just not possible to do.  I would recommend you ask
some windows/dos gurus if there is any utility that will allow
you to set the bootable drive to D instead of C.  To me, with
my knowledge of DOS and WINDOWS I would say right out that I
don't think that is possible either.  
-----
I'm gonna keep a look out to see if I can find such a utility
and I'll see if I can contact some contacts in the os/2
support group and see if they know of anything.  

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.