Another quick and small how-to on TransIP VPS’es. I couldn’t find it in their docs, so I thought I’d write a blogpost as a note to self. When you made a nice f-up / boo-boo / whatsoever on your VPS, there is an option to boot it in rescue mode. I made a nice one while editing sudoers.d, making it impossible to switch to root (and therefore I wasn’t able to fix the issue).

Booting in rescue mode

So, booting the VPS in rescue mode is fairly easy via the TransIP control panel. Just go to your VPS and open its console. In the top menu, select
‘options’ > ‘Boot Linux rescue mode’

Accessing your disk

The hurdle for me was to actually access the disk so I could correct the error. Because I couldn’t find the info directly at TransIP, it was getting sweaty when the bits hit the fan..
In just a couple of simple steps, you can access your disk. When the VPS is booted into rescue mode:
- to start the GUI, type
- in the GUI, go to
Start > System > Terminal
- Make a directory to mount the harddisk to: type
mkdir /mnt/vps
- check the address of your harddisk. This is most probably /dev/vda1
- mount the disk to the directory you just creatief by typing:
mount /dev/vda1 /mnt/vps
- you can now access the harddisk by typing
cd /mnt/vps/
- after that you're in the root of your VPS and you can travel the directory structure as you normally do / did
This info originally came from Tilaa, a competitor of TransIP.
Be Sociable, Share!