Peppermint OS

Support => New Users => Topic started by: warron.french on November 02, 2019, 10:17:58 pm

Title: Which package provides kernel binaries
Post by: warron.french on November 02, 2019, 10:17:58 pm
Hi, I am brand new to PeppermintOS.  I just installed it a few minutes ago.

I am experienced in many of the old UNIXes, and have been working on CentOS/RHEL since 5.x, and am always learning new things.

I know how to determine which kernel I am running, via executing, uname -a; however, I cannot determine the name of the package that delivers the kernel.

In RHEL/CentOS I know that it is called kernel, and I think the latest release (8.x) calls it kernel-root.

What is the name of the dpkg that delivers the kernel for PeppermintOS  10?
Title: Re: Which package provides kernel binaries
Post by: PCNetSpec on November 03, 2019, 01:35:32 am
Okay the package that PULLS IN the kernel as dependencies in Peppermint 10 is called linux-image-generic-hwe-18.04
(in Peppermint 9 it was linux-image-generic)

But be aware that package does NOT contain the kernel itself, it's a metapackage that pulls in the kernel who's packagename changes with each version (currently linux-image-5.0.0-32-generic).

So want to know which kernel and support packages you have, run:
Code: [Select]
uname -rand let's say the output is:
Code: [Select]
5.0.0-32-genericthen prefix that with "linux-image-", as in:-
linux-image-5.0.0-32-generic
and you have your packagename.

support packages for that kernel will be
linux-headers-5.0.0-32
linux-headers-5.0.0-32-generic
linux-modules-5.0.0-32-generic
linux-modules-extra-5.0.0-32-generic




Oh, and welcome to the forum :)
Title: Re: Which package provides kernel binaries
Post by: Dobri on November 03, 2019, 07:39:49 am
How to update to 5.3 ?
Title: Re: Which package provides kernel binaries
Post by: VinDSL on November 03, 2019, 08:02:42 am
First of all... Er, wait...

Peppermint OS Community > ForumSupport > New Users

n/m   :)



Title: Re: Which package provides kernel binaries
Post by: Slim.Fatz on November 03, 2019, 08:03:49 am
Hi Dobri,

DO THIS AT YOUR OWN RISK!!

Go to this page (https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D) and open the link to v5.3.8 (near the top). Now in the section for your processor (I'm assuming it is the section labeled amd64) download the these four packages:

linux-headers-5.3.8-050308_5.3.8-050308.201910290940_all.deb
linux-headers-5.3.8-050308-generic_5.3.8-050308.201910290940_amd64.deb
linux-image-unsigned-5.3.8-050308-generic_5.3.8-050308.201910290940_amd64.deb
linux-modules-5.3.8-050308-generic_5.3.8-050308.201910290940_amd64.deb

Then open a terminal in the directory containing these files and check that the checksums are OK (the checksums are found by clicking on the link labeled CHECKSUMS on the same page as the one for downloading the four files but further down the page). If these are OK then, in the same terminal enter this command:

Code: [Select]
sudo dpkg -i *.deb
When the installation is finished (and without errors), reboot and (again in a terminal session) run:

Code: [Select]
uname -a
to see if the new kernel is being used.

DO ALL OF THIS AT YOUR OWN RISK! It has worked for most of us around here who have done this, but that is no promise that it will also work for you. If in doubt, back up all important data files first, and inform yourself about how to go back to an older kernel should things go wrong.  ;)

Regards,

-- Slim
Title: Re: Which package provides kernel binaries
Post by: VinDSL on November 03, 2019, 09:05:13 am
Peppermint Linux OS is capable of supporting and surviving some amazing haxors. Example:


(http://vindsl.com/images/Selectionshot_2019-11-03_09:54:37.png)


But, as Slim warned, please "DO THIS AT YOUR OWN RISK!!"

The above snappy is from today, but this machine was unbootable all last week. Read and heed  8)