Page 1 of 1

Upgrading a very old kernel (2.6.9-42.EL)

Posted: 2010/06/30 12:45:46
by yaronkadem
Hi all and please help,

I have a CentOS 4.4 server running a very old kernel which I would like to upgrade.

I downloaded the latest stable kernel from (2.6.34) and did the following steps:
1. untar the linux-2.6.34.tar.bz2 file into a directory.
2. cd linux-2.6.34
3. running this command 'make old config'

and got this error as a results:
[root@TEST linux-2.6.34]# make old config
make[1]: gcc: Command not found
make[1]: gcc: Command not found
HOSTCC scripts/basic/fixdep
/bin/sh: gcc: command not found
make[3]: *** [scripts/basic/fixdep] Error 127
make[2]: *** [scripts_basic] Error 2
make[1]: *** [include/config/auto.conf] Error 2
make: *** [old] Error 2

Please help.

thank you

Upgrading a very old kernel (2.6.9-42.EL)

Posted: 2010/06/30 12:53:32
by pschaff
Welcome to the CentOS fora. The following reading is recommended for new users:
[url=]Readme First[/url]
[url=]Installing Software[/url]
[url=]Where to Find Answers[/url]
[url=]How to provide information about your system[/url]

Updating to [url=]CentOS 4.8[/url] and the latest stable distro kernel via yum is the recommended approach. Updating to a generic kernel via a [url=]Source Install[/url] is [b]highly[/b] discouraged, unless you have a compelling reason to do so, and the requisite knowledge to make it work and deal with the consequences. The simple facts that you are attempting to build as root, and don't have gcc installed, indicate a lack of the required knowledge. If you [b]need[/b] a custom kernel see [url=]I Need to Build a Custom Kernel[/url].