Linux Boot Error: Emergency Mode! (RDFE)

Reason for TSG: Boot diagnostics screen shows VM booting into Emergency Mode

Suggested Fix:

1) Before proceeding with Step 2 ensure you have an recovery VM located in the same Cloud Service, region and the same version (Or distribution) as the impacted VM. If you do not, create that new machine now.

Continue reading “Linux Boot Error: Emergency Mode! (RDFE)”

How to delete a VM and attach the OS disk as a Data Disk to a Recovery VM (RDFE)

1) Delete the VM from the Azure Portal choosing to keep all attached disks

2) Create a new recovery VM in the Azure Portal. This VM will need to be in the same Region and Resource Group (Cloud Service) as the broken machine

3) Once the recovery machine is created select it

4) Select Disks -> Attach Existing

Continue reading “How to delete a VM and attach the OS disk as a Data Disk to a Recovery VM (RDFE)”

How to delete a VM and attach the OS disk as a Data Disk to a Recovery VM (ARM)

1) Delete the VM from the Azure Portal choosing to keep all attached disks

2) Create a new recovery VM in the Azure Portal. This VM will need to be in the same Region and Resource Group as the broken machine

3) Once the recovery machine is created select it

4) Select Disks -> Add data disk

Continue reading “How to delete a VM and attach the OS disk as a Data Disk to a Recovery VM (ARM)”

How to Remote PowerShell to Azure VM (DIP to DIP)

Enter a PowerShell session from inside another VM located inside the same Vnet and run the following:

$Skip = New-PSSessionOption -SkipCACheck -SkipCNCheck Enter-PSSession -ComputerName “HOSTNAME” -port 5986 -Credential (Get-Credential) -useSSL -SessionOption $Skip

Continue reading “How to Remote PowerShell to Azure VM (DIP to DIP)”