Problems booting Server 2008 with GPT partition and UEFI boot after P2V

I have 2008 SP2 server with GPT disk and UEFI boot manager. This is a physical sever and we need to P2V to run in Hyper-V 2012 R2. I tried using Disk2VHD as well as back it up with Dell AppAssure and then export to VHD. Each time I'm unable to bot. I tried export to VHD and VHDX to run as Gen2 VM but each time I run into issues. I tried to recreate the UEFI when in Gen2 or switch to MBR when in Gen1. I read ton of articles online and I'm running out of ideas and time as we need to migrate this critical server to virtual. I feel like I'm in catch22 situation.

This is how the physical server disk layout looks like

disk layout
and here the virtual (I have not migrated the data disk yet, as I'm just trying to boo the OS first

disk layout virtual
Thanks for any help or workarounds
LVL 1
piotrmikula108Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

piotrmikula108Author Commented:
One more pic of the source physical server

Disk manager view of the physical server
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0
piotrmikula108Author Commented:
Andrew, we tried this tool and it throws out an error related to the BCD

MVMC-error.jpg
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.

Which is the root cause of my issues anyways
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

piotrmikula108Author Commented:
I made some progress by following this guide

https://4sysops.com/archives/how-to-p2v-windows-server-2012-r2-with-uefi-and-a-gpt-disk/

which got me to be at least be bale to boot to recovery partition and start repairing with bootrec.exe

however even after completing the steps in this guide from (Vijay's answer)

http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_install/total-identified-windows-installations-0/52359f87-de4a-41dc-b0c3-cc275e1d9fbf?auth=1

I was able to backup and recreate BCD but the installation still shows

Missing bootmgr
Press Ctrl Alt Del to Restart
0
piotrmikula108Author Commented:
These are steps that did it


 
Convert using Disk2VHD as VHDX
 
Create Gen1 VM
 
Convert the disk from GPT to MBR (GUI partition tools or CMD)
 
Remove the two mini EFI partitions and boot with ISO, I used Win7 boot CD but I’m sure 2008 server will work as well,
 
Then run this exact sequence, no other sequence worked in this case
Step 1: Boot the server using the Windows installation media.
Step 2: On the main screen, select Next and then Repair Your Computer.
 
Step 3: At this point, the repair procedure will not detect the desired Windows installation and will present none to select, even after storage drivers are loaded. Select Use recovery tools and then Next. On the following screen, select the Command Prompt option.

Step 4: From the command line, the first task is to make the Windows partition a bootable partition. Execute the diskpart.exe utility.



Step 5: While in the diskpart utility, list available disks.
DISKPART> list disk
 
Step 6: From the available disks, select the disk that contains the Windows installation.
DISKPART> select disk #

Step 7: Select the Windows partition on the selected disk.
DISKPART > select partition #
 
Step 8: Make the selected partition active (bootable)
DISKPART > active
 
Step 9: Exit diskpart utility
DISKPART> exit
 
The partition is now bootable. Reapply the master boot record and the boot sector. To do this, use the bootrec.exe utility:
bootrec.exe /FixMbr
bootrec.exe /FixBoot
 
When the master boot record and boot sector has been reapplied, rebuild the Boot Configuration Database (BCD) by executing:
bootrec.exe /rebuildbcd
 
The /rebuildbcd option will scan all disks for Windows installations. For each instance found, it will ask if that instance should be added to the BCD. Answer Y for the Windows installation that is currently being repaired.
 
When the Boot Configuration Database has been rebuilt, reboot again using the Windows installation media and select Repair Your Computer.
The desired Windows install should now be detected. If it is not, load the appropriate storage drivers. When the Windows install instance is displayed in the list, select it then click Next and choose Command Prompt. From the command line, execute:
X:\sources\recovery\StartRep.exe (Start Repair)



This will run for a few minutes looking for problems and attempting to perform a repair. Some of the repair activity will require a system restart to complete. Remove the installation media from the drive and allow the computer to reboot itself from the newly restored Windows install.
 
Inject integration services disk to install missing drivers
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
piotrmikula108Author Commented:
Found solution on my own
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.