/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-system.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-system.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1<section> 1<section>
2<subsection> 2<subsection>
3<title>Chrooting</title> 3<title>Chrooting</title>
4<subsubsection>
5<title>Optional: Selecting Mirrors</title>
6<body>
7
8<p>
9If you are booted from a Gentoo LiveCD, you are able to use <c>mirrorselect</c>
10to update <path>/etc/make.conf</path> so fast mirrors are used for both Portage
11as source code:
12</p>
13
14<pre caption="Selecting fast mirrors">
15# <i>mirrorselect -a -s4 -o &gt;&gt; /mnt/gentoo/etc/make.conf</i>
16</pre>
17
18<p>
19If for some reason <c>mirrorselect</c> fails, don't panic. This step is
20completely optional. If <c>mirrorselect</c> fails, the default values suffice.
21</p>
22
23</body>
24</subsubsection>
25<subsubsection>
26<title>Entering the new Environment</title>
4<body> 27<body>
5 28
6<p> 29<p>
7Now that all partitions are initialised and the base environment 30Now that all partitions are initialised and the base environment
8installed, it is time to enter our new installation environment by 31installed, it is time to enter our new installation environment by
9<e>chrooting</e> in it. This means that we change from the current 32<e>chrooting</e> in it. This means that we change from the current
10installation environment (namely the LiveCD environment) to your 33installation environment (LiveCD or other installation medium) to your
11installation system (namely the initialised partitions). 34installation system (namely the initialised partitions).
12</p> 35</p>
13 36
14<p> 37<p>
15This chrooting is done in three steps. First we will change the root 38This chrooting is done in three steps. First we will change the root
16from <path>/</path> (on the LiveCD) to <path>/mnt/gentoo</path> (on your 39from <path>/</path> (on the installation medium) to <path>/mnt/gentoo</path>
17partitions) using <c>chroot</c>. Then we will create a new environment using 40(on your partitions) using <c>chroot</c>. Then we will create a new environment
18<c>env-update</c>, which essentially creates environment variables. 41using <c>env-update</c>, which essentially creates environment variables.
19Finally, we load those variables into memory using <c>source</c>. 42Finally, we load those variables into memory using <c>source</c>.
20</p> 43</p>
21 44
22<pre caption = "Chrooting into the new environment"> 45<pre caption = "Chrooting into the new environment">
23# <i>chroot /mnt/gentoo /bin/bash</i> 46# <i>chroot /mnt/gentoo /bin/bash</i>
31Ofcourse it is far from finished, which is why the installation still 54Ofcourse it is far from finished, which is why the installation still
32has some sections left :-) 55has some sections left :-)
33</p> 56</p>
34 57
35</body> 58</body>
59</subsubsection>
60<subsubsection>
61<title>Optional: Updating Portage</title>
62<body>
63
64<p>
65If you are <e>not</e> using GRP, you must download a recent Portage snapshot
66from the Internet. <c>emerge sync</c> does this for you:
67</p>
68
69<pre caption="Updating Portage">
70# <i>emerge sync</i>
71</pre>
72
73</body>
74</subsubsection>
36</subsection> 75</subsection>
37<subsection> 76<subsection>
38<title>Differences between Stage1, Stage2 and Stage3</title> 77<title>Differences between Stage1, Stage2 and Stage3</title>
39<body> 78<body>
40 79

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20