{"id":452,"date":"2020-07-31T14:46:59","date_gmt":"2020-07-31T21:46:59","guid":{"rendered":"https:\/\/www.vscrypt.com\/?p=452"},"modified":"2020-08-12T12:09:37","modified_gmt":"2020-08-12T19:09:37","slug":"p2v-uefi-gpt-boot-error","status":"publish","type":"post","link":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/","title":{"rendered":"P2V Conversion Error on UEFI and GPT Disk Boot"},"content":{"rendered":"\n<p>One of the projects we have been working on at work consists of converting physical servers to virtual machines in our Hyper-Converged Infrastructure (HCI).  In addition to physical servers, we also need to move virtual machines from our Hyper-V and VMWare environments into HCI.<\/p>\n\n\n\n<p>One of the issues we are running into is that some of the machines do not boot after conversion or after moving to HCI.  The difference between the machines that do boot and the one&#8217;s that do not was discovered to be the fact that the one&#8217;s that have issues were configured with UEFI.  Since these machines were configured with UEFI, there really is no BCD boot device that the HCI BIOS can boot into.<\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\"><strong>OVERALL STEPS<\/strong><\/h2>\n\n\n\n<p>There are some extra steps we needed to perform to get the virtual machine to work properly in the HCI environment.<\/p>\n\n\n\n<p>First, we needed to get the virtual machine boot drive into VHDX (Virtual Hard Disk v2) format.  If the source system is Hyper-V, then there is no conversion involved.  But from VMWare, we need to convert from VMDK (Virtual Machine Disk) to VHDX.  There are a lot of tools out there that we can use, but the one we found to consistently work is <a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/www.vscrypt.com\/link\/aHR0cHM6Ly93d3cucWVtdS5vcmcvZG93bmxvYWQvI3dpbmRvd3M=\" >QEMU<\/a>.  This command-line tool allows you to quickly convert the virtual machine disks to different formats such as VMDK, VHD, VDI, QCOW2, and more.<\/p><div id=\"vscry-0\" class=\"vscry-content\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-0201055796701118\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block; text-align:center;\" data-ad-client=\"ca-pub-0201055796701118\" \ndata-ad-slot=\"1379369629\" \ndata-ad-layout=\"in-article\"\ndata-ad-format=\"fluid\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n\n\n\n<p>Once we had the boot drive in VHDX format, we can then mount it as a drive on a Windows computer so we can convert from GPT (GUID Partition Table) to MBR (Master Boot Record) using the free version of the <a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/www.vscrypt.com\/link\/aHR0cHM6Ly93d3cuZGlza3BhcnQuY29tL2ZyZWUtcGFydGl0aW9uLW1hbmFnZXIuaHRtbA==\" >AOMEI Partition Assistan<\/a>t tool.  This tool allowed us to first convert the disk to MBR from GPT and also remove the unnecessary partitions.<\/p>\n\n\n\n<p>Once it was converted to MBR and the partitions removed, we could then unmount the disk and import or take it to the final virtual host server (HCI) and attach it to a virtual machine.<\/p>\n\n\n\n<p>Finally, we still needed to boot from the operating system install ISO image so we could make sure we set the proper partition as the active partition.  That was the final step that allowed us to boot into the Windows operating system.<\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\"><strong>CONVERT TO VHDX<\/strong><\/h2>\n\n\n\n<p>As stated above, we needed to have the virtual machine disk in the VHDX format.  And to do that, we used the QEMU tool to convert to the VHDX format.<\/p>\n\n\n\n<p>To do this, open a <span style=\"text-decoration: underline;\">Command Prompt<\/span> or <span style=\"text-decoration: underline;\">PowerShell<\/span> and change directory to the installation directory of QEMU.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"DOS .bat\" data-shcb-language-slug=\"dos\"><span><code class=\"hljs language-dos\"><span class=\"hljs-built_in\">CD<\/span> 'C:\\Program Files\\qemu\\'<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">DOS .bat<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">dos<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Once in the directory, use the following commands to convert:<\/p>\n\n\n\n<h3 class=\"has-medium-font-size wp-block-heading\"><strong>Convert VMDK to VHDX<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"DOS .bat\" data-shcb-language-slug=\"dos\"><span><code class=\"hljs language-dos\">.\\qemu-img.exe <span class=\"hljs-built_in\">convert<\/span> -O vhdx C:\\VMDK\\SVR01.vmdk C:\\VHDX\\SVR01.vhdx<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">DOS .bat<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">dos<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"has-medium-font-size wp-block-heading\"><strong>Convert VHD to VHDX<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"DOS .bat\" data-shcb-language-slug=\"dos\"><span><code class=\"hljs language-dos\">.\\qemu-img.exe <span class=\"hljs-built_in\">convert<\/span> -O vhdx C:\\VMDK\\SVR01.vhd C:\\VHDX\\SVR01.vhdx<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">DOS .bat<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">dos<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">CONVERT GPT TO MBR<\/h2>\n\n\n\n<p>First, download the <span style=\"text-decoration: underline;\">AOMEI Partition Assistant<\/span> tool and install it on your computer.  Then right-click on the converted VHDX file and click on <strong>Mount<\/strong>.  The VHDX image will automatically mount and open in File Explorer.  The Mount option is available on any computer running Windows 8 or later.<\/p>\n\n\n\n<figure class=\"wp-block-gallery aligncenter columns-1 wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Mount-the-VHDX-file-in-File-Explorer.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"244\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Mount-the-VHDX-file-in-File-Explorer-500x244.png\" alt=\"\" data-id=\"540\" data-full-url=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Mount-the-VHDX-file-in-File-Explorer.png\" data-link=\"https:\/\/www.vscrypt.com\/?attachment_id=540\" class=\"wp-image-540\" srcset=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Mount-the-VHDX-file-in-File-Explorer-500x244.png 500w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Mount-the-VHDX-file-in-File-Explorer-200x98.png 200w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Mount-the-VHDX-file-in-File-Explorer.png 954w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/View-the-mounted-VHDX-file-as-a-drive-letter-in-File-Explorer.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"226\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/View-the-mounted-VHDX-file-as-a-drive-letter-in-File-Explorer-500x226.png\" alt=\"\" data-id=\"539\" data-full-url=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/View-the-mounted-VHDX-file-as-a-drive-letter-in-File-Explorer.png\" data-link=\"https:\/\/www.vscrypt.com\/?attachment_id=539\" class=\"wp-image-539\" srcset=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/View-the-mounted-VHDX-file-as-a-drive-letter-in-File-Explorer-500x226.png 500w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/View-the-mounted-VHDX-file-as-a-drive-letter-in-File-Explorer-200x91.png 200w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/View-the-mounted-VHDX-file-as-a-drive-letter-in-File-Explorer.png 954w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p>Next, open AOMEI Partition Assistant and find the disk drive that you just mounted.  Right-click on the drive (it should show GPT) and select <strong>Convert to MBR Disk<\/strong>.  Accept the warning message then click the <strong>Apply <\/strong>button at the top left to commit the changes.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Convert-GPT-disk-to-MBR-in-Partition-Assistant.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"280\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Convert-GPT-disk-to-MBR-in-Partition-Assistant-500x280.png\" alt=\"\" class=\"wp-image-550\" srcset=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Convert-GPT-disk-to-MBR-in-Partition-Assistant-500x280.png 500w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Convert-GPT-disk-to-MBR-in-Partition-Assistant-200x112.png 200w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Convert-GPT-disk-to-MBR-in-Partition-Assistant.png 1024w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Then, right-click on each of the extra partitions at the beginning of the disk and choose <strong>Delete Partition<\/strong>.  These are usually the three tiny partitions before the primary large partition where the Windows installation resides.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Remove-extra-partitions-in-Partition-Assistant-1.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"298\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Remove-extra-partitions-in-Partition-Assistant-1-500x298.png\" alt=\"\" class=\"wp-image-552\" srcset=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Remove-extra-partitions-in-Partition-Assistant-1-500x298.png 500w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Remove-extra-partitions-in-Partition-Assistant-1-200x119.png 200w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Remove-extra-partitions-in-Partition-Assistant-1.png 592w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Click on the <strong>Apply <\/strong>button again at the top left to commit the changes.  Once the operating completes, close the AOMEI Partition Assistant tool.<\/p>\n\n\n\n<p>Finally, you need to eject the drive that was mounted from the VHDX file.  Go to <span style=\"text-decoration: underline;\">File Explorer<\/span>, right-click on the mounted drive and choose <strong>Eject<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Eject-the-VHDX-file-in-File-Explorer.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"352\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Eject-the-VHDX-file-in-File-Explorer-500x352.png\" alt=\"\" class=\"wp-image-555\" srcset=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Eject-the-VHDX-file-in-File-Explorer-500x352.png 500w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Eject-the-VHDX-file-in-File-Explorer-200x141.png 200w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Eject-the-VHDX-file-in-File-Explorer.png 954w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\"><strong>CREATE A NEW VIRTUAL MACHINE<\/strong><\/h2>\n\n\n\n<p>Once we had the VHDX converted and unnecessary partitions removed, we needed to create a new virtual machine in our HCI environment and attached the VHDX to it.  We also needed to attach the operating system ISO image as the boot CD\/DVD drive (we needed to boot from the CD so we could perform the final repair step).  Boot up the new VM and make sure it boots from the CD &#8212; in our case using the Windows 2012 R2 installation media ISO image.<\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">REPAIR THE DISK<\/h2>\n\n\n\n<p>Once the VM boots into Windows setup, select <strong>Next <\/strong>on the first screen and then click <strong>Repair your computer<\/strong> option on the bottom left.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Windows-Server-2012-R2-Setup-Repair-your-computer.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"424\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Windows-Server-2012-R2-Setup-Repair-your-computer-500x424.png\" alt=\"\" class=\"wp-image-559\" srcset=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Windows-Server-2012-R2-Setup-Repair-your-computer-500x424.png 500w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Windows-Server-2012-R2-Setup-Repair-your-computer-200x170.png 200w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Windows-Server-2012-R2-Setup-Repair-your-computer.png 905w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Click on <strong>Troubleshoot<\/strong> and then click on the <strong>Command Prompt<\/strong> option.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Command-Prompt-in-Advanced-Options-of-Troubleshooting.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"424\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Command-Prompt-in-Advanced-Options-of-Troubleshooting-500x424.png\" alt=\"\" class=\"wp-image-560\" srcset=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Command-Prompt-in-Advanced-Options-of-Troubleshooting-500x424.png 500w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Command-Prompt-in-Advanced-Options-of-Troubleshooting-200x170.png 200w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Command-Prompt-in-Advanced-Options-of-Troubleshooting.png 905w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>When the Command Prompt window opens, use the following commands (one at a time) to set the partition that has the Windows installation as active.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"DOS .bat\" data-shcb-language-slug=\"dos\"><span><code class=\"hljs language-dos shcb-code-table shcb-line-numbers\"><span class='shcb-loc'><span>diskpart\n<\/span><\/span><span class='shcb-loc'><span>list disk\n<\/span><\/span><span class='shcb-loc'><span>select disk <span class=\"hljs-number\">0<\/span>\n<\/span><\/span><span class='shcb-loc'><span>list partition\n<\/span><\/span><span class='shcb-loc'><span>select partition <span class=\"hljs-number\">1<\/span>\n<\/span><\/span><mark class='shcb-loc'><span>active\n<\/span><\/mark><span class='shcb-loc'><span><span class=\"hljs-keyword\">exit<\/span>\n<\/span><\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">DOS .bat<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">dos<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Here is what it would look like if you do everything correctly.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Use-diskpart-to-make-the-partition-active.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"387\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Use-diskpart-to-make-the-partition-active-500x387.png\" alt=\"\" class=\"wp-image-564\" srcset=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Use-diskpart-to-make-the-partition-active-500x387.png 500w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Use-diskpart-to-make-the-partition-active-200x155.png 200w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Use-diskpart-to-make-the-partition-active.png 682w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>At this point, you can try <strong>exit <\/strong>(again) the Command Prompt and see if you can now boot into Windows.  If so, you should see the option in the Advanced options screen.  If not, you can run the following command (one at a time) to attempt to fix the MBR.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"DOS .bat\" data-shcb-language-slug=\"dos\"><span><code class=\"hljs language-dos shcb-code-table shcb-line-numbers\"><span class='shcb-loc'><span>bootrec \/fixmbr \n<\/span><\/span><span class='shcb-loc'><span>bootrec \/fixboot \n<\/span><\/span><mark class='shcb-loc'><span>bootrec \/rebuildbcd\n<\/span><\/mark><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">DOS .bat<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">dos<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Here is what it would look like.  You will need to select Y in the last command to add the installation to the MBR.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Use-bootrec-to-make-the-VHDX-bootable.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"255\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Use-bootrec-to-make-the-VHDX-bootable-500x255.png\" alt=\"\" class=\"wp-image-565\" srcset=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Use-bootrec-to-make-the-VHDX-bootable-500x255.png 500w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Use-bootrec-to-make-the-VHDX-bootable-200x102.png 200w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/Use-bootrec-to-make-the-VHDX-bootable.png 682w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Now close the Command Prompt by typing in the <strong>exit <\/strong>command.  Detach the Windows OS ISO image and reboot the VM.  The VM should now boot properly.  You may need to update\/install\/remove drivers depending on the host.<\/p>\n\n\n\n<p>Please share your experience in the comment section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the projects we have been working on at work consists of converting physical servers to virtual machines in our Hyper-Converged Infrastructure (HCI). In &hellip; <\/p>\n","protected":false},"author":1,"featured_media":576,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[98,99],"tags":[105,107,106,100,101,103],"class_list":["post-452","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kb","category-virtual","tag-2012-r2","tag-diskpart","tag-gpt-to-mbr","tag-p2v","tag-physical-to-virtual","tag-uefi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>P2V Conversion Error on UEFI and GPT Disk Boot - VScrypt<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"P2V Conversion Error on UEFI and GPT Disk Boot - VScrypt\" \/>\n<meta property=\"og:description\" content=\"One of the projects we have been working on at work consists of converting physical servers to virtual machines in our Hyper-Converged Infrastructure (HCI). In &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/\" \/>\n<meta property=\"og:site_name\" content=\"VScrypt\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-31T21:46:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-12T19:09:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/BIoVJ.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"208\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Vikram\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vikram\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/\"},\"author\":{\"name\":\"Vikram\",\"@id\":\"https:\/\/www.vscrypt.com\/#\/schema\/person\/855a3e6d9310019d20f2da32115df36a\"},\"headline\":\"P2V Conversion Error on UEFI and GPT Disk Boot\",\"datePublished\":\"2020-07-31T21:46:59+00:00\",\"dateModified\":\"2020-08-12T19:09:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/\"},\"wordCount\":917,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.vscrypt.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/BIoVJ.jpg\",\"keywords\":[\"2012 R2\",\"DISKPART\",\"GPT to MBR\",\"P2V\",\"Physical-to-Virtual\",\"UEFI\"],\"articleSection\":[\"KB\",\"Virtualization\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/\",\"url\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/\",\"name\":\"P2V Conversion Error on UEFI and GPT Disk Boot - VScrypt\",\"isPartOf\":{\"@id\":\"https:\/\/www.vscrypt.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/BIoVJ.jpg\",\"datePublished\":\"2020-07-31T21:46:59+00:00\",\"dateModified\":\"2020-08-12T19:09:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#primaryimage\",\"url\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/BIoVJ.jpg\",\"contentUrl\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/BIoVJ.jpg\",\"width\":500,\"height\":208},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vscrypt.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"P2V Conversion Error on UEFI and GPT Disk Boot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vscrypt.com\/#website\",\"url\":\"https:\/\/www.vscrypt.com\/\",\"name\":\"VScrypt\",\"description\":\"Helpful scripts, snippets and guides...\",\"publisher\":{\"@id\":\"https:\/\/www.vscrypt.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vscrypt.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vscrypt.com\/#organization\",\"name\":\"VScrypt\",\"url\":\"https:\/\/www.vscrypt.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vscrypt.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2019\/01\/logo-1.png\",\"contentUrl\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2019\/01\/logo-1.png\",\"width\":200,\"height\":80,\"caption\":\"VScrypt\"},\"image\":{\"@id\":\"https:\/\/www.vscrypt.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.vscrypt.com\/#\/schema\/person\/855a3e6d9310019d20f2da32115df36a\",\"name\":\"Vikram\",\"description\":\"I am just an IT person trying to share as much knowledge as possible hoping someone will find it helpful. It just takes time to organize everything from my head into something that makes sense.\",\"url\":\"https:\/\/www.vscrypt.com\/author\/vchand\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"P2V Conversion Error on UEFI and GPT Disk Boot - VScrypt","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/","og_locale":"en_US","og_type":"article","og_title":"P2V Conversion Error on UEFI and GPT Disk Boot - VScrypt","og_description":"One of the projects we have been working on at work consists of converting physical servers to virtual machines in our Hyper-Converged Infrastructure (HCI). In &hellip;","og_url":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/","og_site_name":"VScrypt","article_published_time":"2020-07-31T21:46:59+00:00","article_modified_time":"2020-08-12T19:09:37+00:00","og_image":[{"width":500,"height":208,"url":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/BIoVJ.jpg","type":"image\/jpeg"}],"author":"Vikram","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Vikram","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#article","isPartOf":{"@id":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/"},"author":{"name":"Vikram","@id":"https:\/\/www.vscrypt.com\/#\/schema\/person\/855a3e6d9310019d20f2da32115df36a"},"headline":"P2V Conversion Error on UEFI and GPT Disk Boot","datePublished":"2020-07-31T21:46:59+00:00","dateModified":"2020-08-12T19:09:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/"},"wordCount":917,"commentCount":0,"publisher":{"@id":"https:\/\/www.vscrypt.com\/#organization"},"image":{"@id":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/BIoVJ.jpg","keywords":["2012 R2","DISKPART","GPT to MBR","P2V","Physical-to-Virtual","UEFI"],"articleSection":["KB","Virtualization"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/","url":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/","name":"P2V Conversion Error on UEFI and GPT Disk Boot - VScrypt","isPartOf":{"@id":"https:\/\/www.vscrypt.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#primaryimage"},"image":{"@id":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/BIoVJ.jpg","datePublished":"2020-07-31T21:46:59+00:00","dateModified":"2020-08-12T19:09:37+00:00","breadcrumb":{"@id":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#primaryimage","url":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/BIoVJ.jpg","contentUrl":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2020\/07\/BIoVJ.jpg","width":500,"height":208},{"@type":"BreadcrumbList","@id":"https:\/\/www.vscrypt.com\/p2v-uefi-gpt-boot-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vscrypt.com\/"},{"@type":"ListItem","position":2,"name":"P2V Conversion Error on UEFI and GPT Disk Boot"}]},{"@type":"WebSite","@id":"https:\/\/www.vscrypt.com\/#website","url":"https:\/\/www.vscrypt.com\/","name":"VScrypt","description":"Helpful scripts, snippets and guides...","publisher":{"@id":"https:\/\/www.vscrypt.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vscrypt.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vscrypt.com\/#organization","name":"VScrypt","url":"https:\/\/www.vscrypt.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vscrypt.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2019\/01\/logo-1.png","contentUrl":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2019\/01\/logo-1.png","width":200,"height":80,"caption":"VScrypt"},"image":{"@id":"https:\/\/www.vscrypt.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.vscrypt.com\/#\/schema\/person\/855a3e6d9310019d20f2da32115df36a","name":"Vikram","description":"I am just an IT person trying to share as much knowledge as possible hoping someone will find it helpful. It just takes time to organize everything from my head into something that makes sense.","url":"https:\/\/www.vscrypt.com\/author\/vchand\/"}]}},"_links":{"self":[{"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/posts\/452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/comments?post=452"}],"version-history":[{"count":0,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/posts\/452\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/media\/576"}],"wp:attachment":[{"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/media?parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/categories?post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/tags?post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}