Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Trying to install bootable Windows 7 on a Virtual Hard Drive


06 Nov 2012   #1

Windows 8 Professional x64
 
 
Trying to install bootable Windows 7 on a Virtual Hard Drive

I'm trying to install 7 on a VHD using the command prompt. Now it does work but the problem is that it installs 7 Basic when I do it like this. I have Professional. Now I can use the Anytime Upgrade and use my product key to get Pro activated but because I'm in basic, 7 won't work on the VHD at boot. When it asks for my product key upon first time setup, it doesn't work since it's looking for a Basic product key.

Is there a way to get 7 Pro on the VHD through the CMD?


My System SpecsSystem Spec
.

06 Nov 2012   #2

Windows 7 Ultimate x64
 
 

Welcome to Seven Forums,

Is there a reason you have to do it through CMD?
My System SpecsSystem Spec
06 Nov 2012   #3

Windows 8 Professional x64
 
 

Thanks.

I'm trying to install it on a VHD, which is located on my C drive. When I try to boot with the disk and install, it doesn't detect the VHD partition. So without the option, I assume CMD is the best way to do it. Unfortunately, I only get Basic through that. I am using Imagex.exe to do it, if that makes a difference.

Also, I'm just trying to see if it'll work. It seems like a decent and quick way to install operating systems and using VHDs, there's a lot I can mess with.
My System SpecsSystem Spec
.


06 Nov 2012   #4

Windows 7 Ultimate x64
 
 

If I remember correctly, you can install Windows in a VHD through VMware.

Using VMware, a virtual machine manager, it would create and install Windows on a VHD which you could use for what you want.

I think you will have to change the default type of the virtual hard drive to a VHD instead of VMwares specific type.
My System SpecsSystem Spec
07 Nov 2012   #5

Windows 8 Professional x64
 
 

Well, I changed the "1" to a "3" in the CMD and got professional. Product key worked but it still won't boot into Windows using the VHD. Disappointing.

I'll check out the program you suggested and see what happens.

EDIT: Just found out that it won't boot from a VHD in Professional. It will only work in Ultimate or Enterprise. Very disappointing.
My System SpecsSystem Spec
07 Nov 2012   #6

7 x64
 
 

Quote   Quote: Originally Posted by Chrono View Post
Well, I changed the "1" to a "3" in the CMD and got professional. Product key worked but it still won't boot into Windows using the VHD. Disappointing.

I'll check out the program you suggested and see what happens.

EDIT: Just found out that it won't boot from a VHD in Professional. It will only work in Ultimate or Enterprise. Very disappointing.
Totally NOT true. I run 7, 8, Linux and XP from a Virtual HDD (VHD) without problems. Your problem comes from trying to boot to the VHD without a Virtual Machine Program installed on your system. With all virtual machines it need a HOST OS to work from. It can't boot without first loading the Host OS.
My System SpecsSystem Spec
07 Nov 2012   #7

Windows 8 Professional x64
 
 

Quote   Quote: Originally Posted by edwar View Post
Quote   Quote: Originally Posted by Chrono View Post
Well, I changed the "1" to a "3" in the CMD and got professional. Product key worked but it still won't boot into Windows using the VHD. Disappointing.

I'll check out the program you suggested and see what happens.

EDIT: Just found out that it won't boot from a VHD in Professional. It will only work in Ultimate or Enterprise. Very disappointing.
Totally NOT true. I run 7, 8, Linux and XP from a Virtual HDD (VHD) without problems. Your problem comes from trying to boot to the VHD without a Virtual Machine Program installed on your system. With all virtual machines it need a HOST OS to work from. It can't boot without first loading the Host OS.
I got the idea to do this here:

Installing a Fresh Windows OS to a New Bootable VHD with no Host OS for Boot to VHD | John Papa

He says you can boot a VHD straight off the HDD without a host OS. I assume a Virtual Machine Program would be something like VMware?
My System SpecsSystem Spec
07 Nov 2012   #8

W7 Pro SP1 64bit
 
 

According to this thread...
Compare Windows 7 Editions
...you are correct, only the Ultimate and Enterprise flavors of Windows 7 will boot to a VHD without a host OS. The author of that blog should edit it to state that upfront. It would save some people some time.

As far as using a VM program - yes, you can...
...load an OS (might need an OS license)
...then install VM software (like VirtualBox)
...then create a VHD to install Windows 7 into (need Windows 7 license).
My System SpecsSystem Spec
08 Nov 2012   #9

Windows 8 Professional x64
 
 

Okay, I downloaded Virtual Box. I suppose there isn't a way to install 7 via CMD with it? Haven't used it before. Also, using VB, I assume I need a host OS to use the Virtual OS file?
My System SpecsSystem Spec
08 Nov 2012   #10

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Chrono View Post
Okay, I downloaded Virtual Box. I suppose there isn't a way to install 7 via CMD with it? Haven't used it before. Also, using VB, I assume I need a host OS to use the Virtual OS file?
Yes you need a host OS to to run the virtual OS.

As for installing, just use your Windows 7 install disc when your creating the virtual machine. The program walks you through it
My System SpecsSystem Spec
Reply

 Trying to install bootable Windows 7 on a Virtual Hard Drive




Thread Tools



Similar help and support threads for2: Trying to install bootable Windows 7 on a Virtual Hard Drive
Thread Forum
Hard Drive failure during making USB-bootable Windows 7, DRMK error BSOD Help and Support
How do I make my new hard drive bootable? Installation & Setup
Solved Making Second Hard Drive Bootable Again. Installation & Setup
Make Usb hard drive Bootable General Discussion
Install Windows 7 from a Virtual Drive? again Installation & Setup
How do I make my new hard drive bootable? Hardware & Devices
USB hard drive a bootable Windows 7 install disk News

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:46 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33