uname -r

in a terminal gives an output saying 3.13.0-37-generic, but I am trying to upgrade the kernel to 3.16, and indeed I have ran

sudo aptitude safe-upgrade

which installed linux-headers-3.16.0-34 (3.16.0-34.45), but running uname -r doesn't show that. I am doing all this because it seems to me that virtualbox dkms can't find a kernel source for 3.13.

  • 1
    "... upgrade the kernel to 13.6 ..." ? – A.B. Apr 10 '15 at 8:49
  • Ok, how to do that via terminal? I thought that just installing the linux header for 3.16 will upgrade the kernel! – Mohamed Ahmed Apr 10 '15 at 8:52
  • 2
    You have a typo: "... upgrade the kernel to 13.6 ..." There is no kernel 13.6. – A.B. Apr 10 '15 at 8:54
  • 1
    Have you rebooted? – user371765 Apr 10 '15 at 8:56
  • I meant 3.16. I think I just don't know how to upgrade the kernel, I thought that just installing a specific kernel header will upgrade the kernel to that version. – Mohamed Ahmed Apr 10 '15 at 8:57

uname -r reports the running kernel. Switching to the newly installed kernel doesn't happen on-the-fly.

The newest kernel will be booted by default, so after rebooting the system normally, uname -r returns v3.16.0-34-generic.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.