swift 12/06/29 16:12:21
Modified: hb-install-mips-system.xml hb-install-system.xml
Log:
Fix bug #420159 - Add bind-mounting of /sys
Revision Changes Path
1.11 xml/htdocs/doc/en/handbook/hb-install-mips-system.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-system.xml?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-system.xml?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-system.xml?r1=1.10&r2=1.11
Index: hb-install-mips-system.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-system.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- hb-install-mips-system.xml 22 Aug 2011 16:58:02 -0000 1.10
+++ hb-install-mips-system.xml 29 Jun 2012 16:12:20 -0000 1.11
@@ -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-mips-system.xml,v 1.10 2011/08/22 16:58:02 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-system.xml,v 1.11 2012/06/29 16:12:20 swift Exp $ -->
<sections>
-<version>10</version>
-<date>2011-08-22</date>
+<version>11</version>
+<date>2012-06-29</date>
<section>
<title>Chrooting</title>
@@ -33,17 +33,19 @@
</body>
</subsection>
<subsection>
-<title>Mounting the /proc and /dev Filesystems</title>
+<title>Mounting the necessary Filesystems</title>
<body>
<p>
Mount the <path>/proc</path> filesystem on <path>/mnt/gentoo/proc</path> to
allow the installation to use the kernel-provided information within the
-chrooted environment, and then mount-bind the <path>/dev</path> filesystem.
+chrooted environment, and then mount-bind the <path>/dev</path> and
+<path>/sys</path> filesystems.
</p>
<pre caption="Mounting /proc and /dev">
# <i>mount -t proc none /mnt/gentoo/proc</i>
+# <i>mount --rbind /sys /mnt/gentoo/sys</i>
# <i>mount --rbind /dev /mnt/gentoo/dev</i>
</pre>
1.124 xml/htdocs/doc/en/handbook/hb-install-system.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.124&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.124&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?r1=1.123&r2=1.124
Index: hb-install-system.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -r1.123 -r1.124
--- hb-install-system.xml 6 May 2012 18:44:46 -0000 1.123
+++ hb-install-system.xml 29 Jun 2012 16:12:20 -0000 1.124
@@ -4,7 +4,7 @@
<!-- 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-system.xml,v 1.123 2012/05/06 18:44:46 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.124 2012/06/29 16:12:20 swift Exp $ -->
<sections>
@@ -14,8 +14,8 @@
to progress to that state.
</abstract>
-<version>15</version>
-<date>2012-05-06</date>
+<version>16</version>
+<date>2012-06-29</date>
<section>
<title>Chrooting</title>
@@ -87,7 +87,7 @@
</body>
</subsection>
<subsection test="not(func:keyval('arch')='IA64')">
-<title>Mounting the /proc and /dev Filesystems</title>
+<title>Mounting the necessary Filesystems</title>
<body>
<p>
@@ -99,11 +99,13 @@
<p>
Mount the <path>/proc</path> filesystem on <path>/mnt/gentoo/proc</path> to
allow the installation to use the kernel-provided information within the
-chrooted environment, and then mount-bind the <path>/dev</path> filesystem.
+chrooted environment, and then mount-bind the <path>/dev</path> and
+<path>/sys</path> filesystems.
</p>
<pre caption="Mounting /proc and /dev">
# <i>mount -t proc none /mnt/gentoo/proc</i>
+# <i>mount --rbind /sys /mnt/gentoo/sys</i>
# <i>mount --rbind /dev /mnt/gentoo/dev</i>
</pre>
|