neysx       05/11/25 13:33:13

  Modified:    xml/htdocs/doc/en/handbook/2005.1
                        hb-install-amd64-bootloader.xml
                        hb-install-x86-bootloader.xml
  Log:
  #107181 Make grub-install work with and without a separate /boot partition

Revision  Changes    Path
1.9       +12 -10    
xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml

file : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml?rev=1.9&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml?rev=1.9&content-type=text/plain&cvsroot=gentoo
diff : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml.diff?r1=1.8&r2=1.9&cvsroot=gentoo

Index: hb-install-amd64-bootloader.xml
===================================================================
RCS file: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- hb-install-amd64-bootloader.xml     24 Nov 2005 17:26:11 -0000      1.8
+++ hb-install-amd64-bootloader.xml     25 Nov 2005 13:33:13 -0000      1.9
@@ -4,12 +4,12 @@
 <!-- The content of this document is licensed under the CC-BY-SA license -->
 <!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
 
-<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml,v
 1.8 2005/11/24 17:26:11 neysx Exp $ -->
+<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml,v
 1.9 2005/11/25 13:33:13 neysx Exp $ -->
 
 <sections>
 
-<version>5.5</version>
-<date>2005-11-24</date>
+<version>5.6</version>
+<date>2005-11-25</date>
 
 <section>
 <title>Making your Choice</title>
@@ -316,15 +316,17 @@
 <body>
 
 <p>
-To install GRUB you will need to issue the <c>grub-install</c> command. 
However,
-<c>grub-install</c> won't work off-the-shelf since we are inside a chrooted
-environment. We need to update <path>/etc/mtab</path> (the file with 
information
-about all mounted filesystems) first: luckily there is an easy way to 
accomplish
-this - just copy over <path>/proc/mounts</path> to <path>/etc/mtab</path>:
+To install GRUB you will need to issue the <c>grub-install</c> command.
+However, <c>grub-install</c> won't work off-the-shelf since we are inside a
+chrooted environment. We need to create <path>/etc/mtab</path> which lists all
+mounted filesystems. Fortunately, there is an easy way to accomplish this -
+just copy over <path>/proc/mounts</path> to <path>/etc/mtab</path>, excluding
+the <c>rootfs</c> line if you haven't created a separate boot partition. The
+following command will work in both cases:
 </p>
 
-<pre caption="Updating /etc/mtab">
-# <i>cp /proc/mounts /etc/mtab</i>
+<pre caption="Creating /etc/mtab">
+# <i>grep -v rootfs /proc/mounts &gt; /etc/mtab</i>
 </pre>
 
 <p>



1.7       +12 -10    
xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml

file : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml?rev=1.7&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml?rev=1.7&content-type=text/plain&cvsroot=gentoo
diff : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml.diff?r1=1.6&r2=1.7&cvsroot=gentoo

Index: hb-install-x86-bootloader.xml
===================================================================
RCS file: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- hb-install-x86-bootloader.xml       24 Nov 2005 17:26:11 -0000      1.6
+++ hb-install-x86-bootloader.xml       25 Nov 2005 13:33:13 -0000      1.7
@@ -4,12 +4,12 @@
 <!-- The content of this document is licensed under the CC-BY-SA license -->
 <!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
 
-<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml,v
 1.6 2005/11/24 17:26:11 neysx Exp $ -->
+<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml,v
 1.7 2005/11/25 13:33:13 neysx Exp $ -->
 
 <sections>
 
-<version>5.2</version>
-<date>2005-11-24</date>
+<version>5.3</version>
+<date>2005-11-25</date>
 
 <section>
 <title>Making your Choice</title>
@@ -343,15 +343,17 @@
 <body>
 
 <p>
-To install GRUB you will need to issue the <c>grub-install</c> command. 
However,
-<c>grub-install</c> won't work off-the-shelf since we are inside a chrooted
-environment. We need to update <path>/etc/mtab</path> (the file with 
information
-about all mounted filesystems) first: luckily there is an easy way to 
accomplish
-this - just copy over <path>/proc/mounts</path> to <path>/etc/mtab</path>:
+To install GRUB you will need to issue the <c>grub-install</c> command.
+However, <c>grub-install</c> won't work off-the-shelf since we are inside a
+chrooted environment. We need to create <path>/etc/mtab</path> which lists all
+mounted filesystems. Fortunately, there is an easy way to accomplish this -
+just copy over <path>/proc/mounts</path> to <path>/etc/mtab</path>, excluding
+the <c>rootfs</c> line if you haven't created a separate boot partition. The
+following command will work in both cases:
 </p>
 
-<pre caption="Updating /etc/mtab">
-# <i>cp /proc/mounts /etc/mtab</i>
+<pre caption="Creating /etc/mtab">
+# <i>grep -v rootfs /proc/mounts &gt; /etc/mtab</i>
 </pre>
 
 <p>



-- 
[email protected] mailing list

Reply via email to