nightmorph 10/06/15 06:14:16 Modified: altinstall.xml Log: add env cleanup tip per bug 324051
Revision Changes Path 1.78 xml/htdocs/doc/en/altinstall.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/altinstall.xml?rev=1.78&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/altinstall.xml?rev=1.78&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/altinstall.xml?r1=1.77&r2=1.78 Index: altinstall.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- altinstall.xml 14 Jun 2010 20:22:17 -0000 1.77 +++ altinstall.xml 15 Jun 2010 06:14:16 -0000 1.78 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.77 2010/06/14 20:22:17 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.78 2010/06/15 06:14:16 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide> @@ -59,7 +59,7 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>2</version> +<version>3</version> <date>2010-06-14</date> <chapter> @@ -228,7 +228,7 @@ <p> When you're ready to unpack the stage tarball in <uri -link="/doc/en/handbook/handbook-x86.xml?part=1&chap=5">part 5</uri>, you +link="/doc/en/handbook/handbook-x86.xml?part=1&chap=5_sect4">part 5</uri>, you will need to use a different <c>tar</c> command to ensure that proper group IDs are enforced on the unpacked stage: </p> @@ -238,6 +238,21 @@ </pre> <p> +Once you're ready to chroot into your unpacked stage in <uri +link="/doc/en/handbook/handbook-x86.xml?part=1&chap=6#doc_chap1">part +6</uri>, you will need to use a different chroot command sequence. This ensures +that your environment variables are properly setup. +</p> + +<pre caption="Chrooting into the new environment"> +# <i>chroot /mnt/gentoo /bin/bash</i> +# <i>su -</i> +# <i>env-update</i> +# <i>source /etc/profile</i> +# <i>export PS1="(chroot) $PS1"</i> +</pre> + +<p> Finally, know that some Portage FEATURES may not work in your LiveCD. Especially watch out for <c>userpriv</c> and <c>usersandbox</c>. If you find yourself getting errors, it might be wise to disable some or all of the optional
