Linux mint21. Show all available kernels in grub at boot

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,356
Reaction score
7,256
Credits
33,180
Quite so, @osprey , but that will not be the issue, as we have just seen above, it will be to do with the superseded versions showing.
 


wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,356
Reaction score
7,256
Credits
33,180
Oops, I should say (and not sound so cocky) I will know more when I have updated Vanessa. Likely on my tomorrow.
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691
I read somewhere today that in LM21 the 'additional' kernels have been suppressed/hidden.....words to that effect......

In LM20.3, if a new kernel came in via Update Manager, and the pc was then rebooted (as requested to by update manager) the 'new' kernel would be used immediately

Obviously not so with LM21 !
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
541
Reaction score
450
Credits
4,997
I tried GRUB_DISABLE_SUBMENU=y, earlier in my day, with no effect
That's a little unfortunate because it appears as a valid config in the grub manual. However, in the manual it uses "true" instead of "y". That may or may not make a difference. I can't vouch for what Mint may have provided though.

Reading wizardfromoz though I may be missing something.
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691
eading kernel 6.0 didntinterestingly when I sudo update-grub ....I get :

[email protected]:~$ sudo update-grub
Sourcing file `/etc/default/grub'
[email protected]:~$

.....no blurb.....
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691
I did try the GRUB_DISABLE_SUBMENU=y ...again....just now.....just in case I was holding my tongue wrong...

Same result....no change to grub menu

Same lack of blurb after running sudo update-grub
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691

Note that the 'changes' here are implemented at /etc/default/grub.d/90_custom.cfg: ...??

How to make the Grub menu always visible​

If you only run Linux Mint and there are no other operating systems on the computer, the menu is hidden by default.

To make it visible, as root, add these lines to /etc/default/grub.d/90_custom.cfg:

GRUB_TIMEOUT="5"
GRUB_TIMEOUT_STYLE="menu"

Then type the following commands in a terminal:

sudo update-grub
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
541
Reaction score
450
Credits
4,997
I did try the GRUB_DISABLE_SUBMENU=y ...again....just now.....just in case I was holding my tongue wrong...

Same result....no change to grub menu

Same lack of blurb after running sudo update-grub
You may have missed my last post, but I noticed in the grub manual it uses "true" rather than "y", however in my debian "y" is sufficient.
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691
Yeah.....I know.....I looked too
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691
@osprey ...I will try ....true.
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
541
Reaction score
450
Credits
4,997
I was wondering if those instructions from mint you mentioned in post #27 work and get what you want.
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=4
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_SUBMENU=true

No change....dammit !
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691
I copy and paste that :

cat /etc/default/grub.d/90_custom.cfg

into terminal and I get :

[email protected]:~$ cat /etc/default/grub.d/90_custom.cfg
cat: /etc/default/grub.d/90_custom.cfg: No such file or directory
[email protected]:~$
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691
The gremlins are alive and doing well, tonight
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
541
Reaction score
450
Credits
4,997
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=4
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_SUBMENU=true

No change....dammit !
It looks like you'll also need to change GRUB_DEFAULT= ..., to "fallback" or "default" according to the manual.
Changing this option (GRUB_DISABLE_SUBMENU) will require changing existing values of ‘GRUB_DEFAULT’... ‘fallback’ (see Section 15.1.11 [fallback], page 59) and 'default’ (see Section 15.1.10 [default], page 59)
In my debian case "0" was sufficient.
 
Last edited:
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,887
Credits
36,691
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Staff online

Members online


Top