build symlink to a kernel version


uname -a shows "Linux linux-qon1 #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-

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


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.

Where is the symlink?

If uname reports 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.
eyequbeAuthor Commented:

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

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


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
exit 0
" > /bin/uname
chmod 755 /bin/uname

This would replace uname with a shell script that just returns ""....
eyequbeAuthor Commented:

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



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

From novice to tech pro — start learning today.