oliver
08-05-09, 22:21
In light of Jainoxi's post on a clean debian install, as a Gentoo fanboy, I can't stay behind.
The reason why I'm posting here even though Jainoxi's howto, is that the methods are very different.
This is not for any Linux beginners. Linux knowledge is strongly recommended, especially since you will be loosing anyway for OVH to support your box. You may even have to reinstall your entire box if you can't fix problems.
Now then, on with the show.
Gentoo by itself is ridiculously easy to install. All you need is a running box. The only true requirement is that you have a running 32bit kernel if you wish to install a 32bit OS and a 64bit kernel if you want to install a 64 bit OS. OVH offers.
There's 2 options to get a running box. Either you use whatever comes pre-installed or pre-install something again from the manager, or the rescue-mode. We will focus on the rescue mode for now, as it's easier.
Those who have installed gentoo before (you should have imo atleast once ), recognize the steps from the handbook. You should and can just use the handbook and only use this little howto as a mini guide!
Step 1: Boot the rescue mode.
You should receive an e-mail from OVH manager with ssh access information. Use that to login and you have a ince 64bit base OS. Assuming you wish to keep nothing from the disk (why should you) run fdisk to partition it to your likings. At this point you can, if you choose to, reboot and wait for the second OVH ssh access mail.
Step 2: Format the above partitioned drive with whatever you want to use. E.g. ext3/4, reiserfs or whatever is available in the rescue mode kernel.
Step 3: Mount the partitions and download stage3.tar.bz2 and portage-current.tar.bz2 on them. Also mount /proc and /dev (as per handbook)
Step 4: chroot into your gentoo install and emerge any 64bit kernel you'd like to use. Configure it and make sure to enable the CONFIG_SCSI_SATA_SIS=y
at the very leastest. Use common sense elsewhere, I don't think there is much you could do wrong. lspci -v (outside of the chroot) helps a lot here.
Step 5: follow the rest of the handbook but what you really need is dhcpcd installed and configured, grub installed and configured and have dhcpcd (well net.eth0 really) and ssh!! added to your bootup sequence.
Step 6: make sure you executed grub properly to install it on the MBR. Go to the OVH manager and disable netboot, let it boot the local disk again, and reboot your server (from ssh) as per handbook.
Step 7 ....
Step 8 profit
Now for those who installed gentoo many times, they should just 'get' it. The only real trick is to use the rescue mode to get to access your disk to dl your stage3.
The reason why I'm posting here even though Jainoxi's howto, is that the methods are very different.
This is not for any Linux beginners. Linux knowledge is strongly recommended, especially since you will be loosing anyway for OVH to support your box. You may even have to reinstall your entire box if you can't fix problems.
Now then, on with the show.
Gentoo by itself is ridiculously easy to install. All you need is a running box. The only true requirement is that you have a running 32bit kernel if you wish to install a 32bit OS and a 64bit kernel if you want to install a 64 bit OS. OVH offers.
There's 2 options to get a running box. Either you use whatever comes pre-installed or pre-install something again from the manager, or the rescue-mode. We will focus on the rescue mode for now, as it's easier.
Those who have installed gentoo before (you should have imo atleast once ), recognize the steps from the handbook. You should and can just use the handbook and only use this little howto as a mini guide!
Step 1: Boot the rescue mode.
You should receive an e-mail from OVH manager with ssh access information. Use that to login and you have a ince 64bit base OS. Assuming you wish to keep nothing from the disk (why should you) run fdisk to partition it to your likings. At this point you can, if you choose to, reboot and wait for the second OVH ssh access mail.
Step 2: Format the above partitioned drive with whatever you want to use. E.g. ext3/4, reiserfs or whatever is available in the rescue mode kernel.
Step 3: Mount the partitions and download stage3.tar.bz2 and portage-current.tar.bz2 on them. Also mount /proc and /dev (as per handbook)
Step 4: chroot into your gentoo install and emerge any 64bit kernel you'd like to use. Configure it and make sure to enable the CONFIG_SCSI_SATA_SIS=y
at the very leastest. Use common sense elsewhere, I don't think there is much you could do wrong. lspci -v (outside of the chroot) helps a lot here.
Step 5: follow the rest of the handbook but what you really need is dhcpcd installed and configured, grub installed and configured and have dhcpcd (well net.eth0 really) and ssh!! added to your bootup sequence.
Step 6: make sure you executed grub properly to install it on the MBR. Go to the OVH manager and disable netboot, let it boot the local disk again, and reboot your server (from ssh) as per handbook.
Step 7 ....
Step 8 profit
Now for those who installed gentoo many times, they should just 'get' it. The only real trick is to use the rescue mode to get to access your disk to dl your stage3.