Got a server you’ve locked yourself out of? Or got an OS that’s in need of some TLC? Well, recovery mode to the rescue! Recovery mode is on-the-house with every cloud server, and it allows you to access your server in times of need.
Log-in to your control panel at http://control.vps.net and find the server you want to fix. Next, bring up the main control screen.
Click on the Reboot in Recovery tab at the top. The server will then go into reboot. Wait until it starts responding to pings. Then SSH to the server.
You will be asked to enter a root password, this is ‘recovery’
You may be promoted that the SSH key has changed. That’s fine, just accept the new key and log-in.
Once logged-in you can find the old filesystem on /dev/xvdb1. Then you can either run a file, check on it (fsck /dev/xvdb1), or mount it (mount /dev/xvdb1 /mnt).
Once you’ve put the wheels back on the bus, just type “reboot” from the SSH session. The system will then try to boot on your disk.
Should you still have issues then you can try the “Console” on the control panel to see the state of the server.Save this article