/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.30 Revision 1.31
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml,v 1.30 2013/08/15 17:05:38 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml,v 1.31 2013/09/20 06:47:50 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>14</version> 11<version>15</version>
12<date>2013-08-15</date> 12<date>2013-09-19</date>
13 13
14<section> 14<section>
15<title>Making your Choice</title> 15<title>Making your Choice</title>
16<subsection> 16<subsection>
17<title>Introduction</title> 17<title>Introduction</title>
638<subsection> 638<subsection>
639<title>Configuring GRUB2</title> 639<title>Configuring GRUB2</title>
640<body> 640<body>
641 641
642<p> 642<p>
643First, let us install the necessary GRUB2 files in <path>/boot/grub2</path>. 643First, let us install the necessary GRUB2 files in <path>/boot/grub</path>.
644Assuming the first disk (the one where the system boots from) is 644Assuming the first disk (the one where the system boots from) is
645<path>/dev/sda</path>, the following command will do this for us: 645<path>/dev/sda</path>, the following command will do this for us:
646</p> 646</p>
647 647
648<pre caption="Installing the GRUB2 files in /boot/grub2"> 648<pre caption="Installing the GRUB2 files in /boot/grub">
649# <i>grub2-install /dev/sda</i> 649# <i>grub2-install /dev/sda</i>
650</pre> 650</pre>
651 651
652<p> 652<p>
653Next, we can generate the GRUB2 configuration based on the user configuration 653Next, we can generate the GRUB2 configuration based on the user configuration
661To generate the final GRUB2 configuration, run the <c>grub2-mkconfig</c> 661To generate the final GRUB2 configuration, run the <c>grub2-mkconfig</c>
662command: 662command:
663</p> 663</p>
664 664
665<pre caption="Generating GRUB2 configuration"> 665<pre caption="Generating GRUB2 configuration">
666# <i>grub2-mkconfig -o /boot/grub2/grub.cfg</i> 666# <i>grub2-mkconfig -o /boot/grub/grub.cfg</i>
667Generating grub.cfg ... 667Generating grub.cfg ...
668Found linux image: /boot/<keyval id="kernel-name" /> 668Found linux image: /boot/<keyval id="kernel-name" />
669Found initrd image: /boot/<keyval id="genkernel-initrd" /> 669Found initrd image: /boot/<keyval id="genkernel-initrd" />
670done 670done
671</pre> 671</pre>

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.20