New VM won't boot

Page 1 of 2 12 LastLast

  1. Posts : 1,524
    Win10 Pro
       #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 Computers


  2. Posts : 11,247
    Windows / Linux : Arch Linux
       #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 Computer


  3. Posts : 1,524
    Win10 Pro
    Thread Starter
       #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 Computers


  4. Posts : 11,247
    Windows / Linux : Arch Linux
       #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 Computer


  5. Posts : 913
    CP/M
       #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 Computer


  6. Posts : 17,661
    Windows 10 Pro
       #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 Computer


  7. Posts : 31,651
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #7

    jimbo45 said:
    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 Computers


  8. Posts : 1,524
    Win10 Pro
    Thread Starter
       #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 Computers


  9. Posts : 913
    CP/M
       #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 Computer


  10. Posts : 1,524
    Win10 Pro
    Thread Starter
       #10

    muchomurka said:
    "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
    New VM won't boot-error-1.jpg
    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 Computers


 

  Related Discussions
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:00.
Find Us




Windows 10 Forums