Agoraphobiae

Code | Games | Geek

Empty /etc/default/grub

Leave a comment

Linux Mint 14 comes with grub2 and a strange surprise (for me anyway): the /etc/default/grub file is completely empty. Instead, /boot/grub/grub.cfg and /etc/grub.d/ contain the grub configuration. This doesn’t mean, however, that the /etc/default/grub file can’t be used. The following is a sample configuration file I made for myself after reading https://help.ubuntu.com/community/Grub2/Setup#Configuring_GRUB_2.

This will hide grub unless the SHIFT key is held down, and will not wait until booting the first option (in my case Linux Mint 14).

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=0

Remember to run

sudo update-grub

when done, and reboot to see the change.

Just wanted to give a heads up to all of us out there wondering why /etc/default/grub is empty.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s