Windows 7 VHD Boot

Dienstag, 30. Juni 2009 |  by  |  Allgemein, Anleitung, Hardware

Die VHD-Boot Option soll die Möglichkeiten mit einem zentralem angepassten Image Installationen sowohl auf virtuellen wie auch Physikalischen Plattformen zu ermöglichen und soll den Test von verschiedenen Systemen, z.B. in Multibootumgebungen, vereinfachen. Mit dem nativen VHD Support lassen sich zudem VHD-Dateien wie Festplatten behandeln, VHD-Dateien lassen sich also wie eine normale Festplatte im Windows Diskmanagement mounten. Die Snapshot-Funktion der VHDs lässt sich zudem dann nutzen um Tests von Systemumgebungen generell zu vereinfachen, da Änderungen jederzeit wieder Rückgängig gemacht werden können:

Einige Funktionen werden in diesem Szenario allerdings nicht unterstützt – darunter VSS Backups, BitLocker,  Externe USB Festplatten & die Installation oder Upgrade eines Systems innerhalb einer VHD.

Die nicht unterstützten Funktionen  sind u.a. in den FAQ aufgeführt:

  1. FAQ im Technet
    http://technet.microsoft.com/en-us/library/dd440865(WS.10).aspx
  2. Previous versions of Windows do not support native VHD boot. Windows Vista and Windows Server 2008 (and previous versions of Windows) do not support native boot. Native boot from VHD requires significant changes to the operating system and these changes are new in Windows 7.
  3. Using compressed or encrypted VHDs for native boot is not supported. VHDs that have been compressed by NTFS or encrypted using Encrypting File System on the host volume are not supported for native boot.
  4. Configure native VHD boot if the host volume is protected by Bitlocker. You can save a VHD on a host volume that is BitLocker protected but you cannot use the VHD for native boot or enable Bitlocker on the volume(s) contained inside a VHD.
  5. Booting to a VHD that is located on a remote share or a USB disk drive. The VHD must be on a local disk, not on a remote share. Furthermore, you native booting from a USB disk drive is not supported; however, you can save VHDs to a USB disk drive. The exception to USB boot support is the Windows Pre-installation Environment (WinPE), which is designed for deployment and servicing scenarios. However, booting WinPE from a VHD is not supported.
  6. Hibernate functionality is not supported. Native VHD boot is primarily targeted for deployment scenarios where hibernate is not a critical feature.
  7. Upgrading the operating system from within a VHD. If you boot into a VHD, you cannot upgrade the Windows version in the VHD to a newer version.

Bei der Einrichtung von Windows 7 oder Server 2008 R2 für booten von VHD ist grundsätzlich zu beachten, dass keine Installation des Systems durchgeführt wird, sondern Sie ein WIM-Image auf die VHD-Datei anwenden müssen. Die Installation eines Systems (von DVD) auf eine VHD oder das Update eines Systems, das als VHD startet ist so nicht supported.

Sie können also z.B. das Windows Installationsimage (install.wim) direkt über ImageX anwenden oder Sie nutzen z.B. das WAIK um eine Installation auf einem System anzupassen und dann dieses Image der angepassten Installation zu verwenden.

Damit Sie diese VHD-Dateien dann auch zwischen verschiedener Hardware verschieben können und zudem eine eindeutige SID erhalten ist das Generalisieren des Images über Sysprep unbedingt empfohlen.

Aktuell halte ich die Dokumentation auf den Team Blogs zur Einrichtung der Funktionen sinnvoller als die teilweise noch nicht ganz fertig gestellte Dokumentation im TechNet.

  1. Ausführlicher Überblick zum Booten von VHD:
    http://blogs.technet.com/virtualization/archive/2009/05/14/native-vhd-support-in-windows-7.aspx
  2. Zweiteilige Schritt-für-Schritt Anleitung:
    http://blogs.technet.com/aviraj/archive/2009/01/17/windows-7-boot-from-vhd-first-impression-part-1.aspx
    http://blogs.technet.com/aviraj/archive/2009/01/18/windows-7-boot-from-vhd-first-impression-part-2.aspx
  3. http://edge.technet.com/Media/Windows-7-Boot-from-VHD/

Schade, dass ISO Dateien nicht so einfach gemounted werden können, das brauche ich andauernd.


1 Comment


  1. you can mount an ISO file as a folder with the tool “Pismo File Mount Audit Package”. the mounted iso file is accessible like a folder (in contrast to zip files does it work system wide so you can even share the content of mounted ISO files).
    for your convenience I’ve put the link to the page into the webside textbox.

Trackbacks

  1. Installation von Windows 7 in eine Virtual Hard Disk - drwindows.de

Leave a Reply