win7 repair and recovery not accesible after resizing partitions with gparted 0xc0000

5ggggg

Member
HP.DV7 original partitions (4 primary):
system,c,recovery,HPtools(FAT32,with lba mark)

After using gparted:
system(H:smile:, C(was resized), recovery(G: was moved to be close to resized C), extended[containing: D:frowning:ntfs), noname(ext3 for future linux installation),HPtools(FAT32,with lba mark) ]

Situation:
- Win7 boots as usual/normal
- if I press F8 during Boot and and select "Computer repair" from W7 bootmgr it brings up: boot/bcd Status: 0xc0000225
- If I enter Bios during boot I also cannot reach Recovery (by hitting F11). It also gives boot/bcd Status: 0xc0000225
- If I set C as boot it also brings up the error
- if I set the recovery partition as "boot", it boots into recovery manager as expected

As I made a backup of all partitions with acronis before, I compared the output of bcdedit /store for
system, c, recovery. They still look the same:
Code:
C:\>bcdedit /enum all
Windows-Start-Manager
---------------------
Bezeichner              {bootmgr}
device                  partition=H:
description             Windows Boot Manager
locale                  de-DE
inherit                 {globalsettings}
extendedinput           Yes
default                 {current}
resumeobject            {158181c0-9a00-11db-8a1d-b11d19fd3102}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30
customactions           0x1000085000001
                        0x5400000f
custom:5400000f         {9d8711c8-f4b3-11e0-bdd6-fe10d78c86f8}
Windows-Startladeprogramm
-------------------------
Bezeichner              {current}
device                  partition=C:
path                    \Windows\system32\winload.exe
description             Windows 7
locale                  de-DE
inherit                 {bootloadersettings}
recoverysequence        {9d8711c8-f4b3-11e0-bdd6-fe10d78c86f8}
recoveryenabled         Yes
osdevice                partition=C:
systemroot              \Windows
resumeobject            {158181c0-9a00-11db-8a1d-b11d19fd3102}
nx                      OptIn
Windows-Startladeprogramm
-------------------------
Bezeichner              {572bcd60-ffa7-11d9-aae0-0007e994107d}
device                  ramdisk=[boot]\sources\boot.wim,{ramdiskoptions}
path                    \windows\system32\boot\winload.exe
description             Microsoft Windows PE 2.0
osdevice                ramdisk=[boot]\sources\boot.wim,{ramdiskoptions}
systemroot              \windows
detecthal               Yes
winpe                   Yes
ems                     Yes
Windows-Startladeprogramm
-------------------------
Bezeichner              {9d8711c8-f4b3-11e0-bdd6-fe10d78c86f8}
Wiederaufnahme aus dem Ruhezustand
----------------------------------
Bezeichner              {158181c0-9a00-11db-8a1d-b11d19fd3102}
device                  partition=C:
path                    \Windows\system32\winresume.exe
description             Windows Resume Application
locale                  de-DE
inherit                 {resumeloadersettings}
filedevice              partition=C:
filepath                \hiberfil.sys
debugoptionenabled      No
Windows-Speichertestprogramm
----------------------------
Bezeichner              {memdiag}
device                  partition=H:
path                    \boot\memtest.exe
description             Windows Memory Diagnostic
locale                  de-DE
inherit                 {globalsettings}
badmemoryaccess         Yes
EMS-Einstellungen
-----------------
Bezeichner              {emssettings}
bootems                 Yes
Debuggereinstellungen
---------------------
Bezeichner              {dbgsettings}
debugtype               Serial
debugport               1
baudrate                115200
RAM-Defekte
-----------
Bezeichner              {badmemory}
Globale Einstellungen
---------------------
Bezeichner              {globalsettings}
inherit                 {dbgsettings}
                        {emssettings}
                        {badmemory}
Startladeprogramm-Einstellungen
-------------------------------
Bezeichner              {bootloadersettings}
inherit                 {globalsettings}
                        {hypervisorsettings}
Hypervisoreinstellungen
-------------------
Bezeichner              {hypervisorsettings}
hypervisordebugtype     Serial
hypervisordebugport     1
hypervisorbaudrate      115200
Einstellungen zur Ladeprogrammfortsetzung
-----------------------------------------
Bezeichner              {resumeloadersettings}
inherit                 {globalsettings}
Geräteoptionen
--------------
Bezeichner              {9d8711c9-f4b3-11e0-bdd6-fe10d78c86f8}
description             Ramdisk Options
ramdisksdidevice        unknown
ramdisksdipath          \Recovery\WindowsRE\boot.sdi
Optionen zum RAM-Datenträgersetup
---------------------------------
Bezeichner              {ramdiskoptions}
description             Ramdisk Options
ramdisksdidevice        boot
ramdisksdipath          \boot\boot.sdi
C:\>bcdedit /store C:\boot\BCD /enum all
Windows-Start-Manager
---------------------
Bezeichner              {bootmgr}
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {default}
displayorder            {default}
toolsdisplayorder       {memdiag}
timeout                 30
Windows-Startladeprogramm
-------------------------
Bezeichner              {default}
device                  ramdisk=[boot]\System.sav\2ndCap\boot.wim,{ramdiskoptions}
path                    \windows\system32\boot\winload.exe
description             Windows Setup
locale                  en-US
inherit                 {bootloadersettings}
osdevice                ramdisk=[boot]\System.sav\2ndCap\boot.wim,{ramdiskoptions}
systemroot              \windows
detecthal               Yes
winpe                   Yes
ems                     Yes
Windows-Speichertestprogramm
----------------------------
Bezeichner              {memdiag}
device                  boot
path                    \boot\memtest.exe
description             Windows Memory Diagnostic
locale                  en-US
inherit                 {globalsettings}
EMS-Einstellungen
-----------------
Bezeichner              {emssettings}
bootems                 Yes
Debuggereinstellungen
---------------------
Bezeichner              {dbgsettings}
debugtype               Serial
debugport               1
baudrate                115200
Globale Einstellungen
---------------------
Bezeichner              {globalsettings}
inherit                 {dbgsettings}
                        {emssettings}
