I recently signed up for a small dedicated server at Kimsufi.co.uk for the grand price of £14 a month which I think is pretty good price for what you get.
Brand | Intel |
---|---|
Model | Celeron / Atom |
Frequency | 1.20+ GHz |
Architecture | 64 bits |
NIC | FastEthernet |
Memory | 2 GB |
Hard disk | 1 TB |
FTP Backup | 100 GB |
Bandwidth | Heaps more than I need :-) |
Instead of all these methods I should have been thinking inside the box instead of outside it :-(
Solution:
yum install kernel
Then add the following stanza to /etc/grub.conf modified to suit the kernel that was installed (Check under /boot/ for the file names).
title CentOS (2.6.32-220.23.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-220.23.1.el6.x86_64 root=/dev/sda2 ro
initrd /initramfs-2.6.32-220.23.1.el6.x86_64.img
and change:
default=0
to:
default=1
After a reboot we end up with the correct stock kernel and the yum issues disappear.
The system is much closer to a normal installation and the only thing I am still unhappy with is the filesystem mounted at / is a physical partition instead of on LVM. This should be easily resolvable by creating a new logical volume and copying everything over and some updates to /etc/fstab and /boot/grub/grub.conf to point at the logical volume and a selinux relabel but I will leave that for another day.