Remember Me
forgot your password?

Windows Vista Boot Process Overview

The Windows Vista™ boot process differs from Windows® XP in the way the operating system is located and initialized. Start-up begins with the BIOS loading the Master Boot Record (MBR) on the bootable disk. The MBR in turn loads the Partition Boot Record (PBR) on the active partition. So far, Windows Vista remains relatively unchanged.

Windows Vista is different from XP starting by the fact the PBR code written by Windows Vista no longer looks for Ntldr. The new boot loader in Windows Vista is Bootmgr. This component loads the Boot Configuration Database (BCD), which in turn loads an OS loader boot application (Winload.exe, in the case of Windows Vista). Finally, the OS loader application is responsible for initializing the kernel. This process is illustrated below.

You can think of this change in two elements:

The two key actions performed by Ntldr in previous Windows versions have been divided between two components:

1. Bootmgr reads the boot configuration, including device and path locations.

2. WindowsSystem32Winload.exe initializes the kernel.

The boot configuration stored by Boot.ini in previous Windows versions is now stored in an extensible database, BootBCD, the Boot Configuration Database (BCD).

These changes are significant because of the impact they have:

1. The boot process can be extended to support other applications, such as other operating systems or other versions of the OS.

2. Only nonversion-specific components are stored in the root of the active partition. This means that theoretically Windows Vista could be installed on a machine running some future Windows version with the same boot structure, and it would not break the boot process for that future version. With legacy Windows, installing an older Windows version last causes the newer version to fail on start-up. This is due to version-specific code improvements in Ntldr.

3. Tool-oriented boot entries can be supported to offer maintenance options on boot when a previous start-up failed. In the past, Windows supported an menu provided by a target operating system. This new structure can make tools available earlier during the boot process, meaning that they are available even if all OS-specific boot entries are damaged. The Windows Memory Diagnostic tool is provided in the boot menu in this way.

BCD Store

The Boot Configuration Data (BCD) store contains boot configuration parameters and controls how the operating system is started in Microsoft Windows Vista operating system. These parameters were previously in the Boot.ini file in BIOS-based operating systems or in the nonvolatile RAM (NVRAM) entries in Extensible Firmware Interface-based operating systems. You can use the Bcdedit.exe command line tool to affect the Windows code which runs in the pre-operating system environment by adding, deleting, editing, and appending entries in the BCD store. Bcdedit.exe is located in the WindowsSystem32 directory of the Windows Vista partition.

The BCD is a database used by Bootmgr. It contains the functions of Boot.ini and is located in the {ActivePartition}boot folder

Bcdedit.exe

You can use Bcdedit.exe to modify the Windows code which runs in the pre-operating system environment by adding, deleting, editing, and appending entries in the BCD store. Bcdedit.exe is located in the WindowsSystem32 directory of the Windows Vista partition.

Boot.ini Compared to BCD

BCD eliminates the need for Boot.ini in Windows Vista, although Boot.ini is still present on dual-boot systems for backwards compatibility. Because the BCD boots to the boot environment first instead of Ntldr, the location of Ntldr is not verified unless a legacy operating system is chosen.

Configuration Tools

The BCD store can be modified or repaired using several tools:

System Properties in Control Panel

SystemPropertiesAdvanced.exe

Msconfig

Windows Recovery Environment (WinRE) Startup Repair

Bcdedit.exe

Bootrec.exe

Most of these tools enable you to perform simple tasks, such as setting a boot menu timeout, setting a default operating system, or configuring boot options such as /SOS and /SAFEBOOT. Others are repair-oriented tools; Startup Repair and Bootrec.exe, in particular, provide automated mechanisms for fixing problems in the BCD.

Bcdedit.exe is the main tool for detailed BCD store modifications. You can use Bcdedit to change Bootmgr options; add boot, delete, and edit boot entries; import and export the BCD store; and create a new store if it becomes significantly damaged. Bcdedit.exe is located in the WindowsSystem32 directory of the Windows Vista partition and is also available in WinRE.

BCD Store Location

The BCD store is a registry hive, stored as BootBCD on the active partition. This hive is loaded but hidden from view in Regedit.exe within Windows Vista. The store is loaded to the following registry location: HKLMBCD00000000.

You can also view the store manually in WinRE by loading the hive from the Boot folder. To obtain a copy of the hive on a running system, use the Bcdedit /export filename command to export a hive file for offline examination. This command exports the BCD store to a file called filename in the current directory.

Related Components

Msconfig

Msconfig is the preferred PSS UI tool for managing boot settings. The tool supports BCD and allows the user to enumerate all BCD objects in the system store. It allows certain elements to be altered for each OS object, including debug settings, safe mode settings, and other popular PSS options. It cannot be used with the WinRE console; Bcdedit needs to be used in these cases.

