Results 1 to 7 of 7

Thread: How do I install lower version of kernel?

  1. #1
    Join Date
    Nov 2008
    Location
    Novosibirsk-Korolyov@Ru
    Beans
    86
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question How do I install lower version of kernel?

    I followed the instructions from MTE on how to speed up my Ubuntu, and the first thing I did was remove older kernel images as well as shorten the available kernel versions list.

    What I did next was:
    Code:
    Start-Date: 2013-11-02  12:59:45
    Commandline: aptdaemon role='role-remove-packages' sender=':1.108'
    Remove: linux-headers-3.5.0-40-generic:i386 (3.5.0-40.62~precise1), linux-image-3.5.0-40-generic:i386 (3.5.0-40.62~precise1), linux-headers-3.5.0-40:i386 (3.5.0-40.62~precise1), linux-headers-3.5.0-41:i386 (3.5.0-41.64~precise1), linux-headers-3.5.0-39:i386 (3.5.0-39.60~precise1), linux-headers-3.5.0-41-generic:i386 (3.5.0-41.64~precise1), linux-image-3.5.0-41-generic:i386 (3.5.0-41.64~precise1), linux-headers-3.5.0-39-generic:i386 (3.5.0-39.60~precise1), linux-image-3.5.0-39-generic:i386 (3.5.0-39.60~precise1)
    End-Date: 2013-11-02  13:01:40
    I believe the kernels listed above were the versions I have had installed before I did the things listed in clause 4 of the MTE guide.
    After the update my kernel version changed to:
    Code:
    uname -r
    3.9.2-ck1
    Well, the problem with 3.9.2-ck1 is that networking manager is acting really strange: it does not start up at system boot, and the networking indicator on the media control panel blinks constantly after I choose "Wireless network".

    My question is, how do I revert to an older kernel version, say, 3.5.0-40.62~precise1, given that I don't have it present in my system?

  2. #2
    Join Date
    Jun 2011
    Location
    North Carolina
    Beans
    508
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How do I install lower version of kernel?

    Quote Originally Posted by xyepblra View Post
    My question is, how do I revert to an older kernel version...
    Perhaps too simple of an approach...

    I am running Ubuntu Unity 12.04LTS 64-bit with Kernel Linux 3.2.0-55 on a Lenovo Thinkpad T400, smooth and responsive

    Hardware: Intel® Core™2 Duo CPU T9400 @ 2.53GHz × 2 with 2 gigs of RAM and a 7200 RPM HD.

    The stock Kernel Linux with 12.04LTS performs great. And I was able to gain system speed by adjusting Dash logging.

    System Settings > Privacy > Applications tab > Do not log activities from the following applications: Firefox Web Browser

    Firefox has it's own search and history function, seemed redundant (and slowed my system) with the same function in Dash.

  3. #3
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How do I install lower version of kernel?

    Code:
    sudo apt-get update && sudo apt-get install linux-image-3.5.0-40-generic linux-headers-3.5.0-40-generic linux-headers-3.5.0-40
    Code:
    sudo update-grub
    This will download the older kernel and its headers, and update GRUB to detect it at boot. You may have to hold down the shift key during boot to bring up GRUB menu and then choose your preferred kernel. Be aware that some of your programs/drivers may have already be recompiled for the new kernel and may not run well on the older one. This is unlikely to have happened, but kernel reversions do come with their own set of problems.

    You may wish to edit /etc/default/grub to have it select your old kernel as the default to load at boot. Remember to run update-grub after you make any changes.
    Last edited by DuckHook; November 5th, 2013 at 04:50 AM. Reason: to correct file location

  4. #4
    Join Date
    Sep 2010
    Beans
    898

    Re: How do I install lower version of kernel?

    In 12.04 you have a choice of three kernel series: 3.2.x, 3.5.x and 3.8.x. The corresponding metapackage(s) are: linux-generic (for 3.2.x), linux-generic-lts-quantal (for 3.5.x) or linux-generic-lts-raring (for 3.8.x).

  5. #5
    Join Date
    Nov 2008
    Location
    Novosibirsk-Korolyov@Ru
    Beans
    86
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I install lower version of kernel?

    Thank you, DuckHook, but your command didn't work, unfortunately, due to response that in English must sound something like 'the candidate package was not found, it is either obsolete or has been removed, but it is listed in the dependencies list of another package'.

    Dave_L, do you think the command advised by DuckHook can be applied in fuzzy mode, so that to install any kernel available in series 3.2?

  6. #6
    Join Date
    Sep 2010
    Beans
    898

    Re: How do I install lower version of kernel?

    I don't know what you mean by "fuzzy mode".

    If you want to install the latest 3.2.x kernel on 12.04:

    Code:
    sudo apt-get -s install linux-generic
    The -s option means "simulate". The command will tell you what it will do, without making any changes.

    If the output looks reasonable, then you can use the command without the -s option:

    Code:
    sudo apt-get install linux-generic
    Personally I prefer synaptic as a package manager, rather than using apt-get directly. With synaptic it's easier to see what packages are available, what their dependencies are, etc.
    Last edited by Dave_L; November 5th, 2013 at 01:35 PM.

  7. #7
    Join Date
    Nov 2008
    Location
    Novosibirsk-Korolyov@Ru
    Beans
    86
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I install lower version of kernel?

    Thank you, Dave_L, Synaptic did the thing for me perfectly.

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
  •