Kindly help me in this below disk related query

nimi 86 Reputation points

Hi Team,

Greatly appreciate if you can help me in the below.

  1. I have created a vhd from our windows server using diskmgmt (Action -> Create vhd, virtual hard disk format: vhd, type: fixed size) and selecting c drive.
  2. Uploaded that vhd to storage account in azure
  3. Created managed disk using that vhd
  4. Created vm out of that managed disk in azure
  5. But the vm did not booted and got boot failure error in boot diagnostics.

"Boot failure. Reboot and select proper boot device or insert boot media in selected boot device"

Kindly help me in resolving the issue

I want to create a vm using vhd in azure.


Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,964 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
473 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
10,616 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andreas Baumgarten 69,651 Reputation points MVP

    Hi @nimi,

    to move/migrate an on-premises computer to Azure the easiest way is to use Azure Migrate.

    With Azure Migrate it's possible to replicate a VM (VMware or Hyper-V) or a physical server to Azure:

    Migrate machines as physical servers to Azure

    Migrate Hyper-V VMs to Azure

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)


    Andreas Baumgarten

    0 comments No comments

  2. Olga Osinskaya - MSFT 4,471 Reputation points Microsoft Employee

    Hello nimi,

    Welcome to the MS Q&A forum.

    Besides what Andreas Baumgarten already suggested, you need to make sure what you properly prepared a Windows VHD or VHDX to upload to Azure (Windows Firewall rules, remote desktop registry settings, Windows services, Windows configurations for Azure, etc.) and what on-premises machines that you replicate to Azure comply with Azure VM requirements.

    Ensuring these modifications are implemented on the image prior the migration/uploading the disk to Azure is crucial. Neglecting proper preparation could result in the Azure VM failing to boot or encountering connectivity issues.

    Hope above answers your question and concern. Let me know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.


    0 comments No comments