You are not logged in.

#1 2011-01-02 08:31:28

anonova
Member
Registered: 2009-07-22
Posts: 23

Installing Arch in CentOS 5.4 ("kernel too old")

I like to setup Arch on my VPS's, and my current host allows users to this under a CentOS 5.4 recovery image. I had scripts to do this setup automatically, but unfortunately, it seems that the new minimum required kernel version has broken them. During the base package installation with pacman, I get many "FATAL: kernel too old" messages. This is most likely because CentOS 5.4 uses kernel 2.6.18. Unfortunately, as a user, I have no way to update it.

So my question is what course of action should I take to install Arch in an existing system when the kernel is too old. I am uncertain what the news article means when it says to rebuild glibc. At what point do I do this when I tend to just install the base package? Would it be easier to beg the sysadmin to update the kernel? (This is unlikely.)

Offline

#2 2011-01-02 10:51:55

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Installing Arch in CentOS 5.4 ("kernel too old")

anonova wrote:

Would it be easier to beg the sysadmin to update the kernel?

Yes, or ask them to provide a normal Arch VPS.  You might have luck installing an older image and upgrading that afterwards.


ᶘ ᵒᴥᵒᶅ

Offline

#3 2011-01-02 13:12:29

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: Installing Arch in CentOS 5.4 ("kernel too old")

I had the same problem with my vServer. The host use also 2.6.18 ...
What to do: recompile glibc
Change this line in the PKBUILD:

--enable-kernel=2.6.27 \

Offline

#4 2011-01-02 17:37:15

anonova
Member
Registered: 2009-07-22
Posts: 23

Re: Installing Arch in CentOS 5.4 ("kernel too old")

litemotiv wrote:

You might have luck installing an older image and upgrading that afterwards.

For root-image.sqfs on the disc image, squashfs-tools (for unsquashfs) is unavailable, and mount -t squashfs complains that the kernel is old.

SQUASHFS error: Major/Minor mismatch, trying to mount newer 4.0 filesystem
SQUASHFS error: Please update your kernel
Radioactiveman wrote:

What to do: recompile glibc

At what point can I do this? The recovery image does not provide me with development tools, and I am unable to install base-devel and abs to get the PKGBUILD.

Offline

#5 2011-01-02 18:36:44

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: Installing Arch in CentOS 5.4 ("kernel too old")

Install using the following as a temporary mirror (change x86_64 to i686 if you want to install that architecture). It contains the previous version of glibc which is compatible with the 2.6.18 kernel.

Server = http://arm.konnichi.com/2010/12/29/core/os/x86_64

Offline

#6 2011-01-02 20:43:49

anonova
Member
Registered: 2009-07-22
Posts: 23

Re: Installing Arch in CentOS 5.4 ("kernel too old")

Fantastic, foutrelis! This worked as expected. I was unaware of mirrors like that one.

Offline

Board footer

Powered by FluxBB