neysx 05/11/25 13:33:12
Modified: xml/htdocs/doc/en/handbook 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.38 +12 -10 xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml
file :
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml?rev=1.38&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain:
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml?rev=1.38&content-type=text/plain&cvsroot=gentoo
diff :
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml.diff?r1=1.37&r2=1.38&cvsroot=gentoo
Index: hb-install-amd64-bootloader.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- hb-install-amd64-bootloader.xml 24 Nov 2005 17:26:10 -0000 1.37
+++ hb-install-amd64-bootloader.xml 25 Nov 2005 13:33:12 -0000 1.38
@@ -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/hb-install-amd64-bootloader.xml,v
1.37 2005/11/24 17:26:10 neysx Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml,v
1.38 2005/11/25 13:33:12 neysx Exp $ -->
<sections>
-<version>2.9</version>
-<date>2005-11-24</date>
+<version>2.10</version>
+<date>2005-11-25</date>
<section>
<title>Making your Choice</title>
@@ -323,15 +323,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 > /etc/mtab</i>
</pre>
<p>
1.40 +12 -10 xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml
file :
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml?rev=1.40&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain:
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml?rev=1.40&content-type=text/plain&cvsroot=gentoo
diff :
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml.diff?r1=1.39&r2=1.40&cvsroot=gentoo
Index: hb-install-x86-bootloader.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- hb-install-x86-bootloader.xml 24 Nov 2005 17:26:10 -0000 1.39
+++ hb-install-x86-bootloader.xml 25 Nov 2005 13:33:12 -0000 1.40
@@ -4,12 +4,12 @@
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml,v
1.39 2005/11/24 17:26:10 neysx Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml,v
1.40 2005/11/25 13:33:12 neysx Exp $ -->
<sections>
-<version>2.8</version>
-<date>2005-11-24</date>
+<version>2.9</version>
+<date>2005-11-25</date>
<section>
<title>Making your Choice</title>
@@ -349,15 +349,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 > /etc/mtab</i>
</pre>
<p>
--
[email protected] mailing list