Choose style:

Author Topic: Kernel question ?  (Read 921 times)

0 Members and 1 Guest are viewing this topic.

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Kernel question ?
« on: September 15, 2017, 05:27:02 pm »
The kernel that my Peppermint 8 is currently using is 4.8.0-58.

But I noticed that the latest kernel installed is 4.10.0-33, so I'm wondering why that kernel doesn't load
when I start Peppermint.

I always thought that the latest kernel installed is the one that is used.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Kernel question ?
« Reply #1 on: September 15, 2017, 07:04:51 pm »
Weird...

What's the output from:
Code: [Select]
uname -a
and
Code: [Select]
dpkg -l | grep 4.10.0
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Kernel question ?
« Reply #2 on: September 15, 2017, 07:16:54 pm »
the output from uname -a is:
Code: [Select]
Linux jim-550-110 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
and the output from dpkg -l | grep 4.10.0  is:
Code: [Select]
ii  linux-generic-hwe-16.04                     4.10.0.33.35                                    amd64        Complete Generic Linux kernel and headers
ii  linux-headers-4.10.0-27                     4.10.0-27.30~16.04.2                            all          Header files related to Linux kernel version 4.10.0
ii  linux-headers-4.10.0-27-generic             4.10.0-27.30~16.04.2                            amd64        Linux kernel headers for version 4.10.0 on 64 bit x86 SMP
ii  linux-headers-4.10.0-28                     4.10.0-28.32~16.04.2                            all          Header files related to Linux kernel version 4.10.0
ii  linux-headers-4.10.0-28-generic             4.10.0-28.32~16.04.2                            amd64        Linux kernel headers for version 4.10.0 on 64 bit x86 SMP
ii  linux-headers-4.10.0-32                     4.10.0-32.36~16.04.1                            all          Header files related to Linux kernel version 4.10.0
ii  linux-headers-4.10.0-32-generic             4.10.0-32.36~16.04.1                            amd64        Linux kernel headers for version 4.10.0 on 64 bit x86 SMP
ii  linux-headers-4.10.0-33                     4.10.0-33.37~16.04.1                            all          Header files related to Linux kernel version 4.10.0
ii  linux-headers-4.10.0-33-generic             4.10.0-33.37~16.04.1                            amd64        Linux kernel headers for version 4.10.0 on 64 bit x86 SMP
ii  linux-headers-generic-hwe-16.04             4.10.0.33.35                                    amd64        Generic Linux kernel headers
ii  linux-image-4.10.0-27-generic               4.10.0-27.30~16.04.2                            amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-4.10.0-28-generic               4.10.0-28.32~16.04.2                            amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-4.10.0-32-generic               4.10.0-32.36~16.04.1                            amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-4.10.0-33-generic               4.10.0-33.37~16.04.1                            amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-extra-4.10.0-27-generic         4.10.0-27.30~16.04.2                            amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-extra-4.10.0-28-generic         4.10.0-28.32~16.04.2                            amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-extra-4.10.0-32-generic         4.10.0-32.36~16.04.1                            amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-extra-4.10.0-33-generic         4.10.0-33.37~16.04.1                            amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-generic-hwe-16.04               4.10.0.33.35                                    amd64        Generic Linux kernel image
jim@jim-550-110 ~ $
« Last Edit: September 15, 2017, 07:22:24 pm by PCNetSpec »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Kernel question ?
« Reply #3 on: September 15, 2017, 07:20:17 pm »
What's the output from:
Code: [Select]
grep 'DEFAULT\|CMDLINE' /etc/default/grub
and:
Code: [Select]
dpkg -l | grep 4.8.0
« Last Edit: September 15, 2017, 07:30:48 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Kernel question ?
« Reply #4 on: September 15, 2017, 07:33:13 pm »
The contents of  cat /etc/default/grub | grep DEFAULT  are:

GRUB_DEFAULT=0
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and the output from dpkg -l | grep 4.8.0  is:

ii  linux-headers-4.8.0-53                      4.8.0-53.56~16.04.1                             all          Header files related to Linux kernel version 4.8.0
ii  linux-headers-4.8.0-53-generic              4.8.0-53.56~16.04.1                             amd64        Linux kernel headers for version 4.8.0 on 64 bit x86 SMP
ii  linux-headers-4.8.0-54                      4.8.0-54.57~16.04.1                             all          Header files related to Linux kernel version 4.8.0
ii  linux-headers-4.8.0-54-generic              4.8.0-54.57~16.04.1                             amd64        Linux kernel headers for version 4.8.0 on 64 bit x86 SMP
ii  linux-headers-4.8.0-56                      4.8.0-56.61~16.04.1                             all          Header files related to Linux kernel version 4.8.0
ii  linux-headers-4.8.0-56-generic              4.8.0-56.61~16.04.1                             amd64        Linux kernel headers for version 4.8.0 on 64 bit x86 SMP
ii  linux-headers-4.8.0-58                      4.8.0-58.63~16.04.1                             all          Header files related to Linux kernel version 4.8.0
ii  linux-headers-4.8.0-58-generic              4.8.0-58.63~16.04.1                             amd64        Linux kernel headers for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-4.8.0-53-generic                4.8.0-53.56~16.04.1                             amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-4.8.0-54-generic                4.8.0-54.57~16.04.1                             amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-4.8.0-56-generic                4.8.0-56.61~16.04.1                             amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-4.8.0-58-generic                4.8.0-58.63~16.04.1                             amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-extra-4.8.0-53-generic          4.8.0-53.56~16.04.1                             amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-extra-4.8.0-54-generic          4.8.0-54.57~16.04.1                             amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-extra-4.8.0-56-generic          4.8.0-56.61~16.04.1                             amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-extra-4.8.0-58-generic          4.8.0-58.63~16.04.1                             amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Kernel question ?
« Reply #5 on: September 15, 2017, 07:36:04 pm »
The contents of  grep 'DEFAULT\|CMDLINE' /etc/default/grub  is:

