Windows 8 and 8.1 Forums

Need help installing OS to VHDX drive

  1. #1

    Need help installing OS to VHDX drive

    I got Hyper V setup (I think). The GUI client starts and I can go to the server. I could not get the continuous page after page setup to work unless I first set up a virtual hard drive. I think there was an option to install the OS if I set up the Vm and the VHd at the same time. I am now starting the VM and connecting to it and trying to install the OS using my original OS disk in the CD/DVD drive. It went to drive/DVD and I got the usual promtp: what do you want to do, including "run setup" which is what I selected.

    When I do that it takes a long time to setup/copy files and when it gets tot he screen as to what partition to install to, it only shows the system reserved, my boot partition, my data partition (which has the VHDX) and my MBR (BootIt Bare Metal main boot record) partitions. At this point I stopped the OS installation by powering down as while I had these all imaged/backed up I did not want to overwrite any of them. it did not show the VHDX as an option to which to install.

    as for other options like install over a network, my network adapter doesn't show and even if I made an ISO image of my OS disk, i don't know how I would get access to it.

    In setting up Hyper V I ran the following in a supershell:
    enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

    I tried to run the following in a command prompt:
    Dism /online /enable-feature /featurename:Microsoft-Hyper-V –All
    but got an error that it did not recognize " -all "
    I then ran it without the dash or maybe with a slash in front of it (I can't remember).
    I don't even know what this command does and whether it could have an effect on installing an OS to a VHD.

    I am running Win 8.1 Pro on an x220 with 8Gb RAM and a 500Gb SSD. I am trying to install Win 7 Ultimate on the VHD.

    I would appreciate any help on how to install the OS to a virtual hard drive.

      My System SpecsSystem Spec

  2. #2

    Posts : 1,875
    Windows 10 Pro Prieview x64

    You should be able to do it all from the GUI. Create the VM and the disk, attach the CD player and start the machine. If you have an ISO you can use that instead - see step 11 here.

    Hyper-V - How to Use in Windows 8

    Try it this way - it is pretty simple - at least compared to trying to do it through PowerShell.
      My System SpecsSystem Spec

  3. #3

    I am using the Hyper v GUI.

    Here are some screen shots:

    Click image for larger version

    Click image for larger version

    I get to this point and it wants to install to my non-VM partitions. the virtual hard drive is not an option on the next (?) screen.
    Last edited by Tambourineman; 02 Sep 2014 at 20:02.
      My System SpecsSystem Spec

  4. #4

    Posts : 1,875
    Windows 10 Pro Prieview x64

    Please turn off the VM and do some screen prints of the settings for the disk. It should look something like the picture below:

    If you have only one VHDX defied and the path is as you like then you can't install it anywhere else as the VM can only see what you have defined it to see...
    Attached Thumbnails Attached Thumbnails Settings 2.PNG  
      My System SpecsSystem Spec

  5. #5

    A Finnish ex-pat in Leipzig, Germany
    Posts : 1,452
    Windows 8.1 Pro with Media Center

    Quote Originally Posted by Tambourineman View Post
    I get to this point and it wants to install to my non-VM partitions. the virtual hard drive is not an option on the next (?) screen.
    Continue as usual to install Windows, your screenshots show everything is correct. A virtual machine acts and behaves as any computer, it does not see the virtual hard drive you have created for it as virtual drive but as a normal HDD. What you see on your host system as a virtual hard drive is for the Windows 7 virtual machine a totally normal HDD.

    Click image for larger version

    Simply click next and continue installing. Everything is OK, according to your screenshots.

    Tutorial: Hyper-V - How to Use in Windows 8

    Last edited by Kari; 03 Sep 2014 at 05:20. Reason: Added tutorial link
      My System SpecsSystem Spec

Need help installing OS to VHDX drive
Related Threads
How to Mount and Attach a VHD or VHDX File in Windows 8 This tutorial will show you how to mount and attach either a VHD (Virtual Hard Disk) or VHDX (Hyper-V Virtual Hard Disk) file as a drive in the Computer window for all users in Windows 8. Mount and attach is the same. You must be signed...
VHDX licence question in Virtualization
Can I (correctly) convert my current 8.1 (retail) into VHDX and boot from it using the same 8.1 boot loader or not? I honestly don't know if I would be running two instances. Would it work if I deleted the C:/ partition and booted the VHD from another disk or partition? Would that be OK? ...
I just loaded Windows 8 to a 256GB SSD. Can I install my other programs, such as Office, on another Hard Drive so that I do not run out space on my SSD?
this is bugging me, i only have a 60 gb ssd (The one that windows is install on) and it has only 18gb free left and i have another 60 gb of ssd and a 2tb hard drive and was wonder if i can install the app to a different hard drive. Sorry about my bad wording.
Hi Guys, I have an old Motion M1400 tablet PC (circa 2001). I'd like to try 8 on it but I have hit a snag. A little while back the proprietary (Thanks Motion) hard drive connector broke. Being the geeky hacker type that I am I internalised one of the USB ports and ran Ubuntu happily from USB. ...
I installed the Win 8 CP through a usb. I had 5 drives in that hard drive. After installing win 8 on C drive the "D" drive disappeared. I tried gparted and that drive was flagged as lba.I removed the flag.Next thing windows doesn't even boot. Repaired the Win again through usb setup. But now other...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook