1 |
nightmorph 10/06/15 06:14:16 |
2 |
|
3 |
Modified: altinstall.xml |
4 |
Log: |
5 |
add env cleanup tip per bug 324051 |
6 |
|
7 |
Revision Changes Path |
8 |
1.78 xml/htdocs/doc/en/altinstall.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/altinstall.xml?rev=1.78&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/altinstall.xml?rev=1.78&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/altinstall.xml?r1=1.77&r2=1.78 |
13 |
|
14 |
Index: altinstall.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v |
17 |
retrieving revision 1.77 |
18 |
retrieving revision 1.78 |
19 |
diff -u -r1.77 -r1.78 |
20 |
--- altinstall.xml 14 Jun 2010 20:22:17 -0000 1.77 |
21 |
+++ altinstall.xml 15 Jun 2010 06:14:16 -0000 1.78 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.77 2010/06/14 20:22:17 nightmorph Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.78 2010/06/15 06:14:16 nightmorph Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide> |
29 |
@@ -59,7 +59,7 @@ |
30 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
31 |
<license/> |
32 |
|
33 |
-<version>2</version> |
34 |
+<version>3</version> |
35 |
<date>2010-06-14</date> |
36 |
|
37 |
<chapter> |
38 |
@@ -228,7 +228,7 @@ |
39 |
|
40 |
<p> |
41 |
When you're ready to unpack the stage tarball in <uri |
42 |
-link="/doc/en/handbook/handbook-x86.xml?part=1&chap=5">part 5</uri>, you |
43 |
+link="/doc/en/handbook/handbook-x86.xml?part=1&chap=5_sect4">part 5</uri>, you |
44 |
will need to use a different <c>tar</c> command to ensure that proper group IDs |
45 |
are enforced on the unpacked stage: |
46 |
</p> |
47 |
@@ -238,6 +238,21 @@ |
48 |
</pre> |
49 |
|
50 |
<p> |
51 |
+Once you're ready to chroot into your unpacked stage in <uri |
52 |
+link="/doc/en/handbook/handbook-x86.xml?part=1&chap=6#doc_chap1">part |
53 |
+6</uri>, you will need to use a different chroot command sequence. This ensures |
54 |
+that your environment variables are properly setup. |
55 |
+</p> |
56 |
+ |
57 |
+<pre caption="Chrooting into the new environment"> |
58 |
+# <i>chroot /mnt/gentoo /bin/bash</i> |
59 |
+# <i>su -</i> |
60 |
+# <i>env-update</i> |
61 |
+# <i>source /etc/profile</i> |
62 |
+# <i>export PS1="(chroot) $PS1"</i> |
63 |
+</pre> |
64 |
+ |
65 |
+<p> |
66 |
Finally, know that some Portage FEATURES may not work in your LiveCD. Especially |
67 |
watch out for <c>userpriv</c> and <c>usersandbox</c>. If you find yourself |
68 |
getting errors, it might be wise to disable some or all of the optional |