How to upgrade my kernel version to latest version

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
saiakash
Posts: 14
Joined: Tue Mar 27, 2018 4:13 pm

How to upgrade my kernel version to latest version

Post by saiakash »

I had odroid-xu4 with dietpi OS on it.My current kernel version is:

Code: Select all

Linux DietPi 3.10.106+ #1 SMP PREEMPT Fri Nov 24 16:26:38 CET 2017 armv7l GNU/Linux
I got the above output using

Code: Select all

uname -a
Im trying to install tp-link TL-WN822N wifi device driver.But it ask me to upgrade my kernel version to 3.10 to 4.*.
I tried:

Code: Select all

sudo apt-get install linux-headers-$(uname -r)
and

Code: Select all

sudo apt-get update
also i tried:

Code: Select all

sudo apt-get install linux-generic
It installed correctly but i run

Code: Select all

uname -a
It gives the same out as

Code: Select all

Linux DietPi 3.10.106+ #1 SMP PREEMPT Fri Nov 24 16:26:38 CET 2017 armv7l GNU/Linux
So,can anyone tell me a correct procedure to upgrade my kernel and how to change

Code: Select all

uname -a
output to show a upgraded kernel
User avatar
Fourdee
Site Admin
Posts: 2773
Joined: Tue Feb 06, 2007 1:36 pm

Re: How to upgrade my kernel version to latest version

Post by Fourdee »

Hi,

For Jessie, stable 3.x kernel is used.

Our Stretch image (in progress) will use the 4.14 kernel by default.

Meveric offers a 4.14 kernel package in his repo, create a system backup 1st with dietpi-backup (as untested), then you can try installing it with:

Code: Select all

G_AGI linux-image-4.14-armhf-odroid-xu4
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
saiakash
Posts: 14
Joined: Tue Mar 27, 2018 4:13 pm

Re: How to upgrade my kernel version to latest version

Post by saiakash »

Fourdee wrote:Hi,

For Jessie, stable 3.x kernel is used.

Our Stretch image (in progress) will use the 4.14 kernel by default.

Meveric offers a 4.14 kernel package in his repo, create a system backup 1st with dietpi-backup (as untested), then you can try installing it with:

Code: Select all

G_AGI linux-image-4.14-armhf-odroid-xu4
i tried your command but it throws some error
Attachments
error while running the command
error while running the command
Screenshot from 2018-04-13 15-27-17.png (25.75 KiB) Viewed 4585 times
error dialogue box while running the command
error dialogue box while running the command
Screenshot from 2018-04-13 15-23-33.png (8.27 KiB) Viewed 4585 times
Chuckame
Posts: 2
Joined: Thu Apr 26, 2018 11:08 pm

Re: How to upgrade my kernel version to latest version

Post by Chuckame »

saiakash wrote:
Fourdee wrote:Hi,

For Jessie, stable 3.x kernel is used.

Our Stretch image (in progress) will use the 4.14 kernel by default.

Meveric offers a 4.14 kernel package in his repo, create a system backup 1st with dietpi-backup (as untested), then you can try installing it with:

Code: Select all

G_AGI linux-image-4.14-armhf-odroid-xu4
i tried your command but it throws some error
Hi ! Same issue.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: How to upgrade my kernel version to latest version

Post by johnvick »

Post Reply