GRUB_DEFAULT=0
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Kernel question ?
« Reply #6 on: September 15, 2017, 07:44:08 pm »
Okay I have no idea why it's not booting the 4.10 kernel, but we can remove all the 4.8 kernels forcing it to bot the 4.10 series.

Can you do 2 things...

a) run:
Code: [Select]
sudo update-grub
then post the contents of:
Code: [Select]
pluma /boot/grub/grub.cfg

and

b) confirm your PC boots okay if you manually select the 4.10.0-33-generic kernel from the GRUB menu

Once booted into the 4.10.0 kernel, don't reboot .. just post the output from:
Code: [Select]
uname -a
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Kernel question ?
« Reply #7 on: September 15, 2017, 08:12:18 pm »
ok, I did a sudo update-grub  and rebooted; no change still using the 4.8.0-58 kernel.

Then I rebooted again and selected advanced options for Peppermint 8 but
the only kernels listed were the 4.4 and the 4.8 kernels.

I also have Ubuntu Mate install on the drive and it is in the grub menu;
could that have anything to do with the other kernels not showing up in the grub menu ?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Kernel question ?
« Reply #8 on: September 15, 2017, 08:21:09 pm »
Yes, Ubuntu MATE probably has control of GRUB.

Boot into Ubuntu MATE, and run:
Code: [Select]
sudo update-grub
now see if booting into Peppermint loads the 4.10 kernel.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Kernel question ?
« Reply #9 on: September 15, 2017, 08:38:36 pm »
Bingo !   I booted into Ubuntu and updated grub,
then I looked into Ubuntu advanced options and the latest kernel is 4.10.0-26,
and then I looked into Peppermint advanced options and the latest kernel is 4.10.0-33.

So, I went back to the default Peppermint grub selection and booted and it
booted into 4.10.0-33.   Success !

I further noticed in the update manager that kernels 4.11.0-13 and 4.11.0-14 are
available for installation.

Is it advisable to install 4.11.0-14 and if I did, would I have to again
boot into Ubuntu and go a grub update ?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Kernel question ?
« Reply #10 on: September 15, 2017, 08:48:38 pm »
Our advice is to stick to the 4.10 kernel series until you're automatically rolled onto the next kernel series by the HWE.

If you manually install 4.11 updates won't be automatic and you may miss out on security updates.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Kernel question ?
« Reply #11 on: September 15, 2017, 08:54:52 pm »
ok, I'll stick with the 4.10 series, but if a newer 4.10 kernel is installed, will it
automatically boot to it ?

In other words, does Ubuntu still have control of grub and if so, I suppose that
if a newer 4.10 kernel is installed, that I would have to boot into Ubuntu and update grub ?

If that's the case, is there any way that I can give Peppermint control of grub.

I really don't use Ubuntu, but I fear that if I were to use Gparted to delete the Ubuntu
partition, that Peppermint might not boot.
Do you think that would be the case ?

What does HWE stand for ?
« Last Edit: September 15, 2017, 09:10:11 pm by arky217 »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Kernel question ?
« Reply #12 on: September 15, 2017, 09:46:50 pm »
No .. you'd need to update grub in Ubuntu.

But I'm assuming you'd do that anyway because you'd expect Ubuntu would also have gotten a new kernel and have upgraded its own grub config anyway.

[EDIT]

YES we can certainly give Peppermint control of GRUB .. it will require booting from a LiveCD/DVD or LiveUSB .. have you got one at hand ?
(preferrably Peppermint but any Ubuntu 16.04 based distro should do)

[EDIT 2]

Won't be until tomorrow though as I'm off to bed shortly ;)
« Last Edit: September 15, 2017, 09:51:01 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline arky217

  • Member
  • ***
  • Posts: 172
  • Karma: 10
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Kernel question ?
« Reply #13 on: September 15, 2017, 11:04:44 pm »
Yes, I have a liveUSB in Peppermint 8.

Once I give control of grub to Peppermint, then could I delete the Ubuntu partition
and add that space to the Peppermint partition ?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 2885
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Kernel question ?
« Reply #14 on: September 15, 2017, 11:16:34 pm »
Yes you can, but NOT before ;)

I'll post instructions for reinstalling GRUB giving Peppermint control tomorrow.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec