Ask Your Question

Changing grub2 timeout: Fedora 18

asked 2013-03-28 01:22:56 -0500

jawface gravatar image

updated 2014-04-11 15:49:06 -0500

remjg gravatar image


I had my grub2 timeout set at 10 the other day (it was working), then I did a clean install and now when I'm trying to set it again and its not working.

I go into root, edit the /etc/default/grub


save and run: grub2-mkconfig -o /boot/grub2/grub.conf

The grub.conf file shows the timeout set at 10, but when I reboot its still counts down from 5. Why did this work before, and not now?


edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2013-03-28 09:42:17 -0500

ThomasMcA gravatar image

updated 2013-03-30 21:43:10 -0500

There is a typo in that command. It should end in cfg, not conf, like this:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

If this answers your question, please mark this as answered by clicking the gray check icon to the left - it will change to a green icon.

edit flag offensive delete link more


This worked for me on first try.

chal gravatar imagechal ( 2017-05-27 04:24:34 -0500 )edit

answered 2013-03-31 09:59:57 -0500

M0εiπ gravatar image

just login as root or use "su" command to have superuser access

then open this file by an editor like "vim" :

vim /boot/grub2/grub.cfg

then find this line :

set timeout=5

change 5 to your whatever you want, then save and exit.

edit flag offensive delete link more



Manually editing grub.cfg is a bad idea - a warning at the top of the file even tells you that. Changes will get lost the next time grub2-mkconfig is run, and/or the next time the kernel is updated.

ThomasMcA gravatar imageThomasMcA ( 2013-03-31 10:15:27 -0500 )edit

it works butyou need to be careful while working with this file, because an incorrect change will cause the system not start at startup.

fatehi gravatar imagefatehi ( 2013-04-01 07:05:17 -0500 )edit

Question Tools



Asked: 2013-03-28 01:22:56 -0500

Seen: 7,510 times

Last updated: Mar 31 '13