grub menu - can't remove thru editing etc/default/grub
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
grub menu - can't remove thru editing etc/default/grub
Please help. This is driving me crazy. Can't stand the extra delay of seeing the grub menu every time I boot.
On Ubuntu-mate 16.04 Have edited my /etc/default/grub to read (and then of course doing a sudo update grub)
Code:
# 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=0
#GRUB_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
#GRUB_DISABLE_OS_PROBER=true
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Did you even bothered looking at the newly-created grub.cfg (if it indeed re-created)? Did you check if it is /boot/grub or /boot/grub2? Here's another recipe:
You can also just hit the enter key and the machine will boot without waiting for grub to time out.
yeah but if he turns it on, then runs out the door for a cigarette , he got no time to hit that key it is still preboot, but then comes back and it is still not booting yet, (fast smoke) well. hit the enter key always works.
c0wb0y, thanks will try that. AwesomeMachine, yes of course, but the point is I shouldn't have to manually bypass GRUB every time I boot.
One thing I noticed. When I do a
sudo update-grub
My Windows Boot manager on another partition-drive gets updated
This doesn't seem correct
Quote:
[sudo] password for foo:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-53-generic
Found initrd image: /boot/initrd.img-4.4.0-53-generic
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
Found Windows Boot Manager on /dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
c0wb0y, thanks will try that. AwesomeMachine, yes of course, but the point is I shouldn't have to manually bypass GRUB every time I boot.
One thing I noticed. When I do a
sudo update-grub
My Windows Boot manager on another partition-drive gets updated
This doesn't seem correct
That is correct, it will list everything you have that is bootalbe, it is when you no longer see it seeing Windows when it updates is when you go into wtf mode, then post a help me.
ok thanks. Guess I will have to just get accustomed to hitting the return key on very boot though wish I could still hide grub
grub is still going to pop up, then go into its boot sequence. it will just not be there for very long. Try setting it to 100 (one Hundred ) and see what happens. because it should be working. I see no reason why it isn't.
all that setting does is put grub into a wait state, then without even hitting your enter key, when that time is up it will just boot the default system, (top of the list) automatically.
Just change your background image to something pleasant to look at as well.
Should change the /boot/grub/grub.cfg (implies as root and /boot/ is mounted if it is it's own partition). Bear in mind that you can have another grub for another install that is what actually gets used at boot. Sound like that might be in play. There's also other customization areas beyond /etc/defaults/grub (/etc/grub.d/? recalling a 40_custom entry/file that I used long ago). Although more for menu items than settings, but they can get in the way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.