Sign-in / Sign-up
Your question
Solved

Windows 7 Install to VHD Issues

Tags:
  • Windows 8
  • Windows 7
Last response: in Windows 7
February 19, 2014 6:54:13 PM

Hi All

I'm having an issue installing Windows 7 onto my VHD.

System:

Samsung Evo 250GB SSD (Windows 8.1)
Seagate 2TB HDD (D: Drive)
i5 3570k
Powercolor Vortex II 7970
Corsair 750w Gold PSU
Gigabyte GA-Z77-DS3H Mobo
8GB Corsair Vengeance RAM


I created a VHD on D:\VHDs\Win7.vhd and made it fixed at 50GB (using both diskpart and the GUI multiple times to try different scenarios such as MBR and GPT). The commands I used were:

diskpart

create vdisk file="D:\VHDs\Win7.vhd" maximum=51200 type=fixed

[success]

select vdisk file="D:\VHDs\Win7.vhd"

attach vdisk

create partition primary

assign letter=v

format fs=ntfs quick label=Win7



Using the GUI, I created the virtual disk, initialized, set as MBR (also tried GPT), formatted etc.

The VHD can be seen and mounted in Windows 8.1, and during the Windows 7 install, I can create a new .vhd using diskpart, and I can see the one I previously made in Windows 8.1.

The problem is, it won't let me install onto it, whether I've got it set for MBR, or GPT. The error message I get is "Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computer's BIOS menu."

I've installed Windows 7 to the HDD before, and Windows 8.1 to the SSD - both clean installs - no problem.

I've set the BIOS SATA to ACHI, and boot to UEFI and Legacy.

I plan to use boot to VHD to use Windows 7 for any games that don't work on Windows 8.1.

I've also tried only having the HDD plugged in, and everything else but the keyboard unplugged (also unplugged DVD. BD and SSD)

Anyone know where I'm going wrong?

Any help would be appreciated.

More about : windows install vhd issues

Best solution

a b * Windows 8
a b $ Windows 7
February 19, 2014 7:08:42 PM

Are you running Hyper-V? You must be running a virtual environment, you can't just install Windows 7 to a VHD file from Windows 8. The normal way to do this is to install it through Hyper-V.
Share
February 20, 2014 3:43:13 AM

mbreslin1954 said:
Are you running Hyper-V? You must be running a virtual environment, you can't just install Windows 7 to a VHD file from Windows 8. The normal way to do this is to install it through Hyper-V.


Ah right. No I'm not. I'm booting to the Windows 7 DVD and trying to install it from there.

Is there a way round that? Like using WAIK and using a reference PC to make an image? Or can it only be done in a virtual environment?

Thanks for the reply.

m
0
l
Related resources
February 20, 2014 4:25:43 AM

Never mind, I installed Client Hyper-V and installed it that way. Thanks very much.
m
0
l
a b * Windows 8
a b $ Windows 7
February 20, 2014 7:03:35 AM

Yeah, the whole point of a VHD file is that the operating system in that VHD file thinks that it is in its own virtual environment -- it thinks the VHD file IS the entire hard drive, and it thinks it has a whole virtual environment of virtual hardware to control. It's the Hyper-V or VMWare software that provides the fake hardware environment for it. Without the Hyper-V or VMWare software to provide the fake hardware environment, there's no "world" for that operating system in the VHD file.
m
0
l