When you try to perform a native boot from a virtual hard disk (VHD), the operation fails, and you receive the following Stop error message:
A problem has been detected and Windows has been shut down to prevent damage
to your computer.
An initialization failure occurred while attempting to boot from a VHD.
The volume that hosts the VHD does not have enough free space to expand the VHD.
Stop: 0x00000136 (0x00000000, 0xc0000007f, 0x000000, 0x000000)
Note The second parameter of the bug check is "0xc000007f - STATUS_DISK_FULL."
This problem occurs when you use a VHD that has been configured as a dynamically expanding VHD. When you perform a native boot, a dynamically expanding VHD is expanded to its maximum size. This Stop error occurs because the volume that hosts the VHD does not have sufficient free space to expand the VHD past that boundary.
To resolve this issue, free up sufficient space on the volume that hosts the VHD so that the VHD can expand to its full size. If the dynamically expanding VHD is larger than the capacity of the volume, you must re-create the VHD as a fixed-size VHD at the appropriate size.
A native-boot VHD has the following dependencies:
- The local disk must have at least two partitions: a system partition that contains the Windows 7 or Windows Server 2008 R2 boot-environment files and a Boot Configuration Data (BCD) store, and a partition to store the VHD file. For more information about disk partitions, visit the Understanding disk partitions Microsoft Web site. For more information about how to add a Windows 7 boot environment for a native-boot VHD, visit the Add a native-boot virtual hard disk to the boot menu Microsoft Web site.
- The local disk partition that contains the VHD file must have sufficient free disk space for expanding a dynamic VHD to its maximum size and for the page file that is created when you boot the VHD. The page file is created outside the VHD file. This differs from the case of a virtual machine, where the page file is contained inside the VHD.
Walkthrough: Deploy a virtual hard disk for native boot
Understanding virtual hard disks with native boot