How to Install / Upgrade Kernel 3.10.9 in Ubuntu 13.04, 12.04, 12.10

Last updated: August 21, 2013

The latest Linux Kernel 3.10.9 has been released. All users of the 3.10 kernel series are urged to upgrade as soon as possible. Here’s how to install / upgrade in Ubuntu 13.04 Raring, 12.04 Precise and 12.10 Quantal.

Linux Kernel 3.10.9 Ubuntu

Linux kernel 3.10.8 has a problem on networking, so the Kernel 3.10.9 was announced few hours later with a fix. See the official announcement.

Install / Upgrade Kernel 3.10.9

The mainline kernel PPA has updated Debs packages for Debian / Ubuntu based users. Press Ctrl+Alt+T on your keyboard to open terminal. Then download and install the Debs.

for 32-bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.9-saucy/linux-headers-3.10.9-031009-generic_3.10.9-031009.201308201935_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.9-saucy/linux-headers-3.10.9-031009_3.10.9-031009.201308201935_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.9-saucy/linux-image-3.10.9-031009-generic_3.10.9-031009.201308201935_i386.deb

for 64-bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.9-saucy/linux-headers-3.10.9-031009-generic_3.10.9-031009.201308201935_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.9-saucy/linux-headers-3.10.9-031009_3.10.9-031009.201308201935_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.9-saucy/linux-image-3.10.9-031009-generic_3.10.9-031009.201308201935_amd64.deb

After that, both 32-bit and 64-bit run below command to install the kernel

sudo dpkg -i linux-headers-3.10.9-*.deb linux-image-3.10.9*.deb

Finally apply changes to grub boot loader:

sudo update-grub

You can remove the downloaded packages after the kernel is properly installed.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

4 responses to How to Install / Upgrade Kernel 3.10.9 in Ubuntu 13.04, 12.04, 12.10

  1. Hi, My system (Ubuntu 13.04 and kernel 3.8.0-29-generic) boots into blank screen when I upgraded it to Kernel 3.10.9. Following is the copy of my terminal on dpkg of the kernel packages.

    Traceback (most recent call last):
    File “/usr/share/apport/package-hooks/dkms_packages.py”, line 22, in
    import apport
    ImportError: No module named apport
    Error! Bad return status for module build on kernel: 3.10.9-031009-generic (x86_64)
    Consult /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/make.log for more information.
    Setting up linux-image-3.10.9-031009-generic (3.10.9-031009.201308201935) …
    Running depmod.
    update-initramfs: deferring update (hook will be called later)
    Not updating initrd symbolic links since we are being updated/reinstalled
    (3.10.9-031009.201308201935 was configured last, according to dpkg)
    Not updating image symbolic links since we are being updated/reinstalled
    (3.10.9-031009.201308201935 was configured last, according to dpkg)
    Examining /etc/kernel/postinst.d.
    run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.10.9-031009-generic /boot/vmlinuz-3.10.9-031009-generic
    run-parts: executing /etc/kernel/postinst.d/dkms 3.10.9-031009-generic /boot/vmlinuz-3.10.9-031009-generic
    Traceback (most recent call last):
    File “/usr/share/apport/package-hooks/dkms_packages.py”, line 22, in
    import apport
    ImportError: No module named apport
    Error! Bad return status for module build on kernel: 3.10.9-031009-generic (x86_64)
    Consult /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/make.log for more information.
    run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.10.9-031009-generic /boot/vmlinuz-3.10.9-031009-generic
    update-initramfs: Generating /boot/initrd.img-3.10.9-031009-generic
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169
    run-parts: executing /etc/kernel/postinst.d/pm-utils 3.10.9-031009-generic /boot/vmlinuz-3.10.9-031009-generic
    run-parts: executing /etc/kernel/postinst.d/update-notifier 3.10.9-031009-generic /boot/vmlinuz-3.10.9-031009-generic
    run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.10.9-031009-generic /boot/vmlinuz-3.10.9-031009-generic
    Generating grub.cfg …
    Found linux image: /boot/vmlinuz-3.10.9-031009-generic
    Found initrd image: /boot/initrd.img-3.10.9-031009-generic
    Found linux image: /boot/vmlinuz-3.8.0-29-generic
    Found initrd image: /boot/initrd.img-3.8.0-29-generic
    Found linux image: /boot/vmlinuz-3.8.0-19-generic
    Found initrd image: /boot/initrd.img-3.8.0-19-generic
    Adding boot menu entry for EFI firmware configuration
    done

    Any way out of this mess?

    Thanks
    Dev

    • Most probably the new kernel doesn’t have the modules that comes with your proprietary driver and fails to use your configuration files. If you still have the boot menu that comes with a default Ubuntu installation then you can choose “Recovery mode”. In the next menu choose to boot into safe mode, and if Ubuntu asks if you want to create a new configuration file just allow it to do so. There should be other ways to generate new configuration (like deleting some dot files). via stackexchange

      • True. The problem is due to the proprietary Broadcom Wifi drivers. I’ll try to follow stackexchange’s advice and see if it works.

        Thanks.
        Dev