Linux mint21. Show all available kernels in grub at boot

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
9,186
Reaction score
8,138
Credits
39,448
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
9,186
Reaction score
8,138
Credits
39,448
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
7,020
Reaction score
5,861
Credits
45,913
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
1,121
Reaction score
1,091
Credits
10,679
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
7,020
Reaction score
5,861
Credits
45,913
eading kernel 6.0 didntinterestingly when I sudo update-grub ....I get :

brian@brian-desktop:~$ sudo update-grub
Sourcing file `/etc/default/grub'
brian@brian-desktop:~$

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

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
7,020
Reaction score
5,861
Credits
45,913
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
7,020
Reaction score
5,861
Credits
45,913

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
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
9,186
Reaction score
8,138
Credits
39,448
Code:
cat /etc/default/grub.d/90_custom.cfg

?
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
9,186
Reaction score
8,138
Credits
39,448
and where was the quote from, Brian?
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
7,020
Reaction score
5,861
Credits
45,913

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
1,121
Reaction score
1,091
Credits
10,679
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
7,020
Reaction score
5,861
Credits
45,913
Yeah.....I know.....I looked too
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
7,020
Reaction score
5,861
Credits
45,913
@osprey ...I will try ....true.
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
1,121
Reaction score
1,091
Credits
10,679
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
7,020
Reaction score
5,861
Credits
45,913
# 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
7,020
Reaction score
5,861
Credits
45,913
I copy and paste that :

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

into terminal and I get :

brian@brian-desktop:~$ cat /etc/default/grub.d/90_custom.cfg
cat: /etc/default/grub.d/90_custom.cfg: No such file or directory
brian@brian-desktop:~$
 
OP
Condobloke

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
7,020
Reaction score
5,861
Credits
45,913
The gremlins are alive and doing well, tonight
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
9,186
Reaction score
8,138
Credits
39,448
My bad, should have been

Code:
cat /etc/grub.d/90_custom.cfg
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
1,121
Reaction score
1,091
Credits
10,679
# 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
7,020
Reaction score
5,861
Credits
45,913
cat /etc/grub.d/90_custom.cfg
I still get
brian@brian-desktop:~$ cat /etc/grub.d/90_custom.cfg
cat: /etc/grub.d/90_custom.cfg: No such file or directory
brian@brian-desktop:~$
 


Latest posts

Top