Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How do i upgrade my kernel to the latest 5.4.2

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Jessica Sinclair
Posts: 9
Joined: 2019-10-26 11:19

How do i upgrade my kernel to the latest 5.4.2

#1 Post by Jessica Sinclair »

Hey guys i am bored with my Debian Buster 10.2, i now want to give it the latest kernel 5.4.2

I actually dont know how to do this ... i followed the how to from Debian dot org and after installing the new kernel my system failed to boot so i had to reinstall 10.2 buster with Nvidia proprietary drivers for my RTX 2080 video card.

I download UKUU and upgraded the kernel with that as well and still Debian wont start.

Could someone show me to the commands to upgrade my kernel please?

This is my system:

Ram: 32 Gig
CPU: Intel® Core™ i7-8700K CPU @ 3.70GHz × 12
GPU: GeForce RTX 2080/PCIe/SSE2
GNOME

arzgi
Posts: 1193
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: How do i upgrade my kernel to the latest 5.4.2

#2 Post by arzgi »

Jessica Sinclair wrote:Hey guys i am bored with my Debian Buster 10.2, i now want to give it the latest kernel 5.4.2
If you think changing to newer kernel is a cure to your boredom, go ahead. But security updates only cover kernels in Debian repos.

Backports has 5.3.9, might be a small relief.

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: How do i upgrade my kernel to the latest 5.4.2

#3 Post by cuckooflew »

Could someone show me to the commands to upgrade my kernel on Debian

Gee, whiz, a little search foo, and I see this, probably a good starting point:https://wiki.debian.org/HowToUpgradeKernel
======edited==============
I download UKUU and upgraded the kernel with that as well and still Debian wont start.
For enlightenment : http://forums.debian.net/viewtopic.php? ... 30#p539707
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How do i upgrade my kernel to the latest 5.4.2

#4 Post by stevepusser »

Your problem is because you need the 440.36 Nvidia driver for it to build successfully on a 5.4 kernel. If you had been watching the terminal output, you would have seen your driver, probably 418.74, error out on the automatic DKMS rebuild when you tried to install the new kernel. If going through the output puts you to sleep, just search it for "Error".

If you have to use the broadcom-sta-dkms package to generate a "wl" driver, you also need a newer version of that, and Virtual Box needs to be a patched version of virtualbox 6.0.14! (in another OBS repo of mine)

Since the 440.36 Nvidia driver has not been backported officially yet for buster-backports, you can get it backported here in one of my OBS repos, along with some newer 5.3 and 5.4 kernel backports from upstream Debian:

https://build.opensuse.org/package/show ... dia-driver

None of these requirements are really a surprise to me...newer kernels very often need updated drivers.

You really didn't need to reinstall Debian to get back to a working GUI. Simply rebooting with the stock kernel would have worked, then you could have updated the drivers. But call it a learning experience,and at least you're experimenting, like I like to do, instead of just sitting there. You should try Timeshift for an easy system restore point deal if you want an easy way to undo a screwup.
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How do i upgrade my kernel to the latest 5.4.2

#5 Post by stevepusser »

You can also track the latest Liquorix kernels if you want to keep current, though they pulled their 5.4 kernel lately for some reason. I'm still using it, along with a 440.36 driver on a Buster base, so I'm not just pulling what I say out of my wazoo:

Code: Select all

$ optirun inxi -F
System:    Host: msi-gp63 Kernel: 5.4.0-1.1-liquorix-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.1 
           Distro: MX-19_x64 patito feo October 21  2019 
....
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia v: 440.36 
           Display: x11 server: X.Org 1.20.4 driver: intel resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 440.36 
....
MX Linux packager and developer

eggert717
Posts: 3
Joined: 2020-01-25 13:02

Re: How do i upgrade my kernel to the latest 5.4.2

#6 Post by eggert717 »

I need some help please
I'm trying to install your gpg key to add your repo to synaptic to get the 440 drivers
I just a little lost as what to do

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: How do i upgrade my kernel to the latest 5.4.2

#7 Post by Head_on_a_Stick »

eggert717 wrote:I'm trying to install your gpg key to add your repo to synaptic to get the 440 drivers
Follow the "Add repository and install manually" instructions on this page.
deadbang

eggert717
Posts: 3
Joined: 2020-01-25 13:02

Re: How do i upgrade my kernel to the latest 5.4.2

#8 Post by eggert717 »

Thanks for the quick reply
I'm getting a error wget: command not found

sorry some searching and I found the answer
Thanks!!!
Last edited by eggert717 on 2020-01-25 14:21, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: How do i upgrade my kernel to the latest 5.4.2

#9 Post by Head_on_a_Stick »

eggert717 wrote:I'm getting a error wget: command not found
Seriously?

Code: Select all

# apt install wget
See also https://wiki.debian.org/WhereIsIt
deadbang

eggert717
Posts: 3
Joined: 2020-01-25 13:02

Re: How do i upgrade my kernel to the latest 5.4.2

#10 Post by eggert717 »

Sorry, I'm just learning the basics
I appreciate the help

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: How do i upgrade my kernel to the latest 5.4.2

#11 Post by Chrisdb »

arzgi wrote: But security updates only cover kernels in Debian repos.

Backports has 5.3.9, might be a small relief.
I thought kernel backports we're also NOT supported by security updates...

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: How do i upgrade my kernel to the latest 5.4.2

#12 Post by Head_on_a_Stick »

The backported kernels draw their fixes directly from upstream but with a delay. The Liquorix kernels track upstream more closely but they are not signed with Microsoft's Secure Boot keys. Swings and roundabouts :)

The stable kernel is always the best option: security fixes are applied very quickly, it doesn't suffer the constant stream of upstream regressions and Secure Boot is supported.
deadbang

Post Reply