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

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

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

Revision 1.11 Revision 1.12
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/Attic/hb-install-mips-system.xml,v 1.11 2012/06/29 16:12:20 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/Attic/hb-install-mips-system.xml,v 1.12 2013/01/02 19:28:52 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>11</version> 11<version>13</version>
12<date>2012-06-29</date> 12<date>2013-01-03</date>
13 13
14<section> 14<section>
15<title>Chrooting</title> 15<title>Chrooting</title>
16<subsection> 16<subsection>
17<title>Copy DNS Info</title> 17<title>Copy DNS Info</title>
18<body> 18<body>
19 19
20<p> 20<p>
21One thing still remains to be done before we enter the new environment and that 21One thing still remains to be done before we enter the new environment and that
22is copying over the DNS information in <path>/etc/resolv.conf</path>. You need 22is copying over the DNS information in <path>/etc/resolv.conf</path>. You need
23to do this to ensure that networking still works even after entering the new 23to do this to ensure that networking still works even after entering the new
24environment. <path>/etc/resolv.conf</path> contains the nameservers for your 24environment. <path>/etc/resolv.conf</path> contains the nameservers for your
25network. 25network.
26</p> 26</p>
27 27
54<subsection> 54<subsection>
55<title>Entering the new Environment</title> 55<title>Entering the new Environment</title>
56<body> 56<body>
57 57
58<p> 58<p>
59Now that all partitions are initialized and the base environment 59Now that all partitions are initialized and the base environment
60installed, it is time to enter our new installation environment by 60installed, it is time to enter our new installation environment by
61<e>chrooting</e> into it. This means that we change from the current 61<e>chrooting</e> into it. This means that we change from the current
62installation environment (Installation CD or other installation medium) to your 62installation environment (Installation CD or other installation medium) to your
63installation system (namely the initialized partitions). 63installation system (namely the initialized partitions).
64</p> 64</p>
65 65
66<p> 66<p>
67This chrooting is done in three steps. First we will change the root 67This chrooting is done in three steps. First we will change the root
68from <path>/</path> (on the installation medium) to <path>/mnt/gentoo</path> 68from <path>/</path> (on the installation medium) to <path>/mnt/gentoo</path>
69(on your partitions) using <c>chroot</c>. Then we will create a new environment 69(on your partitions) using <c>chroot</c>. Then we will reload some settings, as
70using <c>env-update</c>, which essentially creates environment variables. 70provided by <path>/etc/profile</path>, in memory using <c>source</c>.
71Finally, we load those variables into memory using <c>source</c>.
72</p> 71</p>
73 72
74<pre caption = "Chrooting into the new environment"> 73<pre caption = "Chrooting into the new environment">
75# <i>chroot /mnt/gentoo /bin/bash</i> 74# <i>chroot /mnt/gentoo /bin/bash</i>
76# <i>env-update</i>
77>> Regenerating /etc/ld.so.cache...
78# <i>source /etc/profile</i> 75# <i>source /etc/profile</i>
79# <i>export PS1="(chroot) $PS1"</i> 76# <i>export PS1="(chroot) $PS1"</i>
80</pre> 77</pre>
81 78
82<p> 79<p>
83Congratulations! You are now inside your own Gentoo Linux environment. 80Congratulations! You are now inside your own Gentoo Linux environment.
84Of course it is far from finished, which is why the installation still 81Of course it is far from finished, which is why the installation still
85has some sections left :-) 82has some sections left :-)
86</p> 83</p>
87 84
88</body> 85</body>
89</subsection> 86</subsection>
90</section> 87</section>
91 88
92<section> 89<section>

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.13