Thank you everyone for sharing your knowledge and expertise. I have been asked to convert a azure Generation 1 VM to Generation 2, I do have a documentation that I can refer to, however, does anyone here knows any better way of doing it?

Avinash Awasthi 0 Reputation points
2023-05-01T04:10:29.4466667+00:00

Thank you everyone for sharing your knowledge and expertise.
I have been asked to convert a azure Generation 1 VM to Generation 2, I do have a documentation that I can refer to, however, does anyone here knows any better way of doing it?

https://charbelnemnom.com/migrate-gen1-to-gen2-vms-on-azure/

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,713 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Boris Von Dahle 3,216 Reputation points
    2023-05-01T05:43:46.4566667+00:00

    Hello,

    Follow the documentation you've found and don't forget to take a backup before starting.

    Also consider creating a new VM and migrating data instead.
    This can be a less risky approach, especially if you're dealing with a production environment.

    Regards

    0 comments No comments

  2. vipullag-MSFT 26,481 Reputation points
    2023-05-03T03:45:09.9433333+00:00

    Hello @Avinash Awasthi

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    As mentioned by Boris in the previous response, make sure you take a backup before you proceed performing the steps mentioned in the article you have shared.

    However, as per official Azure Documentation it is not possible to convert an Azure Generation 1 VM to a Generation 2 VM.

    User's image

    Ref: https://learn.microsoft.com/en-us/azure/virtual-machines/generation-2#frequently-asked-questions

    To change the virtual machine generation, you need to deploy a new VM of the generation you desire and re-install the software that you are running in the virtual machine of the generation. This change only affects the base VHD image of the VM and has no impact on the data disks or attached NFS or SMB shares. Data disks, NFS, or SMB shares that originally were assigned to, for example, on a Generation 1 VM.

    Hope this helps.

    If you need further help on this, tag me in a comment.

    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    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.