Linux mint21. Show all available kernels in grub at boot

OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
good morning !

Well spotted !

[email protected]:~$ sudo apt update && sudo apt upgrade
Hit:1 https://ubuntu.mirror.digitalpacific.com.au/archive jammy InRelease
Get:2 https://ubuntu.mirror.digitalpacific.com.au/archive jammy-updates InRelease [114 kB]
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:4 https://ubuntu.mirror.digitalpacific.com.au/archive jammy-backports InRelease
Ign:5 http://mirror.xnet.co.nz/pub/linuxmint/packages vanessa InRelease
Hit:6 http://mirror.xnet.co.nz/pub/linuxmint/packages vanessa Release
Hit:8 http://security.ubuntu.com/ubuntu jammy-security InRelease
Fetched 114 kB in 2s (68.7 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
gstreamer1.0-pipewire libpipewire-0.3-0 libpipewire-0.3-modules
libspa-0.2-modules pipewire pipewire-bin
0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.
[email protected]:~$

Makes not a jot of difference.......but I am not fussed...despite rebooting another 10K times with altered /etc/default/grub etc etc....the same problem remains

What the hell am i missing?
 


OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
I just corrected the incorrect command at #57 as mentioned by you at #60
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,106
Reaction score
6,983
Credits
31,168
What the hell am i missing?

(Scarecrow from Wizard of Oz sings) "If I only had a brain". ;)

Top of the morning to you Brian.

Dunno - we are on page 4 and it might be a good time to summarise what issues you are (still) facing.

Do you have a Timeshift snapshot from before the updates that included the kernel upgrade?

I should be free in a few minutes to swing into Vanessa and see if kernel ...50 has ascended yet, just waiting in Arcolinux for my grub to reconfigure itself, getting near the finish.

Wiz
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
The problematic kernel (50) came in on 11th October...

I have a snapshot taken on 21st September where I fixed runaway logs.

I shall await your telling me/us that indeed 50 has failed to 'ascend'
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
Well I'll be gobsmacked !!!!!!!!!

I stand corrected .

So how is it that your pc 'ascends'....whereas mine does not ??!!
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
Is "resetting" grub a viable option ?


....or am I "barking up the wrong tree" yet again ?

I can always bite the bullet and just restore the bloody thing to September 21st
(mayhem will ensue with downloaded tv shows etc etc.....but I would survive.)
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
I changed my mirrors from .au, to the default......and the result was shown below.

