Share via

understanding bootrec fixmbr, fixboot, rebuildbcd.

Anonymous
2022-04-25T06:00:49+00:00

I've been trying to find an explanation of what the mbr, boot record and bcd store are.

I've seen info like this .. https://support.microsoft.com/en-us/topic/use-bootrec-exe-in-the-windows-re-to-troubleshoot-startup-issues-902ebb04-daa3-4f90-579f-0fbf51f7dd5d

and I understand (I think) that they are located in the system partition. However I've been unable to find an explanation of how the windows boot process uses these. I've done searches but they just get swamped by the old info on MBR drives and "repair your boot" sites.

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2022-04-25T19:13:20+00:00

Looks perfectly normal, John.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

9 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-04-25T18:42:56+00:00

    Making progress with those links Greg, very grateful for your help.

    I see (I think) the "MBR" is just the GPT Header at logical block 1.

    The "BCD Store" is a table of boot menu options that I guess correspond to the "windows boot manager" option in the BIOS and eg allow windows to manage the boot process eg when I run setup from a USB stick, so it can change the boot to the hard drive when required. And resides in the system partition.

    I've assigned W to partition 1 and V to partition 5. Neither show any files even when i check "show hidden files".

    I cant find this (I'm on W11 Home 21H2) "File Explorer > View > Options > Change Folder and Search Options > View > enable Show Hidden Files and uncheck Hide Protected Operating System Files, approve security box, Apply, Save."

    The Free space is showing no content in those partitions?

    CDEdit /v shows this:

    Image

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-04-25T17:10:17+00:00

    John -

    System partition is to set the files apart from Windows on C that boot Windows so nothing can easily access them to corrupt them or clog their partition - since it doesn't have a drive letter nothing like a backup program can inadvertently write there.

    What is the master boot record (MBR):

    https://www.techtarget.com/whatis/definition/Ma...

    What is the BCD Store:

    http://www.mistyprojects.co.uk/documents/BCDEdi...

    The list you show appears to be typical factory install which has the extra Recovery partition containing tools installed at factory. Please post a screenshot of Disk Management, which I read like a doctor reads X-rays. Follow the steps here so I can see everything needed to advise you: http://answers.microsoft.com/en-us/windows/foru...

    The contents of Recovery partition is often hidden, you can try to unhide in File Explorer > View tab > show Hidden files (checkbox) and also in File Explorer > View > Options > Change Folder and Search Options > View > enable Show Hidden Files and uncheck Hide Protected Operating System Files, approve security box, Apply, Save.

    The way to know if one of the Recovery partitions is working is to try to trigger Advanced Startup Options one of these ways: https://www.tenforums.com/tutorials/2294-advanc...

    I would leave both Recovery partitions until the next Clean install and then properly clear all partitions off the drive before reinstalling Windows doing the gold standard Clean Install here: http://answers.microsoft.com/en-us/windows/wiki...

    ______ _________________________

    Linked tutorial was written by a trusted Microsoft MVP

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2022-04-25T16:57:02+00:00

    Thanks Greg, that explains a lot, "bootrec /fixmbr which is for the old Legacy MBR drives"

    useful links I'll need to study, but I've not seen info on what the system partition is for,

    nor what the boot record and bcd store do - I'm assuming they are located on the system partition?

    My C drive (Win7 upgraded to 10, upgraded to 11) has this structure:

    If I assign a letter to either of the recovery partitions they appear to be empty

    Do I need to install a recovery environment to partition 5?

    DISKPART> list partition
    Partition ### Type Size Offset
    Partition 1 Recovery 529 MB 1024 KB Empty
    Partition 2 System 99 MB 530 MB
    Partition 3 Reserved 16 MB 629 MB
    Partition 4 Primary 231 GB 645 MB C:
    Partition 5 Recovery 617 MB 232 GB Empty

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2022-04-25T06:49:49+00:00

    Hi John. I'm Greg, 10 years awarded Windows MVP, here to help you.

    Those commands can still work, except for bootrec /fixmbr which is for the old Legacy MBR drives as you note. They are integrated into this guide which covers everything possible to get unbootable Windows started, including the sequencing for the powerful RebuildBCD command:

    http://answers.microsoft.com/en-us/windows/wiki...

    The drive map you posted is the correct layout for most standard UEFI Windows installs, the EFI System partition which boots Windows, followed by small hidden MSR partition for Bitlocker, C drive and Recovery partition which holds the WinRE repair tools that popup Automatic Repair when WIndows won't start, and which are explained more here: https://www.tenforums.com/tutorials/2294-advanc...

    More here on the modern UEFI BIOS which has been the standard for ten years now:

    http://www.howtogeek.com/175649/what-you-need-t...

    https://www.marksei.com/bios-uefi-explained/

    Feel free to ask back any questions. Based on the results you post back I may have other suggestions if necessary.

    ______________________________________________

    Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments