Booting your Xen VPS in Rescue Mode
Contents
Rescue Mode
Selecting rescue mode in the QCP
Mount and Chroot onto your disk
Done with Rescue Mode, boot into regular distribution
Rescue Mode
The Rescue Mode function of your VPS allows you to install a minimal temporary
Linux distribution (Slackware 13) that has your primary IP enabled. This allows you
to SSH into the rescue distribution, and mount/chroot your filesystem to make changes,
such as updating your root password, changing firewall rules, etc.
Selecting rescue mode in the QCP
Login to the QCP, making sure that the VPS you would like to boot into rescue is halted.
Next, select "rescue mode" in the kernel drop down box under distributions, and update the kernel. Finally, boot your VPS via the QCP.
Just before boot up, the system will install a minimal Slackware 13 distribution on a temporary disk that does not count against your disk quota. Your first IP address will be configured, and available to ssh into on boot. You will login as root, and a job will appear in the job queue
with the randomly generated password set for root.
Mount and Chroot onto your disk
Once you ssh into the rescue distribution, you should find your regular distribution's disk mounted under /mnt/tmp. If not, you will want to create a suitable directory under /mnt, and mount your regular distribution's disk.
mkdir /mnt/disk mount /dev/xvda1 /mnt/disk cd /mnt/disk chroot ./ passwd root
Done with Rescue Mode, boot into regular distribution
When finished with Rescue Mode, simply go back to the distributions page in the QCP,
select the normal Linux kernel you would like to boot under (or PV-Grub if you have it enabled),
and halt then boot your vps. This will remove the temporary Slackware distribution, and boot your VPS's normal distribution.

