Meaning if you hard shutdown your machine while testing etc.., when you reboot, grub will actually just stop and sit there. Which is totally what I want all the time…certainly don’t want to boot into that OPERATING SYSTEM that gets me and IP ADDRESS so I can remotely log into my BOX!

I used the method described here to disable this. Basically, you disable the check from matering when the timeout decision is made in the make_timeout function. A friend tells me, you can also set GRUB_RECORDFAIL_TIMEOUT=0 in your /etc/defaults/grub file.

Here is what my function looks like with the changes:

make_timeout () { cat << EOF set timeout=${2} EOF }

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.