jkt 08/03/01 19:24:22 Modified: uml.xml Log: #211997, /etc/env.d/00basic belongs to baselayout and shouldn't be touched
Revision Changes Path 1.30 xml/htdocs/doc/en/uml.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/uml.xml?rev=1.30&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/uml.xml?rev=1.30&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/uml.xml?r1=1.29&r2=1.30 Index: uml.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/uml.xml,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- uml.xml 29 Nov 2006 15:48:57 -0000 1.29 +++ uml.xml 1 Mar 2008 19:24:22 -0000 1.30 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/uml.xml,v 1.29 2006/11/29 15:48:57 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/uml.xml,v 1.30 2008/03/01 19:24:22 jkt Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> @@ -28,8 +28,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>0.15</version> -<date>2006-11-17</date> +<version>0.16</version> +<date>2008-03-01</date> <chapter> <title>Obtaining User-Mode Linux</title> @@ -89,17 +89,23 @@ </warn> <p> -Make sure that <path>/usr/local/bin</path> is in your path. Edit -<path>/etc/env.d/00basic</path> to that the PATH variable contains -<path>/usr/local/bin</path> and rerun <c>env-update</c>: +On a default Gentoo system, <path>/usr/local/bin</path> is in your <c>$PATH</c>. +If it isn't, you should find a definition of <c>PATH</c> in the +<path>/etc/profile</path> and fix it: </p> -<pre caption="Editing 00basic"> -# <i>nano -w /etc/env.d/00basic</i> -# <i>env-update</i> -# <i>source /etc/profile</i> +<pre caption="Verifying $PATH"> +$ <i>echo $PATH | grep /usr/local/bin</i> </pre> +<pre caption="Sample definition of $PATH in /etc/profile"> +PATH="/usr/local/bin:/usr/bin:/bin:${PATH}" +</pre> + +<p> +Don't forget to run <c>source /etc/profile</c> for the change to take effect. +</p> + <p> For the user-mode Linux kernel to properly boot a Gentoo system the kernel needs to be configured to <e>not</e> automatically mount -- [email protected] mailing list
