Solved

Setboot command for DOS

Posted on 1997-06-02
12
338 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.
0
Comment
Question by:lest
  • 7
  • 3
  • 2
12 Comments
 

Expert Comment

by:lior
ID: 1805872
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.
0
 

Author Comment

by:lest
ID: 1805873
Edited text of question
0
 

Author Comment

by:lest
ID: 1805874
Edited text of question
0
 

Author Comment

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

Help me?
0
 
LVL 1

Expert Comment

by:grovedc
ID: 1805876
In order to use bootmanager you have to have OS/2 and DOS installed on different partitions.
0
 

Author Comment

by:lest
ID: 1805877
Edited text of question
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:lest
ID: 1805878
I want to change the OS/2 boot manager settings from the DOS partition.
0
 
LVL 1

Expert Comment

by:grovedc
ID: 1805879
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.
0
 

Author Comment

by:lest
ID: 1805880
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).
 
0
 
LVL 1

Expert Comment

by:grovedc
ID: 1805881
I still don't understand what you are trying to do or why.

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

Author Comment

by:lest
ID: 1805882
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.
0
 

Accepted Solution

by:
lior earned 200 total points
ID: 1805883
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.  
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now