How To: Upgrade your kernel, painlessly.

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
don250r

Re: How To: Upgrade your kernel, painlessly.

Post by don250r »

Here's some useful links:

http://www.linux.org/threads/linux-kern ... uide.5384/

http://www.overclock.net/a/how-to-confi ... for-ubuntu

I would also recommend upgrading gcc, but it is my opinion.
But then again, I compile from vanilla source.
The recommended mint way of upgrading the kernel is through Update Manager.
But if you want a streamlined, your-hardware-only, kernel, then by all means, use the configuration guides.
Have fun and enjoy, you can always go back to the previously used kernel in GRUB if it all goes sideways :P
(Advanced Options in the menu)
afifaadam

Re: How To: Upgrade your kernel, painlessly.

Post by afifaadam »

-1- Find the directory for the kernel you require and click on it.

- 2 - In these directories you are going to see "BUILD.LOG", "CHANGES", three things that begin with linux-headers, two things that begin with linux-image and one thing that begins with linux-source. The BUILD.LOG, CHANGES, and linux-source are overall lessimportant .

- 3 - Download and then install the following in the ORDER: first step is to find out the linux-headers file that ends with all.deb. Second step is to get the linux-headers file that ends with i386.deb or amd64.deb which criteria you require. At the end , find out the linux-image file that ends with "i386.deb" or "amd64.deb" again which criteria you require. In real it doesn't actually matter what order you download them in, but you have to make 100% sure that you install them in this order.

- 4 - Reboot your system and you are done.
User avatar
jungle_boy
Level 7
Level 7
Posts: 1812
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rainforest

Re: How To: Upgrade your kernel, painlessly.

Post by jungle_boy »

Formerly worked as well, pulled down the three files, installed, you could reboot and choose the new kernel to start.
Now there is a small obstacle: the DKMS, which breaks when you install another kernel than the kernel used by LM development team, and you cannot start the system with the new kernel.
Samsung Odyssey, Octa-core, i5 9300H, Geforce GTX 1650, 16GB RAM, SSD SAMSUNG NVMe 500GB
LM 21 Cinnamon
Post Reply

Return to “Tutorials”