Bcdedit.exe

Bcdedit.exe is a command line tool that can be used to manage BCD settings. In summary, Bcdedit.exe is a replacement for Bootcfg.exe. However, it is enhanced for better scripting and to expose some of the more powerful features of BCD that bootcfg.exe did not expose for manipulating Boot.ini. Bcdedit.exe is designed to work on previous operating systems and in recovery environments.

For more details on this topic please go to www.wintechhelp.com

arun
Rate this Article: 5 / 5 stars - 1 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Operating Systems Articles
  • More from arun

Windows 7 review on the Look and Feel in the new OS

By: thomas | 16/11/2009
The launch date of Windows 7 is not only a day of fanfare for Microsoft but also a red-letter day for the software giants. It has managed to gather a whole lot of flack over the last the recent past with the Windows Vista operating system.

With Day Trading Software you can Make Money

By: Hannah Rosas | 16/11/2009
In the old days, investors had a very difficult job. Can you imagine spending hours and even days pouring over statistics, charts, and data to be able to make some investing decisions. Not only was it time consuming but also very difficult and stressful. Then you have the factor that the data wasn’t always accurate to begin with.

The Best Windows 7 Registry Tool

By: James Kern | 14/11/2009
Because Windows 7 is so new, it's got software developers scrambling to make their programs compatible with it. And because registry cleaners are software programs as well, you need to be sure that your cleaner is fully compatible with Windows 7... otherwise, you could end up causing more damage to your PC than you have already. So which is the best Windows 7 registry cleaner?

The Best Windows 7 Registry Cleaner

By: James Kern | 14/11/2009
Which regsitry cleaner is the best for windows 7? We have found one.

How to Fix a Memory Stick

By: Viral | 14/11/2009
Sony Memory Sticks are removable flash media used for storing data from phones, cameras, and even the PSP game system. While flash memory cards are convenient, they have a tendency to become corrupted if they are used continuously over a long period of time. When theMemory Stick is corrupted you will be unable to open or modify any of the data on the card. Memory Sticks can be repaired by either reformatting the card back or using repair software.

Dealing with Windows 7 Driver Update Problems on older PC Hardware

By: Joey Vella | 14/11/2009
The Windows 7 Operating System launch has been a breakthrough in productivity, user interface design and power. Many people on older operating systems such as Windows 2000 and Windows XP, have taken the opportunity to upgrade to the Windows 7 operating system only to find some of their system devices and hardware are not supported with supplied drivers.

USB Not Working? - Update USB Device Drivers To Fix USB Not Working Problems

By: Mars | 14/11/2009
USB not working? A lot of USB devices, like USB mass storage device, printer, scanner, keyboard, mouse and so on, tend to have device not recognized, unknown device and not working problems. There are two issues that can cause hardware not working problems.

Windows 7 Driver Updates – Update Windows 7 Drivers And Speed Up You Computer

By: Mars | 14/11/2009
Windows 7, a brand new operating system of Microsoft, is designed to be easier to use for any levels of computer users and be faster than any other systems like Windows XP, Vista. But its high performance entails better device drivers.

Multiple Monitor Support

By: arun | 15/01/2008 | Hardware
Multiple Monitor Support. Learn how to support dual monitors in Windows.

Best Practices for Avoiding Viruses

By: arun | 15/01/2008 | Security
Best Practices for Avoiding Viruses. Best practices to avoid infecting computers with viruses

Network Diagnostics in Windows Vista

By: arun | 06/01/2008 | Networks
A complete guide to network disgnostic tools in windows vista

Netcrawl Feature in Windows

By: arun | 06/01/2008 | Networks
The Network Crawler is a feature of the Windows Explorer shell that automatically searches your network for shared printers or shared folders

Backup Feature in Windows Xp

By: arun | 06/01/2008 | Operating Systems
windows xp backup feature

System Restore Process in Windows Xp

By: arun | 22/10/2007 | Operating Systems
The System Restore feature of Microsoft® Windows® XP (the operating system previously known as Microsoft® Whistler) enables administrators to restore their PCs, in the event of a problem, to a previous state without losing personal data files (such as Word documents, drawings, or e-mail). System Restore actively monitors system file changes and some application file changes to record or store previous versions before the changes occurred. With System Restore, users never have to think about taking system snapshots as it automatically creates easily identifiable restore points, which allow users to revert the system back to a previous time.

Windows Vista Boot Process Overview

By: arun | 22/10/2007 | Operating Systems
The Windows Vista™ boot process differs from Windows® XP in the way the operating system is located and initialized. Start-up begins with the BIOS loading the Master Boot Record (MBR) on the bootable disk. The MBR in turn loads the Partition Boot Record (PBR) on the active partition. So far, Windows Vista remains relatively unchanged.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.05, 1, w1)