VHD-installed Win7 X64 system migrated to VMware Virtual machine (P2V) ...

Source: Internet
Author: User

The author's notebook above using the VHD method installs the Win7 with the UEFI BIOS, then feels the double system cut is troublesome, because this Win7 has already configured the related development environment and the database, the reinstallation again has to reset again, therefore intends to transfer the physical machine's system to the virtual machine

Before the transfer in the online search, found a lot of relevant cases, think this time should not step on the pit bar ...

1: Because it is a VHD-mounted system that wants to create a new virtual machine directly in Hyper V and then mount the VHD hard disk file, it should be done and start testing.

After a series of settings (Ps:hyper-v virtual machine first generation does not support UEFI, second generation support, need attention), start the virtual machine, the results are always prompted to find the startup item ...

Well, I'll take a look at the advanced PE, mount the PE ISO into the PE, open the Partition Wizard to see, CA, my EFI partition where to go, okay I was then directly on the EFI partition of the physical disk with the VHD boot, that now only a little space to re-boot, First use the Partition Wizard to draw an EFI boot partition, and then use DISM or BCDboot to rebuild the boot.

Restart the machine after completion, the result is still unable to start ...

Still can't find the startup item, later I studied the setting, found the "Enable safe boot" This is the selected state, it should be the reason, so the hook went

Duangduang, Familiar interface

But waited for 1 minutes ... 3 minutes ... 5 minutes ... No, why are you still on this page, forcing the virtual machine to shut down?

EMM: The feeling should be the driver of the problem, I search to see if there is no special software

Discover a Microsoft "Disk2vhd" gadget

After downloading the test on the physical machine system, the results are available

After switching to the VHD system, the DISK2VHD is turned on and it is found that the partition inside the VHD is not recognized ... Only the partition of the physical disk ...

All right, we have to find a way back.

Symantec system Recovery: Backup software, can be heterogeneous restore, but too large (VHD system left 1G space), and is still charged, Pass

acronisbackup_12.5: The same is the backup software, propaganda support P2V,V2V, but the fee software, and the file is very large, Pass

SCVMM: Too big to install MS SQL Good trouble, Pass

Since Hyper-V may be a driver problem, I'll try to run a virtual machine on VMware

2:vmware virtual machines do not support VHD-formatted virtual disks, so you need to find ways to convert VHDs to VMDK files

Search for a gadget starwindconverter, a VMware and virtual VM Format Mutual Transfer tool, and start testing

The conversion process is simple and there are no complex settings.

When the conversion is complete, it is mounted to VMware's new virtual machine, and the results are still not able to be started ...

Using PE again to view the converted VMDK disk situation, the results found that the partition of the disk is very strange, disk 0, the above shows unallocated space, and the local disk, local disk partition and unallocated space size, using DISM to repair the partition hint does not support the pretext that the system is unknown state, The conversion can be problematic because it is not a virtual machine-generated VHD.

Later, I tried to mount the VMDK on the physical machine, and then use Partition Wizard to clone the VHD disk, the system does not recognize the disk after cloning, but into the PE with the Partition Wizard can see the file ...

3: Disk cloning does not seem to work, just this time to see the Partition wizard inside a "Virtual disk format conversion" function, just can try

After selecting the VHD file and generating the address, start the conversion, then import the converted vmdk file into the VMware virtual machine, the boot test

Results... When the four-color point is merged blue screen, code 0xc000007b, so change the security mode results stuck in Classpnp.sys

However, 7b this code is generally due to disk-driven problems, such as the installation of the system is the AHCI mode, and later in the BIOS changed to IDE mode, which will cause this blue screen

Well, that should be the reason, so delete the added VMDK disk First, then choose SATA Mode when importing

Finally can start normally after the system will automatically update the virtual machine driver, and then you can use.

Come back and test the Hyper-V, and find out that it's stuck in Classpnp.sys, but there's no disk setup in Hyper-V, so try injecting hyper-V SCSI drivers into PE

Or convert a vmdk to a VHD file using Vmdk2vhd

---END---


VHD-installed Win7 X64 system migrated to VMware Virtual machine (P2V) ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.