Kindly help me in this below disk related query

nimi 91 Reputation points
2023-09-09T07:11:15.3766667+00:00

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.

Thankyou!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,775 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.
627 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,903 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andreas Baumgarten 107.8K Reputation points MVP
    2023-09-10T14:38:02.7266667+00:00

    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)

    Regards

    Andreas Baumgarten

    0 comments No comments

  2. Olga Os - MSFT 5,921 Reputation points Microsoft Employee
    2023-09-13T21:38:26.5566667+00:00

    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.

    Sincerely,
    Olga

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.