/[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.8 Revision 1.12
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.8 2010/06/07 09:01:11 nightmorph 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>9.1</version> 11<version>13</version>
12<date>2010-06-07</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>
31</pre> 31</pre>
32 32
33</body> 33</body>
34</subsection> 34</subsection>
35<subsection> 35<subsection>
36<title>Mounting the /proc and /dev Filesystems</title> 36<title>Mounting the necessary Filesystems</title>
37<body> 37<body>
38 38
39<p> 39<p>
40Mount the <path>/proc</path> filesystem on <path>/mnt/gentoo/proc</path> to 40Mount the <path>/proc</path> filesystem on <path>/mnt/gentoo/proc</path> to
41allow the installation to use the kernel-provided information within the 41allow the installation to use the kernel-provided information within the
42chrooted environment, and then mount-bind the <path>/dev</path> filesystem. 42chrooted environment, and then mount-bind the <path>/dev</path> and
43<path>/sys</path> filesystems.
43</p> 44</p>
44 45
45<pre caption="Mounting /proc and /dev"> 46<pre caption="Mounting /proc and /dev">
46# <i>mount -t proc none /mnt/gentoo/proc</i> 47# <i>mount -t proc none /mnt/gentoo/proc</i>
48# <i>mount --rbind /sys /mnt/gentoo/sys</i>
47# <i>mount -o bind /dev /mnt/gentoo/dev</i> 49# <i>mount --rbind /dev /mnt/gentoo/dev</i>
48</pre> 50</pre>
49 51
50</body> 52</body>
51</subsection> 53</subsection>
52<subsection> 54<subsection>
62</p> 64</p>
63 65
64<p> 66<p>
65This 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
66from <path>/</path> (on the installation medium) to <path>/mnt/gentoo</path> 68from <path>/</path> (on the installation medium) to <path>/mnt/gentoo</path>
67(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
68using <c>env-update</c>, which essentially creates environment variables. 70provided by <path>/etc/profile</path>, in memory using <c>source</c>.
69Finally, we load those variables into memory using <c>source</c>.
70</p> 71</p>
71 72
72<pre caption = "Chrooting into the new environment"> 73<pre caption = "Chrooting into the new environment">
73# <i>chroot /mnt/gentoo /bin/bash</i> 74# <i>chroot /mnt/gentoo /bin/bash</i>
74# <i>env-update</i>
75>> Regenerating /etc/ld.so.cache...
76# <i>source /etc/profile</i> 75# <i>source /etc/profile</i>
77# <i>export PS1="(chroot) $PS1"</i> 76# <i>export PS1="(chroot) $PS1"</i>
78</pre> 77</pre>
79 78
80<p> 79<p>
465<p> 464<p>
466The next step is to run <c>locale-gen</c>. It will generate all the locales you 465The next step is to run <c>locale-gen</c>. It will generate all the locales you
467have specified in the <path>/etc/locale.gen</path> file. 466have specified in the <path>/etc/locale.gen</path> file.
468</p> 467</p>
469 468
469<pre caption="Running locale-gen">
470# <i>locale-gen</i>
471</pre>
472
470<p> 473<p>
471Now continue with <uri link="?part=1&amp;chap=7">Configuring the Kernel</uri>. 474Now continue with <uri link="?part=1&amp;chap=7">Configuring the Kernel</uri>.
472</p> 475</p>
473 476
474</body> 477</body>

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

  ViewVC Help
Powered by ViewVC 1.1.20