New VM won't boot Solved

Page 1 of 2 12 LastLast
  1.    14 Nov 2018 #1

    New VM won't boot


    Here's the issue I'm having with trying to create a working VM on machine "B":

    Machine "A" the source:
    Multiboot machine with Win10 Pro, Win7 Pro, and Linux Mint. Each OS is installed on a separate drive. Its working fine with no problems. I am able to run all three systems. The multiboot menu is the Metro style.

    Machine "B" the host:
    Win10 Pro with Hyper-V

    What I am trying to do is to create a VM ON Machine "B" of the Win7 Pro OS FROM Machine "A". Here's what I have done so far:

    Created a vhdx of the Win7 OS disk on Machine 'A" using Disk2VHD, moved it to Machine "B" and created a VM. It did not run. It failed to a black screen with "A disk read error occurred. Press CTRL+ALT+DEL to restart"

    Used Macrium ivBoot from a backup image file of the Win7 OS disk from Machine "A" and it failed as well saying "An operating system wasn't found. Try disconnecting any drives that don't contain an operating system -
    Press CTRL+ALT+DEL to restart."

    Created a vhdx's of the of the System Reserved partition and the Win7 OS disk on Machine "A" and attached both to a new VM on Machine "B". That booted to a Recovery screen that said your PC needs to be repaired. A required device isn't connected or can't be accessed Error code: 0x000000f. It had the usual options. (Enter, F8, and F9). Pressing F8 displayed a different error indicating a required file couldn't be loaded because it was missing or contained errors, File \Windows\system32\winload.exe Error code 0x0000225. Pressing F9 brought up the black Windows Recovery console.

    Lastly I created a vhdx of the Win10 disk (with the System Reserved partition) and one of the Win7 OS disk and created a VM with them. When run I could select Win10 from the boot menu and it ran fine but when Win7 was selected nothing happened. I am very surprised this did not work.

    I think I've reach my appropriate level if incompetency so an further assistance would be greatly appreciated.
    Last edited by SoFine409; 15 Nov 2018 at 10:44. Reason: Clarity
      My ComputerSystem Spec

  2. jimbo45's Avatar
    Posts : 6,356
    Windows / Linux : Centos, Ubuntu, OpenSuse
       15 Nov 2018 #2

    Hi there
    I'm not sure why you would want to "Multiboot" a VM although it can be done.

    The whole point surely of having different VM's is that they are all GUEST OS'es and you can boot them all concurrently --- assuming the hardware has sufficient resources. A typical laptop though can usually handle 2 or 3 without a problem running at the same type.

    I don't think also W7 supports VHDX so I'm not sure you'd get it to boot in any case.
    I think for W7 you have to use VHD --- open to correction here. I would just tend to create the W7 machine by installing the guest as you would a normal OS.

    Cheers
    jimbo
      My ComputerSystem Spec

  3.    15 Nov 2018 #3

    Hi jimbo45 and thanks for your reply. I’m afraid my inital post wasn’t clear. Let me clarify what I’m trying to do. I’m trying to take a VHDX made FROM Win7 on a multboot machine and use it to create a VM on another Win 10 machine with Hyper-V. Seems that nothing I do can get the Win7 VM to successfully boot. I’ve tried using a Win7 install disk to do a repair of the boot files on the Win7 VM but that’s been unsuccessful. I’m stumped.

    BTW I’ve gone back and corrected my initial post for clarity.
      My ComputerSystem Spec

  4. jimbo45's Avatar
    Posts : 6,356
    Windows / Linux : Centos, Ubuntu, OpenSuse
       15 Nov 2018 #4

    Hi there
    another possibility for you.

    1) download Free macrium.
    2) boot into the working W7 image VM on the old machine.
    3) install macrium on the w7 guest
    4) take an image of it.

    5) now on the new machine simply create a new VM -- just the vhdx file - without the OS in it.

    6) create bootable iso file from macrium.
    7) run the restore -- restore image of w7 system to your new vhdx file.

    Should work.

    Cheers
    jimbo
      My ComputerSystem Spec

  5.    15 Nov 2018 #5

    Some possible reasons for non-booting VM:

    - source system is UEFI-based and hypervisor does not support UEFI boot inside VM (I am not sure if this is true for Hyper-V, not using it)
    - some required Windows partition is missing in VM (typically GPT Reserved or System Partition)
    - missing grub2 code from linux partition (loader in mbr/bootsector is not sufficient)
    - grub2 code at different lba offset in virtual disk (consequence of repartitioning)
    etc...

    I recommend to include the whole disk into p2v migration, then you can experiment.
      My ComputerSystem Spec

  6. Kari's Avatar
    Posts : 15,382
    Windows 10 Pro
       15 Nov 2018 #6

    See this tutorial, in case you use Disk2VHD on a UEFI machine with GPT partitioning, there are some additional steps to be taken before you can use the VHD on Hyper-V: Hyper-V - Create and Use VHD of Windows 10 with Disk2VHD | Tutorials

    Kari
      My ComputerSystem Spec

  7. Bree's Avatar
    Posts : 9,933
    10 Home x64 (1809) (10 Pro on 2nd pc)
       15 Nov 2018 #7

    jimbo45 said: View Post
    Hi there
    another possibility for you.

    1) download Free macrium.
    2) boot into the working W7 image VM on the old machine.
    3) install macrium on the w7 guest
    4) take an image of it....
    At this point, wouldn't it be simpler just to use Macrium's viBoot to run the Macrium image itself as a VM in Hyper-V?
      My ComputersSystem Spec

  8.    15 Nov 2018 #8

    Thanks for all of the responses. Some of the suggests I've already tried and one I'm not sure I understand so I thought I'd go back an rewrite my initial post to include some additional information and some of the things I've tried.
    Last edited by SoFine409; 15 Nov 2018 at 10:45.
      My ComputerSystem Spec

  9.    15 Nov 2018 #9

    "File \Windows\system32\winload.exe Error code 0x0000225"

    ...seems that loader from Win10 System Partition has wrong path to Win7 OS.

    - do not mix System and OS partition into one VHD file, create two ones
    - both the VHDs must be connected in the right order as in source PC
    - in VM bios should be set correct boot order

    If the problem persists, boot from recovery media & fixboot and/or bcdedit /create may be needed.
      My ComputerSystem Spec

  10.    15 Nov 2018 #10

    muchomurka said: View Post
    "File \Windows\system32\winload.exe Error code 0x0000225"

    ...seems that loader from Win10 System Partition has wrong path to Win7 OS.

    - do not mix System and OS partition into one VHD file, create two ones
    - both the VHDs must be connected in the right order as in source PC
    - in VM bios should be set correct boot order

    If the problem persists, boot from recovery media & fixboot and/or bcdedit /create may be needed.
    thanks muchomurka, Iíll go through your suggestions later this afternoon. BTW the system partition and the os are in fact two separate vitrual disks. I assume they both should be attached to the same controller with the system one first. Iíll need to learn how to set the boot order in Hyper-V. Never done that before. Iíll report back in a few hours.

    UPDATE:
    No success but here's what I did:
    I made sure that the two VHDs were attached in the same order as on the original machine with the system partition ahead of the OS. I made sure that were on the same IDE controller and they were set at the top of the boot order.

    It booted up to the Recovery screen with the same error as before
    File \Windows\system32\winload.exe Error code 0x0000225". Next a booted to the Win7 installation DVD and ran the automatic repair. After much testing it gave me this
    Click image for larger version. 

Name:	Error 1.JPG 
Views:	16 
Size:	37.0 KB 
ID:	212411
    I search for an answer and learned that a patch might be preventing the system from starting. I tried using DISM.exe /image:d:\ /cleanup-image /revertpendingactions. It completed successfully but unfortunately it did not help.
    Any further thoughts?
    Last edited by SoFine409; 15 Nov 2018 at 16:00. Reason: Update
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Did a re install with boot disk, not when the computers boots, its asking for the boot disk. I tried changing the startup order in the Bios having the HDD with windows installed on it as the First, but it still will not load without the boot disk.
Is there currently any way to configure a custom boot logo for UEFI booting? I can only find methods for Legacy users, but no luck with UEFI. I'm kind of new to custom boot logos, so if anybody could give me some information as to if it's...
Hello everyone I have a Samsung laptop using Windows 10 and a couple of days ago a blue screen with an unmountable boot volume error showed up after booting, saying the computer would be restarted.After restart a loading recovery option message...
Hi, I recently discovered this awesome forum, I'm wondering if someone can help me with this issue. I'm really desperate ... :sick: My tablet's model is Linx 1010 (Intel Atom Z3735F 1.33Ghz, 2GB RAM) with Microsoft Windows 10 32 bits...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:38.
Find Us