LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to skip the GRUB2 menu screen (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-skip-the-grub2-menu-screen-4175658898/)

carman 08-09-2019 08:58 PM

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!

djk44883 08-09-2019 09:36 PM

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.

ondoho 08-10-2019 01:57 AM

Quote:

Originally Posted by carman (Post 6023546)
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.

djk44883 08-10-2019 07:35 AM

Quote:

Originally Posted by carman (Post 6023546)
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.

carman 08-17-2019 12:11 AM

Quote:

Originally Posted by djk44883 (Post 6023677)
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.

ondoho 08-17-2019 03:25 AM

Quote:

Originally Posted by carman (Post 6025996)
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


pan64 08-17-2019 04:33 AM

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)

djk44883 08-17-2019 07:19 AM

Quote:

Originally Posted by carman (Post 6025996)
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.

carman 08-17-2019 08:25 PM

Quote:

Originally Posted by djk44883 (Post 6026093)
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.

ondoho 08-18-2019 01:59 AM

also see here :rolleyes:

djk44883 08-18-2019 07:52 AM

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.


All times are GMT -5. The time now is 08:39 PM.