How to figure out boot disk from bcdedit?

3

2

I have Windows Server 2008 R2 software mirror.

I boot from volume c:.

When i use:

bcdedit 

I can see 3 different "Windows Boot Loader" entries with "device partition=C:". How can I figure out which boot entry is related to which physical disk?

Windows Boot Loader
-------------------
identifier              {77777777-bbbb-bbbb-bbbb-bbbbbbbbbbbb}
device                  partition=C:
path                    \windows\system32\winload.exe
description             Windows Server 2008 R2 - secondary plex
locale                  en-us
inherit                 {bootloadersettings}
osdevice                partition=C:
systemroot              \windows
resumeobject            {55555555-bbbb-bbbb-bbbb-bbbbbbbbbbbb}
nx                      OptOut
detecthal               Yes

Windows Boot Loader
-------------------
identifier              {99999999-bbbb-bbbb-bbbb-bbbbbbbbbbbb}
device                  partition=C:
path                    \windows\system32\winload.exe
description             Windows Server 2008 R2 - secondary plex
locale                  en-us
inherit                 {bootloadersettings}
osdevice                partition=C:
systemroot              \windows
resumeobject            {55555555-bbbb-bbbb-bbbb-bbbbbbbbbbbb}
nx                      OptOut
detecthal               Yes

Windows Boot Loader
-------------------
identifier              {eeeeeeee-bbbb-bbbb-bbbb-bbbbbbbbbbbb}
device                  partition=C:
path                    \windows\system32\winload.exe
description             Windows Server 2008 R2 - secondary plex - secondary plex
locale                  en-us
inherit                 {bootloadersettings}
osdevice                partition=C:
systemroot              \windows
resumeobject            {55555555-bbbb-bbbb-bbbb-bbbbbbbbbbbb}
nx                      OptOut
detecthal               Yes

rumburak

Posted 2012-10-27T05:05:03.517

Reputation: 259

did your problem solved? or no ? is my answer helpful? +1 it please – saber tabatabaee yazdi – 2012-10-31T05:43:59.093

@ saber tabatabaee yazdi : its not. I commented under Your answer. – rumburak – 2012-10-31T06:03:11.563

Answers

1

  1. Open a command prompt with administrator privileges.
  2. Run the following set of commands:

    DISKPART
    SELECT DISK 0
    UNIQUEID DISK ID=<random_disk_signature>
    

    (<random_disk_signature> is e.g. 1a2b3c4d)

  3. Quit DISKPART, but stay in the command prompt.
  4. Enter the following commands, one at a time, in the command prompt pressing Enter key after each command:

    bcdboot c:\windows /s c:
    bcdedit /set {DEFAULT.EN_US} device partition=c:
    bcdedit /set {DEFAULT.EN_US} osdevice partition=c:
    bcdedit /set {BOOTMGR.EN_US} device partition=c:
    
  5. Close the command prompt.

  6. Reboot.

saber tabatabaee yazdi

Posted 2012-10-27T05:05:03.517

Reputation: 1 323

<3 (I have to fix a nasty mess up and was missing the bcdboot step) – ZJR – 2014-08-29T13:28:27.453

@ saber tabatabaee yazdi : You can edit Your previous answer. – rumburak – 2012-10-28T05:08:50.600

@rumburak : ok but deleting that seems much more better .. – saber tabatabaee yazdi – 2012-10-28T05:41:01.567

@ saber tabatabaee yazdi : How should I get boot disk with this ? – rumburak – 2012-10-30T15:09:25.330

i'm confused this is impossible that 3 hard disk set as like this: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS but one of them must known as multi(0)disk(1)rdisk(1)partition(1)\WINDOWS and etc. see this http://en.wikipedia.org/wiki/NTLDR

– saber tabatabaee yazdi – 2012-10-31T06:37:10.480

fixmbr or fixboot or one of these solve your problem – saber tabatabaee yazdi – 2012-10-31T06:39:29.053

I do no want to fix anything as its all fine. I want to know boot disk for each entry. – rumburak – 2012-10-31T07:00:48.673

1

All 3 entries shown in bcdedit output point to same partition and disk.

To find out which partition (and disk) is mapped to c: you can use Windows DiskManagement or diskpart.exe on command prompt.

snayob

Posted 2012-10-27T05:05:03.517

Reputation: 4 044