Repository :
http://git.fedorahosted.org/cgit/docs/multiboot-guide.git
On branch : master
---------------------------------------------------------------
commit 4c873ea3444143aca7d2ed6035f3ba58d0f9e792
Author: Pete Travis <immanetize(a)fedoraproject.org>
Date: Mon Jul 29 19:28:52 2013 -0600
started a section explaining how and why to reinstall grub
---------------------------------------------------------------
en-US/GRUB-reinstalling.xml | 41 +++++++++++++++++++++++++++++++++++++++++
en-US/GRUB.xml | 2 ++
2 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/en-US/GRUB-reinstalling.xml b/en-US/GRUB-reinstalling.xml
new file mode 100644
index 0000000..382b48e
--- /dev/null
+++ b/en-US/GRUB-reinstalling.xml
@@ -0,0 +1,41 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "Fedora_Multiboot_Guide.ent">
+%BOOK_ENTITIES;
+
+]>
+
+<section id="GRUB-reinstalling">
+ <title>Reinstalling GRUB</title>
+ <para>
+ This section describes the process for reinstalling the GRUB bootloader and
recreating the configuration. Unlike legacy GRUB, which required users to manually create
entries, GRUB2 will scan the system for bootable systems and automatically create the menu
configuration. There are a number of reasons to reinstall GRUB:
+ <simplelist>
+ <member>
+ The boot menu does not include an available operating systems.
+ </member>
+ <member>
+ The bootloader has been overwritten during installation of Windows or another
operating system.
+ </member>
+ <member>
+ You have chosen not to use <application>anaconda</application> to
install grub.
+ </member>
+ </simplelist>
+ <section id="GRUB-reinstalling-mkconfig">
+ <title>Refreshing GRUB configuration</title>
+ <para>
+ To recreate the GRUB configuration from a booted system, use the
<command>grub2-mkconfig</command> utility. The program will scan your system
and create menu entries for what it finds. You should also use
<command>grub2-mkconfig</command> after customizing menu entries, a process
described in <ulink linkend="GRUB-customizing" />
+ </para>
+ <para>
+ Refresh GRUB configuration on a BIOS system:
+ <screen>
+ <command>grub2-mkconfig -o /boot/grub2/grub.cfg</command>
+ </screen>
+ </para>
+ <para>
+ Refresh GRUB configuration on UEFI systems:
+ <screen>
+ <command>
+
+ </command>
+ </screen>
+ </para>
diff --git a/en-US/GRUB.xml b/en-US/GRUB.xml
index bf1fb6e..63c9c0f 100644
--- a/en-US/GRUB.xml
+++ b/en-US/GRUB.xml
@@ -11,6 +11,8 @@
<!-- GRUB Basics -->
<xi:include href="GRUB-general.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!-- Reinstalling GRUB -->
+ <xi:include href="GRUB-reinstalling.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<!-- temporary and persistent menu entry changes -->
<xi:include href="GRUB-customizing.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />