There are many answers in the web which all points to mounting a recovery disc and repairing the Operating System of the Virtual hard disk. But this method is not guaranteed to work at all times.
My approach on retrieving the files from this dead VM is something more clear and it is recommended for SolusVM users. The method is to install an alternative Windows Operating system in a new partition which helps you to access the files of your dead image partition.
- Shutdown your Virtual Machine (VM).
- Use the Resources button in the SolusVM manage panel and add additional 30GB disk space to your VM.
Copy a Windows server ISO to the following folder.
/home/solusvm/xen/iso/
Add the ISO in the SolusVM Menu: Media
and select Add ISO
.
After adding the ISO mount the ISO on your VM using the CD ROM mounting option.
Now change the boot order of VM to the following.
CD ROM(1),Hard Disk(2).
Now boot your VM and immediately attempt and connect to your VNC.
Press any key to Boot from CD.
Choose Install Now
and Accept the terms.
Choose custom installation and in the next window, your unallocated 30GB will be displayed where you can format and install your Windows server.
Complete installation and access using the Windows File Explorer to find the Disk partition of your dead VPS as Local disks.
Now you can move your Valuable data to a new VPS.
I hope this solution will help those who had faced this issue.