Got a new, beefy Dell server in today, very exciting! I couldn’t have installed CentOS any faster.

We’re using a Dell R510 for our new VPS machine over here, it’s got the works. Six-core CPUs, 1333MHz RDIMMs.. you name it. And as a techie, it was like Christmas.

Of course my day had to be spoiled when, following a Virtuozzo install, the new kernel wouldn’t boot.. crap. I was getting errors about the Volume Group (VolGroup00 in my case) not able to be found, which caused the kernel to be unable to find the root fs and therefore panic.

After some Googling, I discovered that the H700 card isn’t officially supported under the Virtuozzo kernel. Am I SOL? There’s no friggin way I’m waiting for another RAID card.

On a hunch, I took a look at the installed Virtuozzo kernel version and compared it with the latest I could find that was available. Hah, new version! Here are the (somewhat convoluted) steps to update:

First, boot back into your regular (CentOS for me) kernel by loading your Grub menu on boot. For a CentOS installation, this means pressing a button when the 5 second Grub screen comes up. Then, arrow down to your distribution’s kernel and press enter or ‘b’.

Once you have booted your system and logged in as root, you’re going to want to run the Virtuozzo updater.

vzup2date

Note: If this doesn’t work for you, refer to the last section of my previous post http://blog.dynamichosting.biz/?p=53 in regards to adding /usr/sbin to your PATH.

Go through the steps of updating Virtuozzo, ignoring any errors that pop up oddly and repeatedly in the background. These occur because Virtozzo isn’t (and can’t be) started.

This will eventually error out and tell you that it can’t continue. That’s fine, we don’t need it to, we’re going to run the updates manually:

cd /vz/vzup2date/virtuozzo/linux/x86_64/4.0.0/CU-2.6.18-028stab070.10

Your particular path may be slightly different. For example, x86_64 may need to be i386 if you’re running a 32bit OS. Or you may have to change the version after CU-*.

Either way, you should see three files in the directory.

[root@shrek CU-2.6.18-028stab070.10]# ls
vzkernel-2.6.18-028stab070.10.x86_64.rpm        vzmodules-2.6.18-028stab070.10.x86_64.rpm         vzkernel-devel-2.6.18-028stab070.10.x86_64.rpm

We want to install all of these with:

rpm -Uvh *

Once the RPM’s have finished installing, we should be good to reboot into the new Virtuozzo environment!

Feel free to leave a comment with any specific problems that you might have with this process.

Sorry, comments are closed.