In the "Reboot actions" dialog, you may tell &xshutdown; not to use its internal reboot routine, but any other executable, which you can can specify. The items you specify here will appear in the &xshutdown; confirmation window; if you specify something different than "Default" in that window, the command you have configured here will be executed instead of the normal &xshutdown; reboot function.

This is especially useful if you have the IBM Boot Manager installed, which comes with &os2;. The Boot Manager can be activated from the command line by using the SETBOOT command.

See the documentation in the &os2; Command Reference for details.

In &xshutdown;'s context, the "reboot to" function of this command can be handy. This function is accessed with the "/iba:<os>" option of SETBOOT, with "<os>" being the exact name of the operating system as it appears in the Boot Manager menu after system startup. By using this option, the system will reboot without showing the Boot Manager menu, but starting the specified partition directly.

For example, if you wish to boot to PC-DOS 7 directly, which carries the title "PC-DOS 7" in the Boot Manager menu, type at the command line:

setboot /iba:"PC-DOS 7"

Now, with this example, if you wish to make PC-DOS 7 a user reboot action of &xshutdown;, do the following:

  1. Press the "New" button.
  2. In the "Action description" field, enter whatever you wish to see in the &xshutdown; confirmation dialog (e.g. "PC-DOS 7").
  3. In the "Action command line" field, enter the command to execute, in this case:
    setboot /iba:"PC-DOS 7"
  4. Press "OK". The item will appear in the &xshutdown; confirmation dialog the next time you attempt to shut down your system.
Starting with V0.9.0, a "Partitions" button has been added to this dialog. This button is only enabled if a reboot action is selected in the list box on top; you might need to press the "New" button before the "Partitions" button becomes enabled. After pressing that button you will get a menu which shows you all the bootable partitions on your system. Note that this only works if you have the BootManager installed, since this will read in the partition tables directly and look for BootManager items. Now, if you select an item from that menu, the currently selected reboot action is updated with the proper title and command for SETBOOT.EXE. Important notes: