Author Topic: Unable to boot into an earlier kernel(SOLVED)  (Read 819 times)

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1253
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Unable to boot into an earlier kernel(SOLVED)
« on: November 12, 2019, 07:25:06 pm »
Hello Peppermint people, I'm having a problem booting into a different kernel, every time I select a different kernel to boot up, I get the message that I have to load the kernel first. This could be problematic if I really needed to boot a different kernel. How can I fix this?
« Last Edit: November 14, 2019, 08:50:59 am by alynur »
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unable to boot into an earlier kernel
« Reply #1 on: November 13, 2019, 07:15:44 am »
Can we have the EXACT error message.

and the contents of
Code: [Select]
xed /boot/grub/grub.cfg
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1253
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Unable to boot into an earlier kernel
« Reply #2 on: November 13, 2019, 11:07:11 am »
Okay, here is a screenshot of the error,

 


and here is the output from xed /boot/grub/grub.cfg


Spoiler (click here to view / hide)
[close]
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unable to boot into an earlier kernel
« Reply #3 on: November 13, 2019, 01:07:38 pm »
What's the output from:
Code: [Select]
ls /bootand
Code: [Select]
dpkg -l | grep linux-image-4.18
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1253
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Unable to boot into an earlier kernel
« Reply #4 on: November 13, 2019, 07:05:01 pm »
Code: [Select]
albert@albert-desktop ~ $ ls /boot
abi-4.18.20-041820-generic         memtest86+.elf
config-4.18.20-041820-generic      memtest86+_multiboot.bin
config-5.0.0-31-generic            retpoline-4.18.20-041820-generic
config-5.0.0-32-generic            System.map-4.18.20-041820-generic
config-5.0.0-35-generic            System.map-5.0.0-31-generic
config-5.0.0-36-generic            System.map-5.0.0-32-generic
efi                                System.map-5.0.0-35-generic
grub                               System.map-5.0.0-36-generic
initrd.img-4.18.20-041820-generic  vmlinuz-4.18.20-041820-generic
initrd.img-5.0.0-31-generic        vmlinuz-5.0.0-31-generic
initrd.img-5.0.0-32-generic        vmlinuz-5.0.0-32-generic
initrd.img-5.0.0-35-generic        vmlinuz-5.0.0-35-generic
initrd.img-5.0.0-36-generic        vmlinuz-5.0.0-36-generic
memtest86+.bin

Code: [Select]
albert@albert-desktop ~ $ dpkg -l | grep linux-image-4.18
rc  linux-image-4.18.0-18-generic                     4.18.0-18.19~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-4.18.0-20-generic                     4.18.0-20.21~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-4.18.0-21-generic                     4.18.0-21.22~18.04.1                             amd64        Signed kernel image generic
rc  linux-image-4.18.0-25-generic                     4.18.0-25.26~18.04.1                             amd64        Signed kernel image generic


I should mention, I can't boot into ANY of the other kernels presented.
« Last Edit: November 13, 2019, 07:09:19 pm by alynur »
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unable to boot into an earlier kernel
« Reply #5 on: November 13, 2019, 07:52:27 pm »
Try running
Code: [Select]
sudo update-grubbecause for some reason you still have some kernels listed in GRUB that are no longer on your system
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1253
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Unable to boot into an earlier kernel
« Reply #6 on: November 14, 2019, 05:35:13 am »
This is what I get when I run
Code: [Select]
sudo update-grub
Code: [Select]
albert@albert-desktop ~ $ sudo update-grub
[sudo] password for albert:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_peppermint.cfg'
Generating grub configuration file ...
Found background image: grub-background.png
Found linux image: /boot/vmlinuz-5.0.0-36-generic
Found initrd image: /boot/initrd.img-5.0.0-36-generic
Found linux image: /boot/vmlinuz-5.0.0-35-generic
Found initrd image: /boot/initrd.img-5.0.0-35-generic
Found linux image: /boot/vmlinuz-5.0.0-32-generic
Found initrd image: /boot/initrd.img-5.0.0-32-generic
Found linux image: /boot/vmlinuz-5.0.0-31-generic
Found initrd image: /boot/initrd.img-5.0.0-31-generic
Found linux image: /boot/vmlinuz-4.18.20-041820-generic
Found initrd image: /boot/initrd.img-4.18.20-041820-generic
Found Ubuntu 18.04.3 LTS (18.04) on /dev/sdb10
Found Peppermint 10 Ten (10) on /dev/sdb2
Found Ubuntu 19.04 (19.04) on /dev/sdb3
Found Linux Mint 19.2 Tina (19.2) on /dev/sdb6
Found Ubuntu 18.04.3 LTS (18.04) on /dev/sdb7
Found Feren OS (18.04) on /dev/sdb8
Adding boot menu entry for EFI firmware configuration
done

And I did run it a few times before coming here with the problem. Very strange.  :-\
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unable to boot into an earlier kernel
« Reply #7 on: November 14, 2019, 07:39:21 am »
Can we see the output from:
Code: [Select]
dpkg -l | grep 4.18.0and the contents of
Code: [Select]
xed /boot/grub/grub.cfgagain
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1253
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Unable to boot into an earlier kernel
« Reply #8 on: November 14, 2019, 08:02:15 am »
Sure


Spoiler (click here to view / hide)
[close]


Spoiler (click here to view / hide)
[close]


I cut this off at the end of Peppermint, it continues showing the other distros installed and the entire file is too long for spoiler.
What was I thinking?

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2179
  • Karma: 456
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Unable to boot into an earlier kernel
« Reply #9 on: November 14, 2019, 08:33:34 am »
Find which distro is controlling the bootloader and update grub in that.

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1253
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Unable to boot into an earlier kernel
« Reply #10 on: November 14, 2019, 08:50:11 am »
Find which distro is controlling the bootloader and update grub in that.



Duh...thanks murraymint, how easy it is to overlook the obvious. I'm so accustomed to having Peppermint control everything, I forget when I make changes.   ;D
What was I thinking?