There are two traditional ways to move physical machines to Hyper-V virtual machine using Microsoft Tools.
1- Microsoft Virtual Machine Converter
When you try to convert a Windows server 2012 for example from physical to a VM, you might get the following error:
Microsoft Virtual machine Converter encountered an error while attempting to convert the virtual machine
There are blocking issues for the physical-to-virtual conversion, there is no BCD boot device found in the source machine, noticing that conversion of an EFI boot machine is currently not supported.
Another tool is Disk to VHD and if you try to convert the physical machine using Disk2VHD tool, then try to boot the VHD disk in Hyper-V manager you get the following error in Hyper-V Manager:
Boot Failed. EFI SCSI Device
Boot Failed. EFI Network
No Operating System was loaded. Press a key to retry boot sequence
Use Disk2VHD to convert the physical machine to a disk. Before you do that map the boot partition on the source machine to a drive so when you run the Disk2VHD that partition will get captured.
To do that, go to command line and type:
mountvol V: /S
That will mount the boot partition to a drive called V: drive (you could choose any other available drive if you want). Now run Disk2VHD. That will convert the server’s partitions and disks including the boot to VHD. Copy to the Hyper-V machine and boot the new VM with that disk.