You are not logged in.

#1 2022-05-02 18:10:52

ahmadreza1383
Member
Registered: 2022-05-02
Posts: 5

Display the Grub menu when booting the system with the shortcut keys

Hello to all
My laptop model is "v15-iil lenovo"

I want to know if there is a way to display the grub menu when booting with the keyboard keys?

I know I can display the menu by editing the "/ etc / default / grub" file

But this will be applied permanently

I want to be shown the menu whenever I want with the keyboard keys

I even looked at this article and tried the "space-shift-esc" keys
But I did not get an answer

https://askubuntu.com/questions/16042/h … -boot-time

Offline

#2 2022-07-17 21:25:58

Psithurisma
Member
Registered: 2021-08-17
Posts: 15

Re: Display the Grub menu when booting the system with the shortcut keys

Open up

/etc/default/grub

in a text editor as root(or using sudo).
Find the line which matches

GRUB_TIMEOUT_STYLE=menu

and replace it with

GRUB_TIMEOUT_STYLE='hidden'

Assuming you installed Grub to a partition mounted at /boot, regenerate grub.cfg using

sudo grub-mkconfig -o /boot/grub/grub.cfg

Now every time you boot, Grub's menu will be invisible unless you hold Escape.
For more info see https://wiki.archlinux.org/title/GRUB/T … idden_menu

Offline

Board footer

Powered by FluxBB