Controlling StartUp with Boot.ini switches (explained)

The ARC path syntax supports more than 30 different switches that enable you to control various aspects of the Windows XP startup (or another operating system, as long as it’s Windows XP, Windows 2000, or Windows NT 4). You can either enter these switches by hand when editing Boot.ini in Notepad, or use the check boxes on the BOOT.INI tab of the System Configuration Utility. Here’s a summary of the switches that are most useful:

/safeboot:minimal Boots Windows XP in safe mode, which uses only a minimal set of device drivers. Use this switch if Windows XP won’t start, if a device or program is causing Windows XP to crash, or if you can’t uninstall a program while Windows XP is running normally.

/safeboot:minimal(alternateshell) Boots Windows XP in safe mode but also bypasses the Windows XP GUI and boots to the command prompt instead. Use this switch if the programs you need in order to repair a problem can be run from the command prompt or if you can’t load the Windows XP GUI.

/safeboot:network Boots Windows XP in safe mode but also includes networking drivers. Use this switch if the drivers or programs you need to repair a problem exist on a shared network resource, if you need access to e mail or other network-based communications for technical support, or if your computer is running a shared Windows XP installation.

/safeboot:dsrepair Boots Windows XP in safe mode and also restores a backup of the Active Directory directory service (this option applies only to domain controllers).

/noguiboot Tells Windows XP not to load the display driver that normally is used to display the progress bar during startup. Use this switch if Windows XP hangs while switching video modes for the progress bar, or if the display of the progress bar is garbled.

/bootlog Boots Windows XP and logs the boot process to a text file named Ntbtlog.txt that resides in the %SystemRoot% folder. Open Ntbtlog.txt. in Notepad, move to the end of the file, and you may see a message telling you which device driver failed. You probably need to reinstall or roll back the driver. Use this switch if the Windows XP startup hangs, if you need a detailed record of the startup process, or if you suspect (after using one of the other Startup menu options) that a driver is causing Windows XP startup to fail.

/basevideo Boots Windows XP using the standard VGA mode: 640 × 480 with 256 colors. This is useful for troubleshooting video display driver problems. Use this switch if Windows XP fails to start using any of the safe mode options, if you recently installed a new video card device driver and the screen is garbled or the driver is balking at a resolution or color depth setting that’s too high, or if you can’t load the Windows XP GUI. Once Windows XP loads, you can either reinstall or roll back the driver, or you can adjust the display settings to values that the driver can handle.

/sos Displays the path and location of each device driver (using the ARC path syntax) as it is loaded, as well as the operating system version and build number and the number of processors.

/maxmem=MB Specifies the maximum amount of memory, in megabytes, that Windows XP can use. Use this value when you suspect a faulty memory chip might be causing problems.

/numproc=n In a multiprocessor system, specifies the maximum of processors that Windows XP can use. Use this switch if you suspect that using multiple processors is causing a program to hang.

/pcilock Tells Windows XP not to dynamically assign hardware resources for PCI devices during startup. The resources assigned by the BIOS during the POST are “locked” in place. Use this switch if installing a PCI device causes the system to hang during startup.

/debug Enables remote debugging of the Windows XP kernel. This sends debugging information to a remote computer via one of your computer’s serial ports. You can also add any of the following switches:

/debugport=port Specifies the serial port, where port is one of com1, com2, com3, com4, or 1394. Specifying 1394 will require that you also use the /channel switch.

/baudrate=speed If you use a COM port, use this switch to specify the transmission speed of the debugging information, where speed is one of the following: 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, or 115200.

/channel=number If you use an IEEE 1394 (FireWire) connection, use this switch to specify the channel, where number is a value between 1 and 64.

0 comments: