Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] How do I skip the GRUB menu?

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
LAPIII
Posts: 47
Joined: 2015-07-07 19:26

[SOLVED] How do I skip the GRUB menu?

#1 Post by LAPIII »

I have Peppermint OS which is based on Debian bullseye and I want to skip the GRUB menu. According to How to remove or hide the GRUB boot menu? from Ask Ubuntu:
To not see the GRUB menu while booting:
  1. Open the /etc/default/grub file using from terminal entering: gksu gedit /etc/default/grub
  2. Change GRUB_TIMEOUT=10 to GRUB_TIMEOUT=0
  3. Save the file and quit the text editor.
  4. Run: sudo update-grub
  5. Reboot.
I ran:

Code: Select all

gksu gedit /etc/default/grub
And got:

Code: Select all

bash: gksu: command not found
Last edited by LAPIII on 2022-08-12 20:36, edited 1 time in total.

lindi
Debian Developer
Debian Developer
Posts: 412
Joined: 2022-07-12 14:10
Has thanked: 1 time
Been thanked: 77 times

Re: How do I skip the GRUB menu?

#2 Post by lindi »

You should use

Code: Select all

gedit admin:///etc/default/grub
since in general it is not a good idea to run desktop applications as root regardless of the method (sudo, su, gksudo) as they might create root-owned files to your home directory or something equally weird.

CwF
Global Moderator
Global Moderator
Posts: 2638
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: How do I skip the GRUB menu?

#3 Post by CwF »

Since it uses XFCE

Code: Select all

pkexec mousepad
would do just fine...

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: [SOLVED] How do I skip the GRUB menu?

#4 Post by Head_on_a_Stick »

I prefer

Code: Select all

SUDO_EDITOR=mousepad sudoedit /etc/default/grub
GVFS is bloat! :mrgreen:

EDIT: and polkit!
deadbang

CwF
Global Moderator
Global Moderator
Posts: 2638
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: [SOLVED] How do I skip the GRUB menu?

#5 Post by CwF »

Head_on_a_Stick wrote: 2022-08-12 20:49 GVFS is bloat! :mrgreen:

EDIT: and polkit!
...and sudo

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: [SOLVED] How do I skip the GRUB menu?

#6 Post by Head_on_a_Stick »

^ Nah, sudoedit is well useful :D

EDIT: although there are simpler wrapper scripts: https://github.com/TinfoilSubmarine/doasedit

But this is getting off-topic so I'll stop now.
deadbang

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: [SOLVED] How do I skip the GRUB menu?

#7 Post by ticojohn »

Bypassing grub seems spooky to me. If something goes wrong there is no option to boot into safe mode. But to each his own.
I am not irrational, I'm just quantum probabilistic.

CwF
Global Moderator
Global Moderator
Posts: 2638
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: [SOLVED] How do I skip the GRUB menu?

#8 Post by CwF »

ticojohn wrote: 2022-08-12 23:14 If something goes wrong there is no option to boot into safe mode.
The arrow key will still get you there.

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: [SOLVED] How do I skip the GRUB menu?

#9 Post by ticojohn »

CwF wrote: 2022-08-13 00:19
ticojohn wrote: 2022-08-12 23:14 If something goes wrong there is no option to boot into safe mode.
The arrow key will still get you there.
And once again I learned something new. Thanks @CwF
I am not irrational, I'm just quantum probabilistic.

Post Reply