I tell you the gremlins are alive and doing well.....(this was one of the "not to upgrade....via the sudo apt update && sudo apt upgrade
go figure.



1665713333667.png

I just ran sudo apt update && sudo apt upgrade......see result below

[email protected]:~$ sudo apt update && sudo apt upgrade
[sudo] password for brian:
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://packages.linuxmint.com vanessa InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 http://packages.linuxmint.com vanessa Release
Hit:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:8 https://brave-browser-apt-release.s3.brave.com stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
gstreamer1.0-pipewire libpipewire-0.3-0 libpipewire-0.3-modules
libspa-0.2-modules pipewire pipewire-bin
6 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 1,706 kB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gstreamer1.0-pipewire amd64 0.3.48-1ubuntu2 [45.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpipewire-0.3-modules amd64 0.3.48-1ubuntu2 [525 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 pipewire amd64 0.3.48-1ubuntu2 [3,976 B]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 pipewire-bin amd64 0.3.48-1ubuntu2 [312 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpipewire-0.3-0 amd64 0.3.48-1ubuntu2 [274 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libspa-0.2-modules amd64 0.3.48-1ubuntu2 [546 kB]
Fetched 1,706 kB in 5s (336 kB/s)
(Reading database ... 367730 files and directories currently installed.)
Preparing to unpack .../0-gstreamer1.0-pipewire_0.3.48-1ubuntu2_amd64.deb ...
Unpacking gstreamer1.0-pipewire:amd64 (0.3.48-1ubuntu2) over (0.3.48-1ubuntu1) .
..
Preparing to unpack .../1-libpipewire-0.3-modules_0.3.48-1ubuntu2_amd64.deb ...
Unpacking libpipewire-0.3-modules:amd64 (0.3.48-1ubuntu2) over (0.3.48-1ubuntu1)
...
Preparing to unpack .../2-pipewire_0.3.48-1ubuntu2_amd64.deb ...
Unpacking pipewire:amd64 (0.3.48-1ubuntu2) over (0.3.48-1ubuntu1) ...
Preparing to unpack .../3-pipewire-bin_0.3.48-1ubuntu2_amd64.deb ...
Unpacking pipewire-bin (0.3.48-1ubuntu2) over (0.3.48-1ubuntu1) ...
Preparing to unpack .../4-libpipewire-0.3-0_0.3.48-1ubuntu2_amd64.deb ...
Unpacking libpipewire-0.3-0:amd64 (0.3.48-1ubuntu2) over (0.3.48-1ubuntu1) ...
Preparing to unpack .../5-libspa-0.2-modules_0.3.48-1ubuntu2_amd64.deb ...
Unpacking libspa-0.2-modules:amd64 (0.3.48-1ubuntu2) over (0.3.48-1ubuntu1) ...
Setting up libspa-0.2-modules:amd64 (0.3.48-1ubuntu2) ...
Setting up libpipewire-0.3-0:amd64 (0.3.48-1ubuntu2) ...
Setting up libpipewire-0.3-modules:amd64 (0.3.48-1ubuntu2) ...
Setting up pipewire-bin (0.3.48-1ubuntu2) ...
Setting up pipewire:amd64 (0.3.48-1ubuntu2) ...
Setting up gstreamer1.0-pipewire:amd64 (0.3.48-1ubuntu2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
[email protected]:~$


I guess the "updates" just got a double dose !

No harm done.

??...does running the sudo apt update && sudo apt upgrade command , "trigger" an Update Manager response???
 
Last edited:
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
Restored to 21st September

That was not for the faint hearted.

Refused to update....would not change mirrors....""Please switch to another linux mint mirror....You APT Config is Corrupted"

There had been zero change to a second kernel being available via advanced options etc on grub screen, so I restored to back to the current time etc...all good

You must be in the blessed minority then, because when I do so, I can't use it for several reboots or a day or two.
I do not understand why, when you have installed anything,...be it a kernel or any other piece of software etc etc, ...it is not immediately available. that makes no sense.

Anyhoo/......here I sit, broken hearted, etc etc etc.. ;)

I still have some thinking time for the fact that the 6 not to upgrade.....upgraded!...via both the Terminal and also via Updates.
In hindsight, that did occur after you pointed out the error in the sudo apt update && sudo apt upgrade command
as KGIII would say.... hmmm

Onward and Upward.

I will strengthen my patient side (gird my loins) and sit awaiting either news from launchpad re the error reported there or a kernel update from the update manager.....whichever occurs first.

I will not hold my breathe.
 

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
3,461
Reaction score
2,290
Credits
25,754
Just a heads up - t'other Brian
Force of habit, Most of us know you need to sudo, unless logged in as root in Linux, [but yes get the point newbies reading this would not know.]
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
Just to further confound the exsperts......

I opened /home/file manager/etc/default/grub.....

and grub is not there.

No liquor involved.

I looked around....zero

I ran sudo update-grub

the result is below

[email protected]:~$ sudo update-grub
[sudo] password for brian:
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-50-generic
Found initrd image: /boot/initrd.img-5.15.0-50-generic
Found linux image: /boot/vmlinuz-5.15.0-46-generic
Found initrd image: /boot/initrd.img-5.15.0-46-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
[email protected]:~$
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,106
Reaction score
6,983
Credits
31,168
I've had liquor.

Take 3 aspirin and call me in the morning. LOL.
 

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
3,461
Reaction score
2,290
Credits
25,754

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
3,461
Reaction score
2,290
Credits
25,754
that will take too long, will just have to Waite 4 hrs till its G&T time
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,106
Reaction score
6,983
Credits
31,168
But seriously, folks, and back on topic - @Condobloke I am currently installing today's daily build of Lubuntu 22.10 'Kinetic Kudu' so that I can check the Timeshift problem I am working on, so I can touch base with David G. and Chris G.. so I won't be of much help until tomorrow.

Regrets.

Chris
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
Regrets ?...nah....none here......in the meantime, I have fixed it.

It will take me 30 minutes (more or less) to type up the events leading up to the ta da moment.
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
Following on from post#71......(Life got in the way !)

After seeing the results of sudo update grub etc....I rebooted.

A few seconds into the boot procedure, a sky blue grub screen appeared...(it has always been black)

I hit the down arrow to select Advanced Options for Linux Mint 21, and TA DA....two kernels listed.

Loud shouts of..."omg I am brilliant"...ensued....

I have rebooted a number of times to ensure it is not a dream and am about to run Timeshift.....and later tonight a Disk Image.


I do recall in Software sources, I clicked on Maintenance....and clicked through the first three .....Fix mergeList problems.....Purge residual configuration,,,and Remove duplicate entries
I do not think they had any effect as I have done that before.
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,546
Reaction score
4,648
Credits
33,684
I have proceeded to delete the Timeshift Snapshots which have non viable grubs.....

The "good grub" snapshot is in place and suitably commented on....In a short while I will go offline and take a Disc Image.
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,106
Reaction score
6,983
Credits
31,168
Does that mean we can put this baby to bed? ;)

Well done for persevering.

Wiz
Avagudweegend
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top