Help with a complete system image restore from VHD files?

Page 3 of 4 FirstFirst 1234 LastLast

  1. Posts : 22
    Windows 7 Ultimate 32 bit
    Thread Starter
       #21

    mjf said:
    AriKona said:
    Additional information: Drive K has 193,771 files; 21,240 folders; 147,710,491,882 bytes of information. (However, when read as a single file it is 214GByte).
    See why I want it back?

    If it was safe to write over C: with the information contained in this directory (K and be assured that the files were there to recreate the former C: drive (and allow it to boot), I would. My problem is: Are ALL the files, including system, in that single directory (K ? and would copying them to C: give me a bootable system back to the backup date?
    Windows 7 imaging (which I use!) can be fussy. Corruption of the small mediaid file will cause auto image location to fail.

    I have been able to do the following:
    (1) Like whs suggests Mount the main vhd (your K) shrink, image with Macrium then reimage to an appropriate sized partition. This may require you to temporarily create another primary partition on C:. I did it as an exercise quite some time ago and worked for me.
    OR
    (2) Simply copy your folders out of the mounted image (K in your case).
    It could be that there are some hidden and system files not shown in the mounted VHD accounting for the size difference.
    I would prefer to use another partition or external HDD (slow) but see no problems in copying out to a separate root folder on C:.
    You only want to copy out data not OS or installed programs.

    I personally like the second answer until I get to the part "copy out data not OS or installed programs". The reason I started this thread in the first place is that I wanted to restore the whole system, not just retrieve my documents, pictures, music and videos, etc.

    This computer has a lot of downloaded programs (Super, VLC, ModPlug, DOS Box, PGP, etc.). Some don't even exist anymore for download (PGP was taken over by Symantec) and most, if not all, have been modified over a period of years. To install all the programs and tweak them would take weeks and is not something I want to do if I can avoid it.

    So saying, I know there is a way to restore the system and somehow get the programs and data back where they were and readable by the system as this was a backup done a month before the so called "crash" when the system was working fine. I will await the reply on how to "shrink" the image and will see what happens next.

    Thank you for the input as I am looking for any answers that might get the job done.

    Don
      My Computer


  2. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #22

    1. Yes, K is unbootable and any simple copy job will not make it bootable.

    2. I am not sure about those sizes. They could be confused because of the original Raid setup. And then there is also compression in the image.
    If you want to shrink a partition, you just right click on it in Disk Management and => Shrink.

    6. The 100MB partition contains your bootmgr. Without it, the system will not boot. The reason why I said to defer that is because that 100MB partition may still be intact. Post another picture of your Disk Management showing Disks 0,1,2 so that we can have a look.

    Is there not a way to make the contents of Drive K: bootable and simply copy everything on K: to C: and overwrite everything on C: or copy and then make it bootable?
    No, it is not that simple.

    The sad part of this whole debacle is that Windows 7 should have been able to backup and restore like it says it can. Just another reason not to believe the claims of MS
    That is a question to ask mjf. He is a real Windows7 imaging expert. Maybe he knows how to revive that image you have. I had my own troubles with Windows7 imaging. That's why I did not really persue it and am not familiar with the details.
      My Computer


  3. Posts : 22
    Windows 7 Ultimate 32 bit
    Thread Starter
       #23

    whs said:
    6. The 100MB partition contains your bootmgr. Without it, the system will not boot. The reason why I said to defer that is because that 100MB partition may still be intact. Post another picture of your Disk Management showing Disks 0,1,2 so that we can have a look.
    Here are the two drives as they exist now. Although it doesn't say this in the image, on drive C: 908 of 931 Gbytes are free and on D: 697 of 931 Gbytes are free. The reason is that I have the image (which is also on another external hard drive) on drive D: in case I could restore from that drive.

    I hope this can be resoved with minimal trauma. Thank you for your help.

    Don
    Attached Thumbnails Attached Thumbnails Help with a complete system image restore from VHD files?-c-ddrives.jpg  
      My Computer


  4. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #24

    This is interesting. As it looks right now, you never had a 100MB active partition because C: is active. Windows7 imaging seems to have created a dummy VHD for the 100MB partition - which also would explain that the byte count is zero.

    With that info in mind you restore the image from K as active. Also replace the MBR. And let's pray that it will boot.

    PS: No trauma - this is fun.
      My Computer


  5. Posts : 22
    Windows 7 Ultimate 32 bit
    Thread Starter
       #25

    whs said:
    This is interesting. As it looks right now, you never had a 100MB active partition because C: is active. Windows7 imaging seems to have created a dummy VHD for the 100MB partition - which also would explain that the byte count is zero.

    With that info in mind you restore the image from K as active. Also replace the MBR. And let's pray that it will boot.

    PS: No trauma - this is fun.
    Just for my own curiosity (and the desire to do it my way), I wiped both drives clean and reinstalled Windows 7 from scratch. It automatically created that 100Mb partition without asking me (see screen caps). This partition was also created on the backup drive during the original backup as well.

    So saying, what size would you recommend for me to make the image (which is currently ~1,800 GB by definition only - actual file size is 214 GB)?

    Do I then simply send the image to C: to replace the current files (leaving the 100MB partition alone) or do I copy the files to C: to recreate it?

    I have the feeling that I may have to revert the computer back to the Raid array to allow for the restoration of the complete image, but am willing to see if this will work on the C: drive as I don't want to use an array again.

    Thank you for your help.

    Don
    Attached Thumbnails Attached Thumbnails Help with a complete system image restore from VHD files?-1.jpg   Help with a complete system image restore from VHD files?-2.jpg  
      My Computer


  6. Posts : 22
    Windows 7 Ultimate 32 bit
    Thread Starter
       #26

    Wolfgang,

    Two questions come to mind on this.

    1. Does the 100 MB partition have data in it regarding the balance of the drive [e.g. C:] ?
    I am assuming it does.

    2.If I were to take the 100 MB partition from the complete back up and overwrite (if possible) the 100MB partition on c: and then shrink the backup volume (currently ~1800GB) to the size of the balance of C: (9.41 GB) and overwrite it and then set it as active, wouldn't that restore the original system?

    Just a thought.

    Don
      My Computer


  7. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #27

    1. The 100MB partition contains the bootmgr (in a normal setup). The problem I have is that your original setup from which you mde the image did not have that 100MB partition. For whatever reason it was C that was "active" meaning it contained the bootmgr.

    The complication we have here is that you had this Raid setup. I really do not know what exactly happens with such a setup since I never use Raid because I think it is utterly useless.

    2. As a first trial I would disregard the 100MB partition and restore C as the active partition. As to size I am again lost because of this Raid history of the image. Just make the partition as big as possible and see what happens. What can you loose.
      My Computer


  8. mjf
    Posts : 5,969
    Windows 7x64 Home Premium SP1
       #28

    Likewise, the RAID configuration is something I'm not familiar enough with.
    The 100M system reserved contains intermediate boot files (bootsector, bootmgr, BCD) and will point to your windows loader, winload.exe, on the OS partition. There are commands to rebuild the system reserved from scratch if ever required.
      My Computer


  9. Posts : 22
    Windows 7 Ultimate 32 bit
    Thread Starter
       #29

    This morning I spent some time on the telephone with a Microsoft Level "2" technician. It only took five days for them to call back from the orginal request (althought they told me each day that I would be called the following day).

    I asked about restoring it from a Raid 0 and he was not sure about that configuration (he admitted later in the conversation that he had set up his system with a Raid 1 configuration). He then tried to figure out how to do a system restore given the information I have presented in this forum. In listening to him, it was evident that he was searching the Internet for an answer based on his response. His final analysis of the situation is as follows:

    I would try to convert the VHD files to TIB using Acronis (Backup and Restore - MSRP $79) and then use the program to shrink the volume of the image and restore it using the software.

    I found it interesting that a Microsoft technician would recommend a third party solution, let alone not having experience with a restore failure from a Microsoft product. At least he was honest.

    My feeling is that the original image (which contained both the 100Mb seeimingly empty partition (*) as well as the 1800 Gb system image) could be mounted individually into a virtual hard drive and then copied to C: overwriting the current configuration and files. The only question in my mind is, "Would the system allow for the overwriting of the MBR by this method?"

    In any case, I have learned a lot from this little adventure and the most valuable lesson comes from Wolfgang's signature. I have decided to do a clean installation of Windows 7, install only the very basic programs I need and copy the directories I need out of the VHD file. The main program I need has been on my computer for almost 10 years and has been updated frequently leaving a lot of unnecessary files. Fortunately, the company that makes the program allows for its complete download from its site using my password. Last night I downloaded the full program (8 GB), which, because all of it's settings are dynamically syncronized at their site, installed exactly the way I last used it with all of my settings and bookmarks, etc. still intact.

    Although there are still some questions unanswered like "Why did the system fail in the first place?", I have learned to minimize the number of programs to prevent interaction problems and to find a better way to back up the system in future.

    Thenk you all for your suggestions and the information you provided and I will continue to post when I either have a question or solution.

    Don

    (*) Wolfgang, the 100Mb partition was present in the backup, but I separated it from the other when I copied it to the hard drive so it did not appear with the larger partition.
      My Computer


  10. mjf
    Posts : 5,969
    Windows 7x64 Home Premium SP1
       #30

    AriKona said:
    I would try to convert the VHD files to TIB using Acronis (Backup and Restore - MSRP $79) and then use the program to shrink the volume of the image and restore it using the software.

    I found it interesting that a Microsoft technician would recommend a third party solution, let alone not having experience with a restore failure from a Microsoft product. At least he was honest.
    .
    It's probably commendable that the MS tech would recommend it and they obviously spent time on your problem. It is the only utility I had seen in the past that would rescue an MS vhd. Unfortunately the free versions of Acronis that apply to WD or Seagate HDDs don't seem to support it.

    MS could develop a rescue utility if they wanted.
      My Computer


 
Page 3 of 4 FirstFirst 1234 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 14:05.
Find Us