Restore OEM OS from base.wim in HP RECOVERY partition

Page 1 of 2 12 LastLast

  1. Posts : 40
    Windows 7 Home Premium 64 bit
       #1

    Restore OEM OS from base.wim in HP RECOVERY partition


    Hi everybody !

    First visit in this forum. Hope you are more knowledgeable than three other one (HP amongst them) that failed soon to attempt a resolution...

    My HP G62 / W7 Home Premium 64 jammed (maybe by interrupting a windows update) on every F8 modes with this error:

    interactive logon process initialization has failed. please consult the event log for more details.

    After that, I did an F11 to trigger the Recovery Manager and first did a file backup.

    After that, I split the main partition in order to store the file backup and shuffled the partition at EOD (end of disk).

    After that... NO more F11 was working and I was stucked. I reinstated the partitions to their OEM disposition to no avail; no more F11 available.

    With a Hiren's USB stick (HBUS) I then tied in the mini 7 OS many attempts to tweak the BCDs in order to trigger the access the RECOVERY partition from the SYSTEM BCD but everything failed.

    I decided to install a new instance of W7HP64 with my Windows 7 AIO installation DVD. Prior to that, I backed the RECOVERY partition in case the installation would mess with it. I red later on that I should also have baked the SYSTEM partition for it would be changed and that I could loose the F11 and/or the OEM recovery functions. After thoughts, I said to me that installing the same OS over itself should restore the recovery functions, F11 amongst them. So I thought; I was wrong.

    All went ok for the new W7HP64 installation and... no OEM restoration could be triggered.

    I red somewhere that I could access the RECOVERY partition by making it "Active", what I did, and after some tweaking of the RECOVERY BCD, I was able to get into it and see the Restore Manager RM:



    The first option "Restauration du système Mircosoft" involves restoration points to an earlier state, what is not what we want.

    The two other options involve the reformat of the "entire" HD ! as stated in the next information page, that is NOT what I want. I only want the WINDOWS partition to be reformatted and be restored to OEM (factory) condition with the base.wim image on the RECOVERY partition.. But If it formats the whole HD, how can it restore the RECOVERY partition itself ?

    Anyway, after proceeding through the last option (It does the same anyway with the second option), an error message pops up saying that the restoration cannot be performed from the HD (if it does format it. this is understandable) and can only be performed with a restoration disk... that I don't have.

    The question is this: since I booted from the RECOVERY partition, how comes I can't recover the WINDOWS partition without resorting to a restoration CD ? Everything needed to perform the recovery lies in the RECOVERY partition !!!

    Laptop info :

    Partitions:
    1. (A) SYSTEM (no letter)
    2. WINDOWS C:\
    3. RECOVERY D:\
    4. HP_TOOLS E:\

    (A): active

    "D:\Recovery\system32\Recovery\ReAgent.xml"
    "D:\Recovery\WindowsRE\winre.wim" (271M, 1 partition)
    "D:\Recovery\WindowsRE\boot.sdi"
    "D:\boot\BCD"..... the recovery boot file
    "D:\boot\boot.sdi"
    "D:\EFI\Microsoft\Boot\BCD"
    "D:\EFI\Microsoft\Recovery\BCD"
    "D:\EFI\Microsoft\Boot\bootmgfw.efi"
    "D:\system.sav\preload\base.wim" (3.2G, 4 partitions)
    "D:\system.sav\FactoryUpdate\boot.wim" (246M, 1 partition)
    "D:\system.sav\FactoryUpdate\BOOT.SDI"
    " :\Boot\BCD"..... THE main boot file
    "C:\boot\BCD"
    "C:\Recovery\8bcc9453-faf9-11e8-8721-efb323ce4303\boot.sdi"
    "C:\Recovery\8bcc9453-faf9-11e8-8721-efb323ce4303\Winre.wim" (162M, 1 partition)
    "C:\Recovery\8bcc9457-faf9-11e8-8721-efb323ce4303\boot.sdi"
    "C:\Recovery\8bcc9457-faf9-11e8-8721-efb323ce4303\Winre.wim" (162M, 1 partition)
    "C:\Recovery\abe9fdd0-fb1f-11e8-a94f-86cbf4dd2403\boot.sdi"
    "C:\Recovery\abe9fdd0-fb1f-11e8-a94f-86cbf4dd2403\Winre.wim" (162M, 1 partition)
    "C:\Windows\Boot\EFI\bootmgfw.efi"
    "C:\Windows\Boot\EFI\bootmgr.efi"
    "C:\Windows\System32\Recovery\ReAgent.xml"

    Thanks in advance for your involvement.

    Best regards
    iBenny
      My Computer


  2. Posts : 15,165
    Vista x64 / 7 X64
       #2

    You can apply the image from the base.wim to a partition using for example winntsetup.

    If base.wim contains 2 images, use the larger one.

    Winntsetup is included in my boot media.It is under the start menu \Install folder

    17514x86.iso

    17514x64-v9.iso
      My Computer


  3. Posts : 40
    Windows 7 Home Premium 64 bit
    Thread Starter
       #3

    Will try that SIW2

    Base.wim contains 4 images and #4 is the fullest. There is also a fifth [Files] folder. What to do of it ? deploy it ? but where ?

    Do you suggest to deploy on top of the existing OS of after a formatting ?

    PS : I agree with your signature...

    Best regards
    iBenny
    Last edited by iBenny; 18 Dec 2018 at 16:44.
      My Computer


  4. Posts : 15,165
    Vista x64 / 7 X64
       #4

    Probably image 4.

    You can format the target partition before applying the image. Suggest you use the windows partition ( probably the largest partition on the hard disk) to apply the image
      My Computer


  5. Posts : 40
    Windows 7 Home Premium 64 bit
    Thread Starter
       #5

    Definitively image 4 ! I opened it and that's the Windows 7 Home Premium image...

    Now, about WinNTsetup, in the bottom right section, I selected D: as "Mount installation drive" since it is the target drive to be recovered. Now, do I have to check something below like "drive letter assignment" or "mode" and select a mode ?
      My Computer


  6. Posts : 15,165
    Vista x64 / 7 X64
       #6

    In the bottom right section - Mount Installation drive C: ( This is the letter windows will have when you boot into it)

    Select Location of Installation drive D: ( This is the letter of the partition you are applying the image TO )

    Do not check "drive letter assignment", do not check "mode"

    Click Setup

    at the next window, just click OK
      My Computer


  7. Posts : 40
    Windows 7 Home Premium 64 bit
    Thread Starter
       #7

    Hi SIW2

    With your EXCELLENT recovery CD, is there an app that can edit a wim image ? In the way of deleting a file and adding a file ? 7-Zip can open it but cannot delete, rename nor add a file...

    Why the question ? because in the [1].xml file where all the parameters or the deployment is set, all the <Default> languages are set to en-EN instead of fr-FR. I managed to extract out that xml file and modified it, but can't get it back in to replace the current one.

    Best regards
    iBenny
      My Computer


  8. Posts : 6,162
    Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
       #8

    Hi iBenny,

    Welcome to SevenForums!

    iBenny said:
    With your EXCELLENT recovery CD, is there an app that can edit a wim image ? In the way of deleting a file and adding a file ? 7-Zip can open it but cannot delete, rename nor add a file...

    Why the question ? because in the [1].xml file where all the parameters or the deployment is set, all the <Default> languages are set to en-EN instead of fr-FR. I managed to extract out that xml file and modified it, but can't get it back in to replace the current one.
    You can achieve this by using DISM++ to mount the image, make the changes, save and un-mount the install.wim file therefore committing the changes made. You will obviously need to unzip the install.wim first with something like 7-Zip as you have previously mentioned!

    I hope this helps!
      My Computer


  9. Posts : 40
    Windows 7 Home Premium 64 bit
    Thread Starter
       #9

    Hi Paul,

    Welcome and thanks for dropping by...

    Not sure if you understand the whole implication of your suggestion.

    In my understanding (correct me if I'm wrong) :

    1- DISM can surely deploy ("mount" in your Unix term?) an image;
    2- 7-Zip can surely unzip an image;
    3- Deploy and unzipping are not the same;

    You ask two things here : #1 and #2 ! Not sure really of your scenario here... or I don't understand.

    First you ask to deploy base.wim on a partition (formatted I presume). It will be in en-EN.

    Next you ask to fix it ! Fix what ? Convert the OS in fr-FR, then repack it in an image to be redeployed on my Seven D:\ partition ? If I could convert the OS strait out of the bat like this in fr-FR, I should do it strait after a deployment directly to the Seven D:\ partition from the get go !

    Or fix the [1].xml file ? Will the image deployment "spit" out the [1].xml somewhere to be tweaked ? Of course I already did extract it with 7-Zip, yes, but then, how do we re-image the deployed image (easy with DISM... ok), but how do we include the [1].xml in the process ? AND... in the deployment we did, only the sub-image #4 (out of 4 sub-images) was deployed. If we re-image that sole OS, won't the [1].xml instructions be all ****ed up and render the next deployment impossible since it deals with 4 sub-images and now tries to instruct to deploy a single image out of four when now there are no sub-images but only a single one ? In the case of no-sub images, no xml are needed for deployment !? or only to instruct about the default language pack to use; but then it's a quite trimmed down xml that is needed and I don't know how to correctly configure it... My turn to be UN-understandable isn't it ?

    And I don't know the usefulness of unzipping base.wim after that. Or I messed up your instructions !!!

    Best regards and ... sorry for not having understood.
    iBenny
    Last edited by iBenny; 17 Dec 2018 at 09:29.
      My Computer


  10. Posts : 15,165
    Vista x64 / 7 X64
       #10

    Did you check that the image contains multiple languages?
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:39.
Find Us