VM to mounted image
- Delete virtual machine.
- Remove "DISK" association from old portal (retain vhd).
- Remove "IMAGE", old portal (retain vhd).
- Attach disk.
mkdir /mnt/archmount /dev/sdc2 /mnt/archarch-chroot /mnt/arch bash
Mounted image to VM
- Unmount disk
- Detach disk
- Remove "DISK" association from old portal (retain vhd).
azure vm image create ...azure vm create ...