One procedure to rescue files is this:
- Select "install-amd64-minimal-20170907-isoboot.iso" from the DVD images selector, and check the box to boot to the CD/DVD.
- Reboot the VDS.
- Visit your VNC console page and wait for it to completely boot, leaving you with a command prompt that says "livecd ~ # "
- Configure the network and DNS (tailor these to match the IP, netmask, and gateway given on the "IP list" page in your control panel) by entering the following commands:
Code: Select all
ip address add 1.2.3.4/255.255.255.0 dev eth0 ip route add default via 1.2.3.254 dev eth0 echo "nameserver 8.8.8.8" > /etc/resolv.conf
- Make a new directory where you'd like to mount your existing file system partition to, such as with mkdir -p /mnt/recover
- Mount your partition. The command that you will need to use varies depending on the OS used on your main drive. Typically, you would use --
mount -o ro /dev/xvda2 /mnt/recover - Set a temporary password by typing passwd and pressing enter, then entering your choice twice when it asks.
- Start the SSH daemon by typing /etc/init.d/sshd start and pressing enter.
- Log in through SSH/SFTP/SCP using your IP address, username root and the password you defined above (one good client to use for this is WinSCP).
- Navigate to the location you mounted your partition to (such as /mnt/recover) and download some or all of your files.
For Windows, we provide a recovery DVD that you can boot to for the sole purpose of resetting a lost Administrator password. We have a knowledge base article detailing how to use this recovery DVD, linked here: http://www.nfoservers.com/forums/viewto ... =46&t=4615