Jump to content

Windows Boot Manager

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 99.157.108.248 (talk) at 21:27, 5 October 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Microsoft's Windows Vista, Windows Server 2008 and Windows 7 operating systems is different from any previous version of Windows that uses the NT kernel. First, when the computer is switched on, either the BIOS or the EFI is loaded. In the case of a BIOS system, the MBR of the boot disk, which can be a hard drive or external media, is accessed, followed by the boot sector of the drive or of the relevant hard disk partition. This boot sector then loads the rest of the boot blocks. For Windows Vista, the boot sector loads the Windows Boot Manager (with filename BOOTMGR), which first looks for an active partition, then accesses the Boot Configuration Data store and uses the information to load the final stage, the operating system.

Windows Boot Manager

The Windows Boot Manager (BOOTMGR) reads the boot configuration data and displays an operating system selection menu,[1] and is thus, in some respects, equivalent to the boot selection menu functionality of NTLDR in prior versions of Windows NT. A notable change is that the Windows Boot Manager is invoked by pressing the space bar instead of the F8 function key.[2] The F8 key still remains assigned for advanced boot options once the Windows Boot Manager menu appears.

To maintain a consistent boot experience on Extensible Firmware Interface systems that also have a boot manager of their own, the Windows Boot Manager, and hence all of the installed Windows operating systems that can be booted using it, appear as a single entry on the EFI boot manager menu. (On EFI systems, the Windows Boot Manager is an EFI application stored on the EFI System Partition). Microsoft only adds multiple entries to the Windows Boot Manager (BCD) menu itself, and sets the timeout of the EFI boot manager to two seconds.

Boot Configuration Data

Boot Configuration Data (BCD) is a firmware-independent database for boot-time configuration data. It replaces the boot.ini that was used by NTLDR, and is used by Microsoft's new Windows Boot Manager.[3]

Boot Configuration Data is stored in a data file (formatted in the same way as a Windows registry hive) that is located either on the EFI System Partition (on machines that use Extensible Firmware Interface firmware) or in \Boot\Bcd on the system volume (on machines that use IBM PC compatible firmware).

Boot Configuration Data may be altered using a command-line tool (bcdedit.exe), by using Windows Management Instrumentation, or with third party tools like EasyBCD that allow more advanced configuration and support for non-Windows operating systems.

Boot Configuration Data contain the menu entries that are presented by the Windows Boot Manager, just as boot.ini contained the menu entries that were presented by NTLDR. These menu entries can include:

  • Options to boot Windows Vista by invoking winload.exe.
  • Options to resume Windows Vista from hibernation by invoking winresume.exe.
  • Options to boot a prior version of the Windows NT family by invoking its NTLDR.
  • Options to load and to execute a volume boot record.

Boot Configuration Data allows for third party integration so anyone can implement tools like diagnostics or recovery options.

winload.exe

The Windows Boot Manager invokes winload.exe—the operating system boot loader—to load the operating system kernel (ntoskrnl.exe) and (boot-class) device drivers.[1] In that respect, winload.exe is functionally equivalent to the operating system loader function of NTLDR in prior versions of Windows NT.

See also

References

  1. ^ a b Microsoft. "Boot Configuration Data in Windows Vista".
  2. ^ The space bar is the new F8 when it comes to Vista and Server 2008 boot options
  3. ^ Microsoft. "Boot Configuration Data Reference Documentation". Microsoft Platform SDK.

External links