Written by marcelpetrick
on February 18, 2016
Call me dumb, but every few weeks I check my kernel, check the current one and then decide to update, but notice that I can’t remember the needed commands. First try is always “sudo kernelupdate”, which never succeeds 😉
Of course: Linux Mint is the target. For all other Ubuntu-based distros it should work as well.
Therefore: check http://kernel.ubuntu.com/~kernel-ppa/mainline/ and adapt ..
1 2 3 4 5 6 7 |
#!/bin/bash #grab the stuff: no lowlatency, just generic 64 bit; two times headers, once the image sudo cd /tmp; wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.2-wily/linux-headers-4.4.2-040402-generic_4.4.2-040402.201602171633_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.2-wily/linux-headers-4.4.2-040402_4.4.2-040402.201602171633_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.2-wily/linux-image-4.4.2-040402-generic_4.4.2-040402.201602171633_amd64.deb; sudo dpkg -i *.deb #update bootloader sudo update-grub #reboot sudo reboot |
1 2 |
$ uname -a Linux miniPC 4.4.2-040402-generic #201602171633 SMP Wed Feb 17 21:35:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux |
Leave a Reply
You must be logged in to post a comment.