bootcfg default


bootcfg /default new in WS2003

Designates an OS entry as the default.

Syntax

 bootcfg /default /id   OSEntryLineNum   

Options

/id OSEntryLineNum

Specifies line number of OS entry that should be designated as default OS to boot from

Examples

Display current boot menu:

  bootcfg  Boot Loader Settings -------------------- timeout:30 default:multi(0)disk(0)rdisk(0)partition(1)\WINDOWS Boot Entries ------------ Boot entry ID:    1 OS Friendly Name: WS2003, Enterprise Path:             multi(0)disk(0)rdisk(0)partition(1)\WINDOWS OS Load Options:  /fastdetect /noguiboot Boot entry ID:    2 OS Friendly Name: WS2003 Enterprise Path:             multi(0)disk(0)rdisk(0)partition(2)\WINDOWS OS Load Options:  /fastdetect /noguiboot 

Note default OS listed in line 4. Now change default OS to boot entry 2:

  bootcfg /default /id 2  SUCCESS: Changed the default OS entry in the BOOT.INI. 

Verify the result:

  bootcfg  Boot Loader Settings -------------------- timeout:30 default:multi(0)disk(0)rdisk(0)partition(2)\WINDOWS Boot Entries ------------ Boot entry ID:    1 OS Friendly Name: WS2003 Enterprise Path:             multi(0)disk(0)rdisk(0)partition(2)\WINDOWS OS Load Options:  /fastdetect /noguiboot Boot entry ID:    2 OS Friendly Name: WS2003, Enterprise Path:             multi(0)disk(0)rdisk(0)partition(1)\WINDOWS OS Load Options:  /fastdetect /noguiboot 

Note the change in line 4 and the reversed boot entries.

Notes

You can also use the GUI to specify which OS entry should be the default for booting:

Control Panel System Advanced Startup and Recovery Settings select default OS

See Also

bootcfg , Recovery Console



Windows Server 2003 in a Nutshell
Windows Server 2003 in a Nutshell
ISBN: 0596004044
EAN: 2147483647
Year: 2003
Pages: 415
Authors: Mitch Tulloch

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net