LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2019, 09:58 PM   #1
carman
LQ Newbie
 
Registered: Aug 2019
Posts: 11

Rep: Reputation: Disabled
How to skip the GRUB2 menu screen


I am running rhel 7.7 only, this is not a dual boot but I can't seem to get rid of the grub2 menu, the timeout is at least 0sec but It would be nice if it didn't show up at all unless I pressed a designated key. Is this possible? The redhat documentation doesn't really go through it, just how to change the timeout.

Thanks All!
 
Old 08-09-2019, 10:36 PM   #2
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 118

Rep: Reputation: 28
I don't know this is specific to red had, grub documents something about

Code:
GRUB_HIDDEN_TIMEOUT_QUIET=true
I haven't used it for some time, so see what specific you need. I think you can still set a timeout, but it's hidden unless you press something (maybe). It may need ="true" and of course you'll have to update-grub this as well as editing /etc/default/grub needs sudo or root access.
 
2 members found this post helpful.
Old 08-10-2019, 02:57 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,615
Blog Entries: 10

Rep: Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906
Quote:
Originally Posted by carman View Post
this is not a dual boot
I don't even use grub anymore because I have no use for its features.
https://wiki.archlinux.org/index.php/Syslinux
And it doesn't even show up during boot. I think there was some safety measure to hold down a certain key to get a menu.
 
1 members found this post helpful.
Old 08-10-2019, 08:35 AM   #4
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 118

Rep: Reputation: 28
Quote:
Originally Posted by carman View Post
this is not a dual boot but I can't seem to get rid of the grub2 menu,

Be aware, there is more to a boot menu than multi/dual booting. On the rare occasion you need to maintenance mode aka single user. Or if a kernel upgrade flubbed up, the option to fallback to a previous working on.


These are a couple of common, rare examples. I set mine to console and display for 3 seconds, just in case. Someday you may learn the hard way... you wish you could get to the grub boot command line. Hope not.
 
2 members found this post helpful.
Old 08-17-2019, 01:11 AM   #5
carman
LQ Newbie
 
Registered: Aug 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by djk44883 View Post
Be aware, there is more to a boot menu than multi/dual booting. On the rare occasion you need to maintenance mode aka single user. Or if a kernel upgrade flubbed up, the option to fallback to a previous working on.


These are a couple of common, rare examples. I set mine to console and display for 3 seconds, just in case. Someday you may learn the hard way... you wish you could get to the grub boot command line. Hope not.
I'd like to not remove it fully but instead to press some button to enter it, or restart it into grub. I think windows has similar options. Keep in mind I just have a laptop and a new SSD, and it takes a good 20-30 seconds to get to the login screen. I just want to improve that.
 
Old 08-17-2019, 04:25 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,615
Blog Entries: 10

Rep: Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906
Quote:
Originally Posted by carman View Post
Keep in mind I just have a laptop and a new SSD, and it takes a good 20-30 seconds to get to the login screen. I just want to improve that.
How old is that laptop? 15 years?
It seems you have a very different problem here.

Troubleshooting:
Code:
systemd-analyze blame
systemd-analyze critical-chain
 
1 members found this post helpful.
Old 08-17-2019, 05:33 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 15,881

Rep: Reputation: 5250Reputation: 5250Reputation: 5250Reputation: 5250Reputation: 5250Reputation: 5250Reputation: 5250Reputation: 5250Reputation: 5250Reputation: 5250Reputation: 5250
grub can have a default menu entry which can be started automatically after timeout (no need to press anything - only if you want to boot a non-default menu)
 
1 members found this post helpful.
Old 08-17-2019, 08:19 AM   #8
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 118

Rep: Reputation: 28
Quote:
Originally Posted by carman View Post
I'd like to not remove it fully but instead to press some button to enter it, or restart it into grub. I think windows has similar options. Keep in mind I just have a laptop and a new SSD, and it takes a good 20-30 seconds to get to the login screen. I just want to improve that.
I'm using an old dell laptop (first generation i7 very - functional!) with a conventional drive. lightdm.log shows 23 second to authenticate me, kern.log looks like ~37 seconds, estimating desktop shows.

I have a desktops with 2.5" SSD boots in like under 10 seconds. You need more than hiding grub boot menu to speed things up I suspect.



Difference between desktop vs mobile processors is negligible. SATA drives, size doesn't really matter... just because you're using a laptop doesn't mean it's inferior to a desktop.
 
1 members found this post helpful.
Old 08-17-2019, 09:25 PM   #9
carman
LQ Newbie
 
Registered: Aug 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by djk44883 View Post
I'm using an old dell laptop (first generation i7 very - functional!) with a conventional drive. lightdm.log shows 23 second to authenticate me, kern.log looks like ~37 seconds, estimating desktop shows.

I have a desktops with 2.5" SSD boots in like under 10 seconds. You need more than hiding grub boot menu to speed things up I suspect.



Difference between desktop vs mobile processors is negligible. SATA drives, size doesn't really matter... just because you're using a laptop doesn't mean it's inferior to a desktop.
You nailed it, I have an issue with the boot process, I get a tmpfs error that says the option is huge. It hangs there for a few seconds. I'll get that figured out before I try to do anything else. Thanks for now.
 
Old 08-18-2019, 02:59 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,615
Blog Entries: 10

Rep: Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906Reputation: 4906
also see here
 
Old 08-18-2019, 08:52 AM   #11
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 118

Rep: Reputation: 28
Just my note, if you'd not hide boot messages [ quite splash] you might have seen that before thinking... The boot menu is taking too long, holding up my awsome system.

Ok that's still your option. Although it's most likely a configuration thing, another option you can get from a boot menu is memtest86, if you'd install it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub2 can't see my win 7 partition and yast2 bootloader can't reinstall grub2 jjrojaspy SUSE / openSUSE 5 07-07-2013 11:38 PM
kcm-grub2 - No valid GRUB2/BURG installation could be detected cristi92b Linux - Newbie 2 06-14-2012 09:01 AM
[SOLVED] ubuntu 11.04 want to skip grub2 entry in installer php5er Ubuntu 3 07-16-2011 01:42 AM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 03:39 PM
GRUB2 - FreeBSD-8.0 does not show up in triple boot menu, dual boot menu it does.. wiliweld *BSD 7 05-03-2010 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration