User:MalakymR/Drafts/Gentoo on OVH VPS


 * OVH uses KVM/OpenStack
 * Does not allow you to mount ISO files to boot from
 * Normally provides only a small list of distributions to choose from
 * Provides a rescue environment based on debian which gentoo stage3 can be installed from
 * lowest vps package provides a Static IP, Reverse DNS, 10GB storage and 2GB RAM
 * 2GB RAM may be too low for some packages but is suitable for most cmake compiles where it would struggle with 1GB

Some Title Here
A lot of these notes can be handed over to the handbook for reference

-or-

leave this as a quick guide where decisions are made for you to get you running as quick as possible


 * When choosing an operating system for your VPS with OVH pick any, this will be ignored.
 * Under control panel select "Rescue mode" - this will take 5 minutes.
 * You will receive an email with your root u/p
 * you can either use the KVM view in the OVH control panel or SSH directly (I recommend SSHin directly)
 * (for ssh) once in I recommend using "screen" just incase you are disconnected you can resume with screen -r
 * rescue environment mounts your VPS's HDD as /mnt/vdb1 etc
 * vdb is our disk (will be vda after reboot) - current vda is the rescue environments dev

Emerge first utilities

 * pciutils for knowing your hardware (not needed here at

Update fstab

 * This should stay as vda even though we are currently mounted under vdb

Optional Tools

 * Check without dhcpcd

Set PW/Rebooting
at this step we need to go back to OVH control panel and reboot the VPS - this will leave rescue mode

Other Utilities
Virtual machines are not reliable timewise

Clean up? rm stage3 (its marked above as it was part of a previous script


 * add steps to return to chroot from rescue environment if something goes wrong