locked
Creating an image of VHD with Win 8 installed

    Question

  • Hi there, I have installed Win8 RP in VHD.  I created vhd in Win 7 Ultimate with fixed size 60GB. Then I installed Win 8 in VHD by mounting the VHD during setup using diskpart utility. Now its a dual boot configuration with Win 8 RP booting from VHD and Win 7 from physical partition.

    This is the second time I am doing this, since at first setup my Win 8  crashed (I created a thread for that but did not get any resolution)

    Can you please help me to how do I create the System Image of this Win 8 installation done in VHD, so that I can recover quickly if something goes bad. Earlier I use to backup my Win 7 using Acronis True Image. Which used to create .tib file of the system partition (C: along with MBR) Can I use the same for Win 8 installed in VHD. How?

    Thursday, July 19, 2012 12:04 PM

Answers

  • I've never tried to restore an OS into a VHD, that might be a problem,
    I don't know.
     
    You can always copy the VHD to an NTFS compressed folder, which is
    halfway decent compression, especially for free space on the VHD, but
    again, you'd have to copy it back uncompressed so it takes more.
     
    If I were to use True image myself, I wouldn't use it in the VM, I'd
    use it on the host and back up the VHD file only -- that might not be a
    bad way to go -- you get True image compression and an easy restore.
     

    Bob Comer - Microsoft MVP Virtual Machine
    • Marked as answer by Mahesha999 Thursday, July 19, 2012 4:57 PM
    Thursday, July 19, 2012 2:22 PM
  • No problem, glad to help!
     
    Here's kind of a how to for Windows XP, but it still works the same:
     
     
    I would think True Image would be better compression and probably just
    as fast.
     

    Bob Comer - Microsoft MVP Virtual Machine
    • Marked as answer by Mahesha999 Thursday, July 19, 2012 4:43 PM
    Thursday, July 19, 2012 3:06 PM

All replies

  • Just copy the VHD with your Windows 8 install somewhere, then copy it
    back to restore...
     

    Bob Comer - Microsoft MVP Virtual Machine
    Thursday, July 19, 2012 12:42 PM
  • Thanks Bob, sure that will work, but the softwares like Acronis True Image have very high compression capabilities. Also I have created 60GB fixed sized VHD, out of which only 22 GB is currently used. When such was the case with the "physical system partition", with Acronis, I just used to create image of that used space. It has a separate option of sector by sector backup which makes the copy of entire partition partition along with the unused space. So is that possible? Yeah I know with Acronis backup I have to use Acronis to restore and that will also take extra time for compression and decompression while backup and restore, but anyways, is that possible?

    Is it possible to mount this VHD when I have booted from Acronis rescue disk so that it will work with VHD as a normal physical drive.

    Thursday, July 19, 2012 2:01 PM
  • I've never tried to restore an OS into a VHD, that might be a problem,
    I don't know.
     
    You can always copy the VHD to an NTFS compressed folder, which is
    halfway decent compression, especially for free space on the VHD, but
    again, you'd have to copy it back uncompressed so it takes more.
     
    If I were to use True image myself, I wouldn't use it in the VM, I'd
    use it on the host and back up the VHD file only -- that might not be a
    bad way to go -- you get True image compression and an easy restore.
     

    Bob Comer - Microsoft MVP Virtual Machine
    • Marked as answer by Mahesha999 Thursday, July 19, 2012 4:57 PM
    Thursday, July 19, 2012 2:22 PM
  • Hey thanks Bob, I did not guessed that VHD file can be backed up by Acronis :) Am stupid. But can you provide me a link about how to copy the VHD to an NTFS compressed folder. Must be easy. Am not much aware of. Can you also explain which one is better - in terms of compression or other aspects.
    Thursday, July 19, 2012 2:59 PM
  • No problem, glad to help!
     
    Here's kind of a how to for Windows XP, but it still works the same:
     
     
    I would think True Image would be better compression and probably just
    as fast.
     

    Bob Comer - Microsoft MVP Virtual Machine
    • Marked as answer by Mahesha999 Thursday, July 19, 2012 4:43 PM
    Thursday, July 19, 2012 3:06 PM
  • Great. That will work for sure. But guessing if there is any way to backup just the used space instead of backing up the whole file (along with the unused space inside it). That will be the ideal solution. Or it may be the case that after backing by one of these way, it achieves the compressions comparable to the just backing up the used space (12-14GB from 60GB which contains 22 GB of installation instead of 30-32 GB). 

    Anyway. Thank you. I am going to try this.

    Have you faced such need anytime / found similar way (backing up used space within VHD not the whole VHD along with the unused space within it)?  Or such solution may arise in near future?


    • Edited by Mahesha999 Thursday, July 19, 2012 4:57 PM
    Thursday, July 19, 2012 4:52 PM
  • The free space should mostly compressed out, so I wouldn't worry about
    it...
     

    Bob Comer - Microsoft MVP Virtual Machine
    Thursday, July 19, 2012 4:58 PM