SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Linux

Installing new kernel in Linux (Ubuntu)

(5 posts)
  • Started 2 years ago by mayurnagekar
  • Latest reply from mayurnagekar
  • Topic Viewed 1080 times

mayurnagekar
Posts: 9

Guys, I had this issue today . Kernel kept freezing and I had no option other than getting a new one.
I thought to share with you so that it saves one's time.

How to Install kernel of your choice from debian packages (Ubuntu).

1. Download the working kernel files from http://kernel.ubuntu.com/~kernel-ppa/mainline/

Eg.

wget http://kernel.ubuntu.com/~kern....._amd64.deb
wget http://kernel.ubuntu.com/~kern....._amd64.deb
wget http://kernel.ubuntu.com/~kern.....19_all.deb

Next, install the three downloaded DEB files with dpkg:
sudo dpkg -i linux-*

3. Reboot your computer to load new kernel.

4. Put your current kernel on hold (otherwise it would be upgraded once again during your next "aptitude update && aptitude safe-upgrade" routine):

sudo aptitude hold linux-image-2.6.39-4-generic linux-headers-2.6.39-4-generic linux-headers-2.6.39-4

Posted 2 years ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

Be nice if your links actually worked :)

Posted 2 years ago
Top
 
owen123
owen123
Posts: 800

At the bottom here: http://kernel.ubuntu.com/~kern.....4-oneiric/

The OP Tried posting direct downloads, which didn't work.

Use The ones starting in linux-headers.

Posted 2 years ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

Just as well then, as direct downloads are strictly forbidden here.

Posted 2 years ago
Top
 
mayurnagekar
Posts: 9

@Lighthouse : The direct links for headers and image files may not work and hence I said "Download the working kernel files" in Point 1 since canonical keeps revising their versions. In case direct links to files doesn't work , remove the path for file and move a step up

Posted 2 years ago
Top
 



Topic Closed

This topic has been closed to new replies.