Difference between revisions of "Hide-show grub menu at boot"

From CDOT Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:GRUB]][[Category:OPS235]]
+
[[Category:GRUB]][[Category:OPS235]][[Category:OPS335]]
  
 
{{Admon/note|Fedora 13|These instructions should apply to other Linux distribution using grub version 0.97 and later.}}
 
{{Admon/note|Fedora 13|These instructions should apply to other Linux distribution using grub version 0.97 and later.}}
The default installation of the GRUB boot loader by Fedora 13 set the timeout value to 0 which effectively hide the GRUB boot menu from the user. To activate the GRUB menu at boot time, set the timeout parameter to a non-zero value in the file "/boot/grub/grub.conf.
 
  
To hide the GRUB menu at boot time, set the timeout parameter in the file "/boot/grub/grub.conf" to zero.
+
The default installation of the GRUB boot loader by Fedora 13 set the <code>timeout</code> value to 0 and the <code>hiddenmenu</code> option enabled, which effectively hides the GRUB boot menu from the user.
 +
 
 +
= Viewing the GRUB menu without changing the defaults =
 +
 
 +
The grub menu can be made to appear by holding down a key, such as SHIFT, during the boot process.
 +
 
 +
= Changing the defaults so the boot menu always appears =
 +
 
 +
Edit <code>/boot/grub/grub.conf</code>:
 +
 
 +
# Remove (or comment out) the <code>hiddenmenu</code> line.
 +
# Set the <code>timeout</code> parameter to the length in seconds that GRUB will wait before booting the default menu option, if the user does not press any keys.
 +
 
 +
= References =
 +
 
 +
* <code>man grub</code>
 +
 
 +
{{Admon/important|GRUB vs. GRUB2|When searching for information about GRUB on the Internet, be aware that Grub2 is a very different program from the version shipped with Fedora, and information about Grub2 will not necessarily apply to Fedora. The Fedora project has not yet switched to using Grub2 because it does not support some system configurations on which Fedora is used.}}

Latest revision as of 06:35, 13 May 2013


Note.png
Fedora 13
These instructions should apply to other Linux distribution using grub version 0.97 and later.

The default installation of the GRUB boot loader by Fedora 13 set the timeout value to 0 and the hiddenmenu option enabled, which effectively hides the GRUB boot menu from the user.

Viewing the GRUB menu without changing the defaults

The grub menu can be made to appear by holding down a key, such as SHIFT, during the boot process.

Changing the defaults so the boot menu always appears

Edit /boot/grub/grub.conf:

  1. Remove (or comment out) the hiddenmenu line.
  2. Set the timeout parameter to the length in seconds that GRUB will wait before booting the default menu option, if the user does not press any keys.

References

  • man grub
Important.png
GRUB vs. GRUB2
When searching for information about GRUB on the Internet, be aware that Grub2 is a very different program from the version shipped with Fedora, and information about Grub2 will not necessarily apply to Fedora. The Fedora project has not yet switched to using Grub2 because it does not support some system configurations on which Fedora is used.