Windows Vista startup process
|
|
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (May 2010) |
The startup process of Windows Vista, Windows Server 2008, Windows 7 and Windows Server 2008 R2 is different from any previous versions of Windows. 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 operating system.
Contents |
[edit] Windows Boot Manager
Windows Boot Manager (BOOTMGR) reads the boot configuration data and displays an operating system selection menu.[1] 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 which have their own bootloader embedded in Firmware. 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's 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. The EFI boot manager is a part of the Computer Firmware that comes with the Computer and is not a part of Microsoft Windows. The Windows Boot Manager is a program stored on the hard disk, it's a part of Microsoft Windows, and it's also used to boot non-EFI systems that use MBR to boot the Computer.
[edit] 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.[1]
Boot Configuration Data is stored in a data file that has the same format as the Windows Registry.[3] The file 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),[1] using Registry Editor (regedit.exe),[3] using Windows Management Instrumentation,[1] or with third party tools like EasyBCD.
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.
[edit] 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.
[edit] See also
[edit] References
- ^ a b c d e "Boot Configuration Data in Windows Vista". Microsoft Developer Network. Microsoft Corporation. 4 February 2008. http://www.microsoft.com/whdc/system/platform/firmware/bcd.mspx. Retrieved 9 November 2011.
- ^ The space bar is the new F8 when it comes to Vista and Server 2008 boot options
- ^ a b Russinovich, Mark (8 November 2011). "Fixing Disk Signature Collisions". Mark's Blog. Microsoft TechNet (Microsoft Corporation). http://blogs.technet.com/b/markrussinovich/archive/2011/11/08/3463572.aspx. Retrieved 9 November 2011.
[edit] Further reading
- Jonathan de Boyne Pollard. "The Windows NT 6 boot process". Frequently Given Answers. http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/windows-nt-6-boot-process.html.