Windows 10: Create a VM from W8.1Pro before upgrading to W10

Discus and support Create a VM from W8.1Pro before upgrading to W10 in Windows 10 Virtualization to solve the problem; I have no sources to cite but Microsoft could blacklist the key for both OS's on their server. Discussion in 'Windows 10 Virtualization' started by VMNewbie, Jun 2, 2016.

  1. sml156 Win User

    Create a VM from W8.1Pro before upgrading to W10


    I have no sources to cite but Microsoft could blacklist the key for both OS's on their server.
     
    sml156, Jun 2, 2016
    #16
  2. lx07 Win User

    Yeah, they could. They could also block all the other 5 billion dodgy XP and 7 installs if they felt like it.

    I guess they don't want to. I wonder why... Advertising presumably.
     
  3. VMNewbie Win User
    Thank you for the information on MS licensing. I have the appropriate licenses and if I can get the VM up and running, I have a full blown license of 7, 8.1 or 10 I can use on it but updating the key - so that is not my issue, nor what I asked about.

    I was asking about how to make a VM from a physical machine and be able to boot from it. I made the VHDX, I can mount and access that VHDX on another machine. I just can't get it to boot. My suspicion is now that I need to edit the file so that it is looking at the proper place for the UEFI and O/S as per that article in my first post.

    I think the issue is I need to edit the file so it looks to the proper location of the UEFI and O/S.
     
    VMNewbie, Jun 2, 2016
    #18
  4. Kyhi Win User

    Create a VM from W8.1Pro before upgrading to W10

    that is easy....

    Assuming the VHDx file is on a USB and that the VHDx file is being mounted to the USB...

    Mount the VHDx

    Bcdboot VHDx:\windows /s USB:\

    that will write the VHDx Boot files to the drive that is hosting it..

    Use the actual drive letters for USB and VHDx

    if the VHDx is on the Host PC Drive

    then bcdboot VHDx:\windows

    to add to host boot menu..

    Attachment 83159

    Windows 10 VHD added to Windows 8.1 BootMenu - Booting VHD from Data Drive...
    Windows 10 got Digitial Entitlement from the Windows 8.1 OS..
    Since I can Only Boot and use one OS version at a time - it is legal....

    Now if that VHD was portable - the PC that the VHD was booted into would have to have received Digitial Entitlement or windows 10 activation would be knocked out....

    the problem with Windows to Go - is you need a volume license... to maintain activation when switching between different PC's
     
  5. lx07 Win User
    No, it is not easy. Well OK it is easy but not trivial.

    A VHD (or VHDX) is like any other disk - it can be formatted as either GPT or MBR.

    The method is different.

    For generation 1:
    bcdedit /copy {default} /d "Boot from Foobar.vhdx"
    bcdedit /set {guid} device vhd="[D:]\VHDs\Foobar.vhdx" (replacing guid with the generated guid and D with the drive the vhdx is on)
    bcdedit /set {guid} osdevice vhd="[D:]\VHDs\Foobar.vhdx"
    bcdedit /set {guid} detecthal on

    For generation 2:
    mount vhdx
    bcdboot F:\Windows (replacing F with the drive it vhdx is mounted to)
    bcdedit /set {default} description "Boot from Foobar.vhdx"

    Normally I would use VHD formatted MBR as it is smaller and faster than VHDX. There arguments to use VHDX instead of VHD (journalling really) but I tent to not bother. I can't think of any reason to make a VM using GPT but perhaps there is a reason I didn't consider.

    You are quite right about licensing of course.
     
  6. Kari Win User
    I think the problem is in Disk2VHD, how it creates the VHD or VHDX file; it for some reason leaves the EFI system partition empty.

    It works perfectly when creating a VHD or VHDX from a BIOS / MBR system.

    See the screenshot. On the right is the source, an UEFI / GPT machine (virtual) from which I created a VHDX using Disk2VHD. The EFI system partition contains the EFI folder as it should.

    On the left is the new virtual machine, created using the VHDX made from the machine on right using Disk2VHD. The EFI system partition is empty.

    Create a VM from W8.1Pro before upgrading to W10 [​IMG]

    (Click / tap to enlarge.)
     
  7. VMNewbie Win User
    I appreciate your helps and want to make sure I understand what you mean, so to clarify:
    USB drive is D:, on it resides the VHDX file. When I mount the VHDX file it is mounted as E:

    Thus, if I understand you right my command will look like (without the quotes"?
    "Bcdboot VHDE:\windows /s D:"

    including no space between "VHD" and "E"?

    thanks again.
     
    VMNewbie, Jun 4, 2016
    #22
  8. Kyhi Win User

    Create a VM from W8.1Pro before upgrading to W10

    Bcdboot E:\windows /s D:

    E:\ = VHD File
    D:\ = USB Stick
     
  9. VMNewbie Win User
    Unfortunately it still won't boot as a VM.

    I ran the bcdboot command as per above, and it said it succeeded. And it created an EFI directory:

    Create a VM from W8.1Pro before upgrading to W10 [​IMG]


    But when I start the VM I still get the message:

    Create a VM from W8.1Pro before upgrading to W10 [​IMG]


    In the VM settings here is the boot drive info:

    Create a VM from W8.1Pro before upgrading to W10 [​IMG]


    Any thoughts on what I am doing wrong and how to fix it?
     
    VMNewbie, Jun 5, 2016
    #24
  10. VMNewbie Win User
    I suspect that per this article Preparing Virtual Hard Disks for Boot

    I need to do one more step - "Use the bcdedit /store <path> option to specify the BCD file inside the VHD as the BCD store,"

    Do you agree?
    Never mind, that didn't work either.
     
    VMNewbie, Apr 5, 2018
    #25
Thema:

Create a VM from W8.1Pro before upgrading to W10

Loading...
  1. Create a VM from W8.1Pro before upgrading to W10 - Similar Threads - Create 1Pro before

  2. creating a VM

    in Windows 10 Virtualization
    creating a VM: I would like to create a VM, and I have watch video's on how to do this. The end product of what I'm looking for is to install Windows 11 on my F drive (SSD (500gb)). I've already found and made my windows 11.ISO file as well which is over on my C drive. If I create a VM and...
  3. New Pc old Key W8 that I got free upgrade to W10

    in Windows 10 Installation and Upgrade
    New Pc old Key W8 that I got free upgrade to W10: Hi, this one is tricky. I had this same key since W7. Bought the update to W8. And in 2015/2016 I've got a free update to W10. I had to sell my computer 2 years ago. I have saved the key but it's wasn't upgraded since it had a updater software. If I'm not mistaken, when I...
  4. Upgraded laptop to W10 from W8, reset this PC won't complete

    in Windows 10 Installation and Upgrade
    Upgraded laptop to W10 from W8, reset this PC won't complete: I am trying to reset a laptop, removing all files and cleaning the drive. I get "There was a problem resetting your PC." Any ideas on how to remedy? Thanks....
  5. Upgrading a W8 to W10 VM in VMWARE

    in Windows 10 Virtualization
    Upgrading a W8 to W10 VM in VMWARE: Hi there If you want to do an inplace upgrade of W8 to W10 in a VMware Virtual Machine UNINSTALL VMWARE TOOLS before you do the upgrade and then re-install them afterwards. Set the ISO image as your CD /DVD drive and simply run the setup from WITHIN the existing Virtual...
  6. Create W10 VM of your RUNNING machine (VMWARE)

    in Windows 10 Virtualization
    Create W10 VM of your RUNNING machine (VMWARE): Hi there An easy way of creating a W10 VM (or any other OS) of your RUNNING machine is simply to start up the VMWARE CONVERTER. You need to be in administrator mode. Configure the target machine, - unclick DATA drives if you just want to start with creating the system....
  7. W10 update from W7/W8/W8.1 still working !!!!

    in Windows 10 Installation and Upgrade
    W10 update from W7/W8/W8.1 still working !!!!: Hi folks. Not sure how long this will continue to work but the Free update from W7/W8/W8.1 is STILL working as of 16 Nov 2017. I entered an old Technet key for W8.1 pro on a clean install of W10 pro via the media creation tool. No probs -- activated with Digital...
  8. Clean install w10 from w8

    in Windows 10 Installation and Upgrade
    Clean install w10 from w8: Hi guys, I'm stuck at a point where I cant go back nor proceed further, please assist me.. My scenario is i tried clean installation of w10 but as my partition is in GPT format it is not accepting, what I did as a mistake is I formatted the drive having w8, now my pc isnt...
  9. Can't reinstall W8 from W10 using CD

    in Windows 10 Installation and Upgrade
    Can't reinstall W8 from W10 using CD: Hello, I'm trying to reinstall W8 using my CD but in the Windows Setup, clicking Upgrade gives me a Compatibility Report that tells me to remove the CD, restart my computer so Windows starts normally, then reinsert the CD to restart the upgrade. Clicking Custom and then...
  10. W10 screen snap like W8

    in Windows 10 Support
    W10 screen snap like W8: Hi I've just upgraded my laptop to W10 from W8. What I used to do on W8 is say watch the FilmOn app on the right hand side of the screen and use the left hand side to do everything else - outlook, chrome, word, excel...any desktop software. I'd flick between them and the...