Robert's profileThe System Center Connec...PhotosBlogListsMore Tools Help

    Windows 2008 R2 Add VHD disk or boot from VHD disk

     

    Did You know that you can add a VHD disk to your windows 2008 R2 Server and /or boot from it ?

    You can easy edit the VHD and reuse it in hyper-v.

    So go to disk manager and right click on disk management image

    You can create a new VHD. image If you use dynamic make sure you have the disk space that u needed.

    I use a fixed disk with windows 7 on it. that I use in hyper-v as golden Image for my desktops.

    image fill in the VHD location. image  You can make it read only if you need software install that is on a VHD, I have a VHD with all the ISO files on it that I can mount on every server if I need to install extra software or tools.

    But now I use the Windows 7 VHD image now that I mounted the disk I can use it.

    I need a WallPaper on the windows 7 image image

    image now I can do a offline or detach vhd , If I don;t I get this error in hyper-v

    image even if the disk is offline image

    image You can also delete the VHD ;-)

    image image image

    or You can boot from the VHD it is just like in windows 7   mount it and use bcdedit to change the boot string.

    below are samples.

    bcdedit /set {GUID} device file=[c:]\vhd\win7.vhd
    bcdedit /set {GUID} osdevice file=[c:]\vhd\win7.vhd

     

    Here are some articles and video about booting from VHD.
    http://blogs.msdn.com/cesardelatorre/archive/2009/01/11/windows-7-natively-booting-from-a-vhd-virtual-pc-image-file.aspx


    Inside Windows 2008 R2 Virtualization Improvements and Native VHD Support (Mark Russinovich)
    http://www.microsoft.com/emea/teched2008/itpro/tv/default.aspx

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://fiberman.spaces.live.com/blog/cns!E5B4A8E2BC67723E!2369.trak
    Weblogs that reference this entry
    • None