/[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.28 Revision 1.29
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.28 2012/09/11 22:49:21 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml,v 1.29 2013/08/15 08:14:10 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>12</version> 11<version>13</version>
12<date>2012-09-11</date> 12<date>2013-08-15</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>
323<pre caption="Creating /etc/mtab"> 323<pre caption="Creating /etc/mtab">
324# <i>grep -v rootfs /proc/mounts &gt; /etc/mtab</i> 324# <i>grep -v rootfs /proc/mounts &gt; /etc/mtab</i>
325</pre> 325</pre>
326 326
327<p> 327<p>
328When using Linux virtio disks, we need to tell grub where to find the disks as
329the <c>grub-install</c> command will otherwise fail. This is done by adding the
330device definition to the <path>device.map</path> file:
331</p>
332
333<pre caption="Adding the virtio disk to the device map table">
334# <i>echo "(hd0) /dev/vda" >> /boot/grub/device.map</i>
335</pre>
336
337<p>
328Now we can install GRUB using <c>grub-install</c>: 338Now we can install GRUB using <c>grub-install</c>:
329</p> 339</p>
330 340
331<pre caption="Running grub-install"> 341<pre caption="Running grub-install">
332# <i>grub-install --no-floppy /dev/sda</i> 342# <i>grub-install --no-floppy /dev/sda</i>

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.20