build symlink to a kernel version

Posted on 2008-11-09
Last Modified: 2013-12-15

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.


Question by:eyeqube
    LVL 10

    Assisted Solution

    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.

    Author Comment


        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


    LVL 10

    Assisted Solution

    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 ""....

    Accepted Solution


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



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now