Startladeprogramm-Einstellungen
-------------------------------
Bezeichner              {bootloadersettings}
inherit                 {globalsettings}
                        {hypervisorsettings}
Hypervisoreinstellungen
-------------------
Bezeichner              {hypervisorsettings}
description             Hypervisor Settings
hypervisordebugtype     Serial
hypervisordebugport     1
hypervisorbaudrate      115200
Geräteoptionen
--------------
Bezeichner              {7619dcc8-fafe-11d9-b411-000476eba25f}
ramdisksdidevice        boot
ramdisksdipath          \boot\boot.sdi
Optionen zum RAM-Datenträgersetup
---------------------------------
Bezeichner              {ramdiskoptions}
description             Ramdisk Options
ramdisksdidevice        boot
ramdisksdipath          \System.sav\2ndCap\boot.sdi
C:\>bcdedit /store g:\boot\BCD /enum all
Windows-Start-Manager
---------------------
Bezeichner              {bootmgr}
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {default}
displayorder            {default}
toolsdisplayorder       {memdiag}
timeout                 30
Windows-Startladeprogramm
-------------------------
Bezeichner              {default}
device                  ramdisk=[boot]\Recovery\WindowsRE\winre.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
path                    \windows\system32\boot\winload.exe
description             Windows Setup
locale                  en-US
inherit                 {bootloadersettings}
osdevice                ramdisk=[boot]\Recovery\WindowsRE\winre.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
systemroot              \windows
detecthal               Yes
winpe                   Yes
ems                     Yes
Windows-Speichertestprogramm
----------------------------
Bezeichner              {memdiag}
device                  boot
path                    \boot\memtest.exe
description             Windows Memory Diagnostic
locale                  en-US
inherit                 {globalsettings}
EMS-Einstellungen
-----------------
Bezeichner              {emssettings}
bootems                 Yes
Debuggereinstellungen
---------------------
Bezeichner              {dbgsettings}
debugtype               Serial
debugport               1
baudrate                115200
Globale Einstellungen
---------------------
Bezeichner              {globalsettings}
inherit                 {dbgsettings}
                        {emssettings}
Startladeprogramm-Einstellungen
-------------------------------
Bezeichner              {bootloadersettings}
inherit                 {globalsettings}
                        {hypervisorsettings}
Hypervisoreinstellungen
-------------------
Bezeichner              {hypervisorsettings}
description             Hypervisor Settings
hypervisordebugtype     Serial
hypervisordebugport     1
hypervisorbaudrate      115200
Geräteoptionen
--------------
Bezeichner              {7619dcc8-fafe-11d9-b411-000476eba25f}
ramdisksdidevice        boot
ramdisksdipath          \boot\boot.sdi
Sorry for my english and BR from Austria
Richard
 
Last edited:
THX for your very fast reply !! I read this before :wink:
1. before doing so ... can you please explain the prob.
2. I think the guid changes if one resizes and or moves a partition and this leads to my prob. If so I dont want do change the bcd files set up from hp with a methode like Repair-DVD.... please be patient with me :wink:
3.Is it possible to just put the new guid into the BCD store e.g. with BCDedit ???
4.How can I read the guid of my partitions ?
 
Last edited:
The UID is a combination of the HDD signature and the start address of the partition.
You didn't move C: so W7 UID is still correct and W7 still boots.
Each of your options that refers to a partition which has been relocated, can be fixed by deleting that option with EasyBCD and adding a new one, and the UID will be correct in the new entry.
 
THX Therry !

I understand, but as you can see, the original BCD store contains a lot of objects. What should I delete ?

BTW: If I set C as Boot it also brings up the error

Addendum:

Is there a way to read the uid of each partition ?
 
Last edited:
C isn't the boot partition, H is "systempartition" (where the boot files are) so telling it bad information will obviously break the boot process.
You need to delete/add all those you use that don't work.
 
see how system BCD looks like...
 

Attachments

  • snip_system.JPG
    snip_system.JPG
    72.1 KB · Views: 11
  • snip_system_ramdisk.JPG
    snip_system_ramdisk.JPG
    51.9 KB · Views: 14
Last edited:
Yes, it's not a problem. Visual BCD Editor is not a competing product or anything.

But I don't know what you want an example for, Terry gave you all the info you need.
 
1. Shall I delete or edit
2. the loader "Windows Recovery Environment"
3. or just one of it elements like the "Aplication device" or
4. just the option of theAplication device "ramdisc" with the value {9d8711c9-f4b3-11e0-bdd6-fe10d78c86f8}
5. if 4. then maybe I also have to edit the OSdevice, because it has the same entry
 
In "edit boot menu" remove all the non-working entries
In "add new entry" create new ones
 
thx Terry, but keep in mind ... the prob is the recovery environment (which only works when selected as "boot")
see my screenshots please .. so I think it wíll not work the easy way
 
Last edited:
Back
Top