How Disk2vhd migrates physical servers to windows hyper-v virtualization platform

Today, I took a physical server running windows server 2008 and used Disk2vhd to do an experiment for everyone to migrate the physical server to the windows hyper-v virtualization platform;

1. Microsoft has a special tool that can convert physical machine hard disks into VHD, just look at the name, disk2vhd, just go to the official website to search and download, the version is a bit old, 2014, but very small, compressed The package is only 878KB, which is short and powerful

How to migrate physical servers to Microsoft's hyper-v virtualization platform?  Come on, see dry goods (1)

 

2. After downloading, just run it directly on the physical disk that needs to be converted. Note: 1. Do not run on the C drive; 2. The D drive can be backed up separately. There is no need to transfer it out together, and the system disk is perfectly transferred. That’s the point, so I only choose the C drive here. Of course, it’s okay to have to transfer together, I just want to make this process faster;

How to migrate physical servers to Microsoft's hyper-v virtualization platform?  Come on, see dry goods (2)

 

3. Click "create" to start creating a VHD. The speed is quite fast. After the creation is completed, remember to click "close" to close the window, otherwise the generated VHD file will not be able to complete the copying process. I just copied halfway and when the system fails, I just remembered and clicked this "close". As a result, the file not only failed to be copied, but also disappeared somehow. I had to "create" again, which was really embarrassing. . . So, don’t step on the pits I’ve stepped on again;

How to migrate physical servers to Microsoft's hyper-v virtualization platform?  Come on, see dry goods (3)

 

4. Copy the generated VHD file to the hyper-v server and start creating a virtual machine

How to migrate physical servers to Microsoft's hyper-v virtualization platform?  Come on, see dry goods (4)

 

5. Note that the virtual hard disk selects the VHD file (or VHDX file) just copied over

How to migrate physical servers to Microsoft's hyper-v virtualization platform?  Come on, see dry goods (5)

 

6. After the virtual machine is created, start the virtual machine directly. If you find that it cannot be started, insert a WINPE CD into the virtual machine (that is, import the WINPE ISO image file into the virtual machine's CD-ROM drive), and use the startup repair tool to repair it. Up

How to migrate physical servers to Microsoft's hyper-v virtualization platform?  Come on, see dry goods (6)

 

7. Just like the vmware virtual machine needs to install vmtools, after the hyper-v virtual machine is up, you must first install the hyper-v toolkit (mainly install some corresponding drivers and services);

How to migrate physical servers to Microsoft's hyper-v virtualization platform?  Come on, see dry goods (7)

 

8. After the installation is complete, restart the virtual machine as required, and then check the device manager, all drivers are installed correctly

How to migrate physical servers to Microsoft's hyper-v virtualization platform?  Come on, see dry goods (8)

 

9. Test the network, test the original services and applications, everything is normal! At this point, the windows server 2008 physical server has been converted into a hyper-v virtual server successfully!

Guess you like

Origin blog.csdn.net/kakak2000/article/details/105859182