Results 1 to 8 of 8

Thread: Upgrade kernel version

  1. #1
    Join Date
    Mar 2008
    Beans
    118

    Upgrade kernel version

    Hello,

    I'm running precise, with kernel 3.2.0-53-generic. I'd like to upgrade it to 3.10, which according to Wikipedia, is the latest long-term stable release. From http://kernel.ubuntu.com/~kernel-ppa/mainline/, I see that Linux 3.10 is associated with Saucy. (v3.10.29) - is that a problem?

    Also, is the process as simple as downloading the *.deb's and installing them? What are the potential problems?

  2. #2
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Upgrade kernel version

    Quote Originally Posted by sombrancelha View Post
    Hello,

    I'm running precise, with kernel 3.2.0-53-generic. I'd like to upgrade it to 3.10, which according to Wikipedia, is the latest long-term stable release. From http://kernel.ubuntu.com/~kernel-ppa/mainline/, I see that Linux 3.10 is associated with Saucy. (v3.10.29) - is that a problem?
    No, no problem whatsoever.
    Canonical has recently updated Precise into version 12.04.4, shipping it with kernel 3.11, which is the Kernel running by default on Ubuntu 13.10.

    Quote Originally Posted by sombrancelha View Post
    Also, is the process as simple as downloading the *.deb's and installing them? What are the potential problems?
    Actually, the process is quite simple. From here, download the linux-headers file that ends with “all.deb”, the linux-headers file that ends with “i386.deb” or “amd64.deb” depending upon your computer architecture and the linux-image file that ends with “i386.deb” or “amd64.deb” again depending depending upon your computer architecture.
    Afterwards open a terminal window, navigate to the folder where you downloaded those files and run:
    Code:
    sudo dpkg -i *.deb
    Please mark your thread as solved if you get a satisfactory response.
    Linux user #556334 | Ubuntu user #35168

  3. #3
    Join Date
    Mar 2008
    Beans
    118

    Re: Upgrade kernel version

    Thank you for the reply.

    I installed 3.11.10-03111003-generic following your instructions, but I just realized that this was not a good choice. The problem is that I need to run perf, and it's very picky on kernel and tool versions, which need to match.

    Perf is contained on the linux-tools-VERSION package, and from the repositories I can only install up to v3.8.0-35.

    So here are my questions:
    • Can I just uninstall the *.deb's that I installed before and then install the new kernel?
    • Where can I find v3.8.0-35? It's not on the kernel-ppa.

  4. #4
    Join Date
    Feb 2008
    Location
    Planet earth, for now.
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Upgrade kernel version

    I generally use Synaptic Package Manager for this stuff because it's easier to see all related software, but you could do a search for the kernel number in Software Centre and uninstall the headers, etc. That will get rid of it. It is no major problem leaving it where it is if you don't mind it taking up not much space. You should still have your previous kernels available at boot. You can just remove it from the menu instead.

  5. #5
    Join Date
    Mar 2008
    Beans
    118

    Re: Upgrade kernel version

    Quote Originally Posted by Bucky Ball View Post
    I generally use Synaptic Package Manager for this stuff because it's easier to see all related software, but you could do a search for the kernel number in Software Centre and uninstall the headers, etc. That will get rid of it. It is no major problem leaving it where it is if you don't mind it taking up not much space. You should still have your previous kernels available at boot. You can just remove it from the menu instead.
    This is a remote machine, so a graphical interface is not an option. Nevertheless, I tried removing with apt-get and no other packages depended on it. My only concern is that during the installation of the new kernel some configuration file was altered and now it won't be reverted.

  6. #6
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Upgrade kernel version

    Quote Originally Posted by sombrancelha View Post
    <...snip...>
    • Can I just uninstall the *.deb's that I installed before and then install the new kernel?
    Since you don't have a graphical interface, here's what you can do. Open terminal and and run the following:
    Code:
    sudo apt-get --purge linux-image-3.11.10-031110-generic linux-headers-3.11.10-031110 linux-headers-3.11.10-031110-generic
    Afterwards update your Grub:
    Code:
    sudo update-grub2
    and reboot.
    Quote Originally Posted by sombrancelha View Post

    • Where can I find v3.8.0-35? It's not on the kernel-ppa.
    Try here.
    Please mark your thread as solved if you get a satisfactory response.
    Linux user #556334 | Ubuntu user #35168

  7. #7
    Join Date
    Aug 2007
    Location
    US
    Beans
    883
    Distro
    Ubuntu Development Release

    Re: Upgrade kernel version

    If you're running precise (12.04 LTS) why not just use the backported packages that are provided:
    Code:
    sudo apt-get purge linux-generic linux-image-generic linux-headers-generic; sudo apt-get install linux-image-generic-lts-saucy linux-headers-generic-lts-saucy
    that's the whole point of using an LTS release.
    Please mark completed threads as [SOLVED], which lets us find solutions faster!

  8. #8
    Join Date
    Mar 2008
    Beans
    118

    Re: Upgrade kernel version

    Thanks, apt-get followed by update-grub2 solved it.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •