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

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

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

Revision 1.29 Revision 1.30
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/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-finalise.xml,v 1.29 2004/07/26 09:04:42 dertobi123 Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-finalise.xml,v 1.30 2004/08/04 08:46:30 swift Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>User Administration</title> 11<title>User Administration</title>
12<subsection>
13<title>Setting a root Password</title>
14<body>
15
16<p>
17Before you forget, set the root password by typing:
18</p>
19
20<pre caption="Setting the root password">
21# <i>passwd</i>
22</pre>
23
24<p>
25If you want root to be able to log on through the serial console, add
26<c>tts/0</c> to <path>/etc/securetty</path>:
27</p>
28
29<pre caption="Adding tts/0 to /etc/securetty">
30# <i>echo "tts/0" &gt;&gt; /etc/securetty</i>
31</pre>
32
33</body>
34</subsection>
35<subsection> 12<subsection>
36<title>Adding a User for Daily Use</title> 13<title>Adding a User for Daily Use</title>
37<body> 14<body>
38 15
39<p> 16<p>
44 21
45<p> 22<p>
46For instance, to create a user called <c>john</c> who is member of the 23For instance, to create a user called <c>john</c> who is member of the
47<c>wheel</c> group (be able to change to root using <c>su</c>), <c>users</c> 24<c>wheel</c> group (be able to change to root using <c>su</c>), <c>users</c>
48group (default for all users) and <c>audio</c> group (be able to use audio 25group (default for all users) and <c>audio</c> group (be able to use audio
49devices): 26devices), log in as root first (only root can create users):
50</p> 27</p>
51 28
52<pre caption="Adding a user for day-to-day use"> 29<pre caption="Adding a user for day-to-day use">
30Login: <i>root</i>
31Password: <comment>(Your root password)</comment>
32
53# <i>useradd john -m -G users,wheel,audio,tty -s /bin/bash</i> 33# <i>useradd john -m -G users,wheel,audio,tty -s /bin/bash</i>
54# <i>passwd john</i> 34# <i>passwd john</i>
55Password: <comment>(Enter the password for john)</comment> 35Password: <comment>(Enter the password for john)</comment>
56Re-enter password: <comment>(Re-enter the password to verify)</comment> 36Re-enter password: <comment>(Re-enter the password to verify)</comment>
57</pre> 37</pre>
64 44
65</body> 45</body>
66</subsection> 46</subsection>
67</section> 47</section>
68<section> 48<section>
69<title>Reboot and Enjoy</title>
70<subsection>
71<title>Rebooting</title>
72<body>
73
74<p>
75Congratulations! Your Gentoo system is now ready. Exit the chrooted environment
76and unmount all mounted partitions. Then type in that
77one magical command you have been waiting for: <c>reboot</c>.
78</p>
79
80<pre caption="Rebooting the system">
81# <i>exit</i>
82# <i>cd /</i>
83# <i>umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo</i>
84# <i>reboot</i>
85</pre>
86
87<p>
88Of course, don't forget to remove the bootable CD, otherwise the CD will be
89booted again instead of your new Gentoo system.
90</p>
91
92<p>
93OldWorld <b>PPC</b> users will boot in MacOS since their bootloader
94isn't installed yet. Those users should read <uri
95link="#doc_chap2_sect2">Optional: Configuring BootX</uri>. <b>MIPS</b> users
96will have to do some more tweaking in their MIPS PROM to get Gentoo to work.
97Those users should read <uri link="#doc_chap2_sect3">Optional: Getting
98Gentoo/MIPS to Work</uri>.
99</p>
100
101<p>
102GRP users can continue with <uri link="#doc_chap2_sect4">Optional:
103Install GRP Packages</uri>, all the rest can finish up with <uri
104link="?part=1&amp;chap=12">Where to go from here?</uri>.
105</p>
106
107</body>
108</subsection>
109<subsection>
110<title>Optional: Configuring BootX</title>
111<body>
112
113<impo>
114This subsection is <e>only</e> for <b>PPC</b> users who want to use BootX as
115bootloader. All other readers should skip this subsection.
116</impo>
117
118<p>
119Now your machine is booted in MacOS, open the BootX control panel.
120Select <c>Options</c>, and uncheck <c>Used specified RAM disk</c>. When you
121return to the BootX main screen, you will now find an option to specify your
122machine's root disk and partition. Fill these in with the appropriate
123values.
124</p>
125
126<p>
127BootX can be configured to start Linux upon boot. If you do this, you will
128first see your machine boot into MacOS then, during startup, BootX will
129load and start Linux. See the <uri
130link="http://penguinppc.org/projects/bootx/">BootX home page</uri> for more
131information.
132</p>
133
134<p>
135If you are a GRP users you can continue with <uri
136link="#doc_chap2_sect4">Optional: Install GRP Packages</uri>, otherwise go to
137<uri link="?part=1&amp;chap=12">Where to go from here?</uri>.
138</p>
139
140</body>
141</subsection>
142<subsection>
143<title>Optional: Getting Gentoo/MIPS to Work</title>
144<body>
145
146<impo>
147This subsection is <e>only</e> for <b>MIPS</b> users! All other readers should
148skip this subsection.
149</impo>
150
151<p>
152When you are rebooted, go to the <e>System Maintenance Menu</e> and select
153<e>Enter Command Monitor</e> (<c>5</c>). If you want to test your new Gentoo
154installation, you can just run <c>boot -f &lt;kernel name&gt;</c>. To have your
155system permanently boot into the Gentoo installation, you need to set some
156variables in the MIPS PROM:
157</p>
158
159<pre caption="Configuring the PROM to Boot Gentoo">
1601) Start System
1612) Install System Software
1623) Run Diagnostics
1634) Recover System
1645) Enter Command Monitor
165
166Option? <i>5</i>
167Command Monitor. Type "exit" to return to the menu.
168
169<comment>(&lt;root device&gt; = Gentoo's root partition, e.g. /dev/sda3)</comment>
170&gt;&gt; <i>setenv OSLoadPartition &lt;root device&gt;</i>
171
172<comment>(To list the available kernels, type "ls")</comment>
173&gt;&gt; <i>setenv OSLoader &lt;kernel name&gt;</i>
174&gt;&gt; <i>setenv OSLoadFilename &lt;kernel name&gt;</i>
175
176<comment>(Declare the kernel parameters you want to pass)</comment>
177&gt;&gt; <i>setenv OSLoadOptions &lt;kernel parameters&gt;</i>
178
179<comment>(Provide the location of the Volume Header)</comment>
180&gt;&gt; <i>setenv SystemPartition scsi(0)disk(1)rdisk(0)partition(8)</i>
181
182<comment>(Automatically boot Gentoo)</comment>
183&gt;&gt; <i>setenv AutoLoad Yes</i>
184
185<comment>(Set the timezone)</comment>
186&gt;&gt; <i>setenv TimeZone EST5EDT</i>
187
188<comment>(Use the serial console - graphic adapter users should have "g" instead of "d1" (one))</comment>
189&gt;&gt; <i>setenv console d1</i>
190</pre>
191
192<p>
193Now you're ready to enjoy Gentoo!
194</p>
195
196</body>
197</subsection>
198<subsection>
199<title>Optional: Install GRP Packages</title> 49<title>Optional: Install GRP Packages</title>
200<body> 50<body>
201 51
202<impo> 52<impo>
203This part is for GRP users only. Other users should skip this part and continue 53This part is for GRP users only. Other users should skip this part and continue
259link="?part=1&amp;chap=12">Where to go from here?</uri> to learn more about 109link="?part=1&amp;chap=12">Where to go from here?</uri> to learn more about
260Gentoo. 110Gentoo.
261</p> 111</p>
262 112
263</body> 113</body>
264</subsection>
265</section> 114</section>
266</sections> 115</sections>

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.20