hello, when I click the change the operating system disk in the disks section in azure virtual machine, the disk I created earlier does not appear. How can I change the operating system disk there?
hello, when I click the change the operating system disk in the disks section in azure virtual machine, the disk I created earlier does not appear. How can I change the operating system disk there?
@can123123123 Any update on the issue?
If the suggested response helped you resolve your issue, do click on "Mark as Answer" and "Up-Vote" for the answer that helped you for benefit of the community.
Thanks.
Hi,
Try using Azure PowerShell instead, I've used it and it works:
Change the OS disk used by an Azure VM using PowerShell
https://docs.microsoft.com/en-gb/azure/virtual-machines/windows/os-disk-swap
Best regards,
Leon
Good day,
change the operating system disk
I assume that you mean "Swap OS Disk" option
the disk I created earlier does not appear.
You can only swap to another disk which is Azure OS disk, and not a new disk which you create. The option swap OS disk is a DR solution (DR = Disaster Recovery), and not meant to provide a way to build your own freely virtual hard disk (vhd)
You can swap for example to a backup of the OS disk (created with the Azure Backup service)
Check if the following tutorial helps more: https://petri.com/swapping-os-disk-azure-virtual-machine
13 people are following this question.