Linux MintThis forum is for the discussion of Linux Mint.
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.
As you can see timeout=hidden and timeout=0. I shouldn't see the Grub loader on boot up but I do and it hangs around for 30 seconds
All the tutorial say to change the timeout to zero but it already is zero.
Clearly something is different about the latest version of Ubuntu and Linux Mint 19.3 that causes the many many Grub 2 tutorials on the internet to be wrong. Its probably Ubuntu because every time I think I have a Mint problem it turns out to be an Ubuntu problem.
QUESTIONS:
1. Does anyone know how to make the grub loader simply open the operating system in Mint 19.3? It worked fine in 19.2.
2. Why is etc/default/grub being ignored by the system?
2. What file do you ACTUALLY modify to get Grub to do what you want now that grub customiser and startup manager are no longer available to make our lives easier.
I want grub to go away because I only use Linux and if it were not for Grub my computer would boot in 8 seconds.
Thank you for trying Colorpurple but modifying that grub file seems to have no affect. Having said that, perhaps those lines have to be put in some specific place in the stack. I just added them to the end of the above stack (everything after that in the grub file is commented out). And yes I did run update.
By the way I noticed when I did the update that there were some lines written to the screen about EFI. Is it supposed to write to the EFI and perhaps that is not working? I didn't get any error messages. But I did notice that Grub was smiling and sticking its tongue out at me.
Nope didn't work. No changes. Here is some data: (I don't know how to do those blue boxes for code)
Output of the update grub command after adding the probe line:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/60_mint-theme.cfg'
Generating grub configuration file ...
Found theme: /boot/grub/themes/linuxmint/theme.txt
Found linux image: /boot/vmlinuz-5.0.0-37-generic
Found initrd image: /boot/initrd.img-5.0.0-37-generic
Found linux image: /boot/vmlinuz-5.0.0-32-generic
Found initrd image: /boot/initrd.img-5.0.0-32-generic
Adding boot menu entry for EFI firmware configuration
done
Contents of the "etc/default/grub" file:
# 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'
# 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"
Maybe those three lines you gave me need to come first? I read the info page and I saw no mention of things being in a certain order. Thanks Hazel. She said Info was easier than man and she was right!
Woohoooo! I did it! I figured it out. The old guy has still got it! OK I feel better now. I don't need my meds!
This is how I solved the problem. I would not have solved it if Colorpurple had not steered my in the right direction. Thank you Colorpurple. Sometimes just being able to discuss the problem with someone is all it takes to solve it.
So Linux Mint had to make life exceedingly difficult and could not just leave things standardized. They created their own theme and configuration file. I read about grub allowing vendors to use their own config files in the Grub Info file. So on a hunch, I set about trying to determine if such a file existed and it did. It took a while to track it down. First I had to find the theme and then I just followed the bread crumbs until I found the file:
boot/grub/grub.cfg
Within the file is a line 105:
if [ $grub_platform = efi ]; then set timeout=30
Well I do have EFI so this would true hence the 30 seconds would apply. So I set this to zero and saved the file (after making a backup). You have to be careful however because farther up at line 93 is:
if [ "${recordfail}" = 1 ] ; then set timeout=30
Now I don't have the foggiest as to what that means but the word "fail" in there definitely got my attention. I am guessing if whatever that thing that fails happens then you probably want some time to get into the Grub menu. So I left that alone.
I rebooted and walla! No Grub menu. Something is happening in the background because my computer now boots in about 16 seconds. The 8 second boot time I timed from when I hit the enter key at the Grub menu. I never timed how long it took to get to the Grub menu.
Now that I know this fix I can always change it back. One caveat. It worked once but the file says this at the top:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
Well I could not find any templates at that directory. The second phrase is a complete lie because it is NOT using the settings from /etc/default/grub! There were 8 files in grub.d but they were not called templates. I did open every file in Gedit and searched for "30" and "timeout" and none of the files contained those terms so I have my fingers crossed. But I could wake up tomorrow and the thing might be back the way it was.
I think that if Mint keeps diverging farther and farther from the mainstream Linux with each upgrade I may have to switch to something like Arch.
I try to solve my own problems as much as possible using google and searching the forums and I almost always succeed. But if the solution on Google, LQ, or stack exchange don't work because Mint is so far afield then I have to give it up. I avoid the Mint forum like the plague because the last few times I used it the responders were the rudest, nastiest, and most arrogant people I have ever encountered on a forum. And those people are always the most senior people there (based on their profile). Its not civilized over there like LQ and and stack exchange is. My very first post there, many years ago, some people told me I was lazy and stupid because I prefer doing things with a GUI instead of the command line (I spent more than half of my life on the command line with VAX, OS2, DOS, CPM and other OS;s and I don't want to do it anymore). Of course I AM lazy and probably stupid but they aren't supposed to say that out loud, are they? And it hasn't gotten any better over the years.
I love the ease of use and the bells and whistles and eye candy in Mint but I also need to be able to get my work done! This last version didn't even come with GIMP!! It came with something called Drawing which I tried but it appears to me to be a waste of electrons.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.