build symlink to a kernel version

Hi,

uname -a shows "Linux linux-qon1 2.6.25.5-1.1-default #1 SMP 2008-06-07 01:55:22 +0200 x86_64 x86_64 x86_64 GNU/Linux" where as there is a symbolic link between this version and linux-2.6.25.18-0.2

How may I compile to make uname -a show  linux-2.6.25.18-0.2 as the current kernel version.


Brgds,

kNish
eyequbeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kyleb84Commented:
Where is the symlink?

If uname reports 2.6.25.5-11 it means that your currently running it.

When compiling the kernel, these commands:

# make modules_install install

Will change your grub boot menu to include the new kernel and change /boot/vmlinuz to point to the new version.

Then if you reboot you should be select to boot the new kernel (if not already selected).

uname would then report the new version.
0
eyequbeAuthor Commented:
Hi,

    given that uname shows 2.6.25.5-11. When i run command sh nvidia ....###3.run i get a error message. Basically it does not find the kernel.h file in the /usr/src/includes/ of the 2.6.25.5-11 folder.

            I find that there is a symlink between 2.6.25.5-11 and 2.6.25.18-0.2 folder. linux-2.6.25.18-0.2 folder has the needed kernel.h file (in its subfolder). So it occurs that if have uname  show me linux-2.6.25.18-0.2 in the display then i can have this command successfully run (sh nvidia_.....###3.#.run)

BRgds,

kNish
0
kyleb84Commented:
You will have to boot into the kernel with that version for uname to show that version...

Or you could try hack it up a bit....

mv /bin/uname /bin/uname.old
echo "#!/bin/sh
#
echo 2.6.25.18-0.2
exit 0
" > /bin/uname
chmod 755 /bin/uname

This would replace uname with a shell script that just returns "2.6.25.18-0.2"....
0
eyequbeAuthor Commented:
Hi,

    This question is now irrelevant as an alternative gnome is useful.

BRgds,

kNish
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.