/[gentoo]/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-x86-quickinstall.xml

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

Revision 1.18 Revision 1.49
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml,v 1.18 2004/09/22 16:52:32 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml,v 1.49 2005/10/14 13:24:25 neysx Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5 5
6<guide link="/doc/en/gentoo-x86-quickinstall.xml"> 6<guide link="/doc/en/gentoo-x86-quickinstall.xml">
7<title>Gentoo Linux Install Reference</title> 7<title>Gentoo Linux x86 Quick Install Guide</title>
8<author title="Author">Steven Wagner</author> 8
9<author title="Editor"> 9<author title="Author">
10 <mail link="swift@gentoo.org">Sven Vermeulen</mail> 10 <mail link="swift@gentoo.org">Sven Vermeulen</mail>
11</author> 11</author>
12<author title="Author">Steven Wagner</author>
12 13
13<abstract> 14<abstract>
14The Quick install reference covers all details of the install process in a 15The Quick install guide covers the Gentoo install process in a
15non-verbose manner. Users should already have prior experience with 16non-verbose manner. Users should already have prior experience with
16installing Gentoo Linux if they want to follow this guide. 17installing Gentoo Linux if they want to follow this guide.
17</abstract> 18</abstract>
18 19
20<!-- The content of this document is licensed under the CC-BY-SA license -->
21<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
19<license/> 22<license/>
20 23
21<version>1.13</version> 24<version>2.8</version>
22<date>September 22, 2004</date> 25<date>2005-10-14</date>
23 26
24<chapter> 27<chapter>
25<title>Quick Install Reference</title> 28<title>Quick Install Guide</title>
29<section>
30<title>Installation Media</title>
31<body>
32
33<p>
34Download a CD from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>.
35You can find the ISOs in
36<path>releases/&lt;architecture&gt;/&lt;release&gt;/installcd</path>. The
37<e>minimal</e> installation CD is only useful for Internet-based installations;
38with the <e>universal</e> installation CD you can perform a networkless
39installation as well.
40</p>
41
42<p>
43<uri link="/doc/en/faq.xml#isoburning">Burn</uri> the CD and boot it. Press
44<c>F2</c> at the boot screen to find out what boot options exist. Once booted,
45you need to start the <c>pcmcia</c> init script if you need PCMCIA support.
46</p>
47
48<p>
49The installation CDs allow you to start an <c>sshd</c> server, add additional
50users, run <c>irssi</c> (a command-line chat client) and surf the web using
51<c>lynx</c> or <c>links2</c>.
52</p>
53
54</body>
26<section> 55</section>
56<section>
57<title>Network Configuration</title>
58<body>
59
60<p>
61If your network does not work already, you can use <c>net-setup</c> to configure
62your network. You might need to load support for your network card using
63<c>modprobe</c> prior to the configuration. If you have ADSL, use
64<c>adsl-setup</c> and <c>adsl-start</c>. For PPTP support, first edit
65<path>/etc/ppp/chap-secrets</path> and <path>/etc/ppp/options.pptp</path> and
66then use <c>pptp &lt;server&nbsp;ip&gt;</c>.
67</p>
68
69<p>
70For wireless access, use <c>iwconfig</c> to set the wireless parameters and then
71use either <c>net-setup</c> again or run <c>ifconfig</c>, <c>dhcpcd</c> and/or
72<c>route</c> manually.
73</p>
74
75<p>
76If you are behind a proxy, do not forget to initialize your system using
77<c>export http_proxy</c>, <c>ftp_proxy</c> and <c>RSYNC_PROXY</c>.
78</p>
79
27<body> 80</body>
81</section>
82<section>
83<title>Preparing the Disks</title>
84<body>
28 85
29<p>
30The installation ISOs are on the <uri link=
31"http://www.gentoo.org/main/en/mirrors.xml">Gentoo
32Mirrors</uri>. Detailed descriptions of the different CDs are
33available in the <uri link="http://store.gentoo.org">Gentoo
34Store</uri>. A universal CD contains everything you need to install Gentoo Linux
35quickly and without a connection to the Internet. A Package CD is optional and
36contains pre-compiled packages such as KDE, GNOME, OpenOffice,
37Mozilla, Evolution and more.
38</p> 86<p>
39 87Use <c>fdisk</c> or <c>cfdisk</c> to create your partition layout. You need at
88least a swap partition (type 82) and one Linux partition (type 83).
40<p> 89</p>
41Boot from the Universal CD. Press &lt;F1&gt; and/or &lt;F2&gt; to 90
42see what boot options are available. Press &lt;ENTER&gt; at the bootscreen to
43continue with the default kernel. You'll eventually receive a prompt.
44</p> 91<p>
45 92Use <c>mke2fs</c>, <c>mke2fs -j</c>, <c>mkreiserfs</c>, <c>mkfs.xfs</c> and
46<pre caption="Beginning settings"> 93<c>mkfs.jfs</c> to create file systems on your Linux partitions. Initialize your
47# <i>date</i> (Make sure your time and date is correct. If wrong, set it with <i>date MMDDhhmmCCYY</i> ) 94swap partition using <c>mkswap</c> and <c>swapon</c>.
48# <i>modprobe module_name</i> (Optional - Load any necessary modules)
49# <i>net-setup eth0</i> (Configure the network)
50# <i>fdisk /dev/hda</i> (Partition your drive)
51</pre>
52
53<p> 95</p>
54The recommended setup is a 64 meg boot volume with ext2, a swap partition 96
55twice the size of your available RAM, and the rest for your root partition
56using ReiserFS.
57</p> 97<p>
58 98Mount the freshly created file systems on <path>/mnt/gentoo</path>. Create
99directories for the other mount points (like <path>/mnt/gentoo/boot</path>) if
100you need them.
59<p> 101</p>
60Initialise your partitions using <c>mke2fs</c> (Ext2), <c>mke2fs 102
61-j</c> (Ext3), <c>mkreiserfs</c> (ReiserFS), <c>mkfs.xfs</c> (XFS), 103</body>
62<c>mkfs.jfs</c> (JFS) and <c>mkswap</c> (swap partition). For instance: 104</section>
63<c>mke2fs -j /dev/hda3</c>. 105<section>
106<title>Setting Up The Stage</title>
107<body>
108
64</p> 109<p>
65 110First make sure your date is set correctly using <c>date MMDDhhmmYYYY</c>. Next,
111download a stage from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>
112or use the one available on the installation CD
113(<path>/mnt/cdrom/stages</path>). Go to <path>/mnt/gentoo</path> and unpack the
114stage using <c>tar&nbsp;-xvjpf&nbsp;&lt;stage&nbsp;tarball&gt;</c>.
66<p> 115</p>
67Continue by mounting the partitions and extracting the appropriate stage 116
68file.
69</p> 117<p>
70 118Install a Portage snapshot if you are performing a networkless installation: go
71<pre caption="Preparing the Installation"> 119to <path>/mnt/gentoo/usr</path> and run
72(Activate the swap partition) # <i>swapon /dev/hdax</i> 120<c>tar&nbsp;-xvjf&nbsp;/mnt/cdrom/snapshots/&lt;snapshot&gt;</c>. Other users
73(Mount the root partition) # <i>mount /dev/hdax /mnt/gentoo</i> 121can download a portage snapshot and install it likewise.
74(Create the boot mountpoint) # <i>mkdir /mnt/gentoo/boot</i>
75(Mount the boot partition) # <i>mount /dev/hdax /mnt/gentoo/boot</i>
76(Go to the mountpoint) # <i>cd /mnt/gentoo</i>
77(Extract a stage tarball...) # <i>tar -xvjpf /mnt/cdrom/stages/stage&lt;your stage&gt;.tar.bz2</i>
78(<comment>or</comment> download the latest tarball...) # <i>links http://www.gentoo.org/main/en/mirrors.xml</i>
79( ... and extract) # <i>tar -xvjpf stage&lt;your stage&gt;.tar.bz2</i>
80(Optional: unpack a portage tree) # <i>tar -xvjf /mnt/cdrom/snapshots/portage-*.tar.bz2 -C /mnt/gentoo/usr</i>
81(Optional: copy over distfiles) # <i>cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/</i>
82(Select a mirror) # <i>mirrorselect -a -s4 -o | grep 'GENTOO_MIRRORS=' &gt;&gt; /mnt/gentoo/etc/make.conf</i>
83(Copy over nameserver information) # <i>cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf</i>
84(Mount the proc filesystem) # <i>mount -t proc none /mnt/gentoo/proc</i>
85(Chroot into the new environment) # <i>chroot /mnt/gentoo /bin/bash</i>
86(Load the necessary variables) # <i>env-update; source /etc/profile</i>
87(Network-only, non-GRP: update Portage) # <i>emerge sync</i>
88</pre>
89
90<p> 122</p>
91Now we install Gentoo: 123
92</p> 124<p>
93 125For a networkless installation, copy over the source code files from
94<pre caption = "Installing Gentoo"> 126<path>/mnt/cdrom/distfiles/</path> to
95(Change USE, CFLAGS and CXXFLAGS. Stage1 can also change CHOST) # <i>nano -w /etc/make.conf</i> 127<path>/mnt/gentoo/usr/portage/distfiles/</path>.
96(Stage1 only: bootstrap system) # <i>cd /usr/portage; scripts/bootstrap.sh</i>
97(Stage1, Stage2 only: install base system) # <i>emerge system</i>
98</pre>
99
100<p> 128</p>
101Next we set up the necessary information: 129
102</p> 130<p>
103 131Edit <path>/mnt/gentoo/etc/make.conf</path> to suit your needs (USE flags,
104<pre caption = "Setting up Configuration Files"> 132CFLAGS and CXXFLAGS). You can use the <c>nano</c> editor for this.
105(Set timezone information) # <i>ln -sf /usr/share/zoneinfo/<comment>&lt;path to time zone file&gt;</comment> /etc/localtime</i>
106(Edit fstab file) # <i>nano -w /etc/fstab</i>
107</pre>
108
109<p> 133</p>
110Use the following as a <e>template</e> (don't copy verbatim) for 134
111<path>/etc/fstab</path>: 135</body>
136</section>
137<section>
138<title>Installing the Gentoo Base System</title>
139<body>
140
112</p> 141<p>
142Mount the <path>/proc</path> file system first, copy over the
143<path>/etc/resolv.conf</path> file and then chroot into your Gentoo
144environment.
145</p>
113 146
147<pre caption="Preparing and chrooting">
148# <i>mount -t proc none /mnt/gentoo/proc</i>
149# <i>cp /etc/resolv.conf /mnt/gentoo/etc/</i>
150# <i>chroot /mnt/gentoo /bin/bash</i>
151# <i>env-update</i> &amp;&amp; <i>source /etc/profile</i>
152</pre>
153
154<p>
155If you are not running a networkless installation, issue <c>emerge --sync</c> to
156update your Portage tree.
157</p>
158
159<p>
160Next, make sure <path>/etc/make.profile</path> points to the right profile. The
161default one should suffice for most users; sub profiles are available for
162different kernels (like <path>2.4/</path> for 2.4-kernel based profiles). Change
163the profile using <c>ln -sfn</c>.
164</p>
165
166<ul>
167 <li>
168 Bootstrapping (not available for networkless installations) happens using
169 <c>scripts/bootstrap.sh</c> in the <path>/usr/portage</path> directory.
170 </li>
171 <li>
172 System installation (not available for networkless installations) happens
173 using <c>emerge&nbsp;-e&nbsp;system</c> (or <c>-N</c> if you haven't
174 altered the default CFLAGS/CXXFLAGS).
175 </li>
176</ul>
177
178</body>
179</section>
180<section>
181<title>Kernel Configuration</title>
182<body>
183
184<p>
185Set your time zone information by changing the <path>/etc/localtime</path>
186symbolic link to the correct location in <path>/usr/share/zoneinfo</path> using
187<c>ln -sf</c>.
188</p>
189
190<p>
191Install a kernel source (<c>gentoo-sources</c> and <c>vanilla-sources</c> are
192available for networkless installations) and configure it using <c>make
193menuconfig</c> followed by
194<c>make&nbsp;&amp;&amp;&nbsp;make&nbsp;modules_install</c> inside
195<path>/usr/src/linux</path>. Copy the <path>arch/i386/boot/bzImage</path> file
196over to <path>/boot</path>. You can also <c>emerge&nbsp;genkernel</c> and use
197<c>genkernel&nbsp;all</c>.
198</p>
199
200<p>
201Genkernel users will need to <c>emerge&nbsp;coldplug</c> and
202<c>rc-update&nbsp;add&nbsp;coldplug&nbsp;default</c>.
203</p>
204
205</body>
206</section>
207<section>
208<title>Configuring the System</title>
209<body>
210
211<p>
212Edit your <path>/etc/fstab</path>; an example follows:
213</p>
214
114<pre caption="/etc/fstab"> 215<pre caption="Example fstab">
115# &lt;fs&gt; &lt;mountpoint&gt; &lt;type&gt; &lt;opts&gt; &lt;dump/pass&gt; 216/dev/hda1 /boot ext2 defaults,noatime 1 2
116/dev/hdax /boot ext2 noauto,noatime 1 2
117/dev/hdax none swap sw 0 0 217/dev/hda2 none swap sw 0 0
118/dev/hdax / reiserfs noatime 0 1 218/dev/hda3 / ext3 noatime 0 1
219none /proc proc defaults 0 0
220none /dev/shm tmpfs nodev,nosuid,noexec 0 0
119/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0 221/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
120none /proc proc defaults 0 0
121none /dev/shm tmpfs defaults 0 0
122</pre> 222</pre>
123 223
124<p>
125Continue by installing the Linux kernel:
126</p> 224<p>
127 225Edit <path>/etc/conf.d/hostname</path> and <path>/etc/conf.d/domainname</path>,
128<pre caption="Installing the Kernel"> 226run <c>rc-update&nbsp;add&nbsp;domainname&nbsp;default</c> and edit
129(Install the kernel sources) # <i>emerge <comment>&lt;kernel-package-here&gt;</comment></i> 227<path>/etc/conf.d/net</path> to
130(Configure your kernel using genkernel...) # <i>emerge genkernel; genkernel --menuconfig all</i> 228configure your network. Add the <c>net.eth0</c> init script to the default
131(<comment>or</comment> (1) manually build your kernel) # <i>cd /usr/src/linux; make menuconfig;</i> 229run level. If you have multiple NICs, symlink them to the <c>net.eth0</c>
132( (2) Include VM fs, /proc fs, /dev fs, /dev fs auto mount at boot) 230init script and add them to the default run level as well.
133( (3) Compile your kernel) # <i>make dep &amp;&amp; make clean bzImage modules modules_install</i>
134( (4) Copy over the kernel) # <i>cp arch/i386/boot/bzImage /boot; cp System.map /boot</i>
135</pre>
136
137<p> 231</p>
138Now install other tools you might want: 232
139</p> 233<p>
140 234Edit <path>/etc/hosts</path>; examples are given below:
141<pre caption = "Install important system tools">
142(Install system logger; choice: sysklogd, metalog, msyslog, syslog-ng) # <i>emerge syslog-ng </i>
143(Have the systemlogger automatically started at boot) # <i>rc-update add syslog-ng default</i>
144(Install cron daemon; choice: vixie-cron, dcron, fcron) # <i>emerge vixie-cron</i>
145(Have the cron daemon automatically started at boot) # <i>rc-update add vixie-cron default</i>
146(genkernel users only: install hotplug) # <i>emerge hotplug</i>
147(genkernel users only: have hotplug automatically started at boot) # <i>rc-update add hotplug default</i>
148(Non-ext2,ext3 users only; choice: reiserfsprogs, xfsprogs, jfsutils) # <i>emerge reiserfsprogs</i>
149(Domain name init script) # <i>rc-update add domainname default</i>
150</pre>
151
152<p> 235</p>
153If you need specialised kernel ebuilds, now is a good time to install them: 236
237<pre caption="Example /etc/hosts">
238<comment>(For static IPs)</comment>
239127.0.0.1 localhost
240192.168.0.5 jenny.homenetwork jenny
241192.168.0.6 benny.homenetwork benny
242192.168.0.7 tux.homenetwork tux
243
244<comment>(For a dynamic IP)</comment>
245127.0.0.1 localhost.homenetwork tux localhost
246</pre>
247
154</p> 248<p>
155 249Emerge <c>pcmcia-cs</c> and add it to the default run level if you need it.
156<pre caption = "Install Specialised Kernel Ebuilds">
157# <i>emerge pcmcia-cs</i> (or <i>nforce-net</i>, <i>nforce-audio</i>, <i>e100</i>, <i>e1000</i>, <i>ati-drivers</i>, <i>rp-pppoe</i>)
158# <i>VIDEO_CARDS="yourcard" emerge xfree-drm</i> (for ATI Radeon up to 9200, Rage128, Matrox, Voodoo and other cards)
159</pre>
160
161<p> 250</p>
162Finalise the settings for your Gentoo system: 251
163</p> 252<p>
164 253Set the root password using <c>passwd</c>.
165<pre caption = "Finalise the Configuration Settings">
166(Set root password) # <i>passwd</i>
167(Create a user) # <i>useradd your_user -m -G users,wheel,audio -s /bin/bash</i>
168(Set password for that user) # <i>passwd your_user</i>
169(Set the system hostname) # <i>echo mymachine &gt; /etc/hostname</i>
170(Set the system domainname) # <i>echo mydomain.com &gt; /etc/dnsdomainname</i>
171(Set the hostsfile, ex:"127.0.0.1 localhost mymachine") # <i>nano -w /etc/hosts</i>
172(Configure basic system settings; follow comments) # <i>nano -w /etc/rc.conf</i>
173</pre>
174
175<pre caption = "Set up Networking">
176(Setup networking; dhcp-users should set iface_eth0="dhcp") # <i>nano -w /etc/conf.d/net</i>
177(List modules to be loaded at startup) # <i>nano -w /etc/modules.autoload.d/kernel-<comment>&lt;version&gt;</comment></i>
178(Non-PCMCIA only: start networking automatically at boot) # <i>rc-update add net.eth0 default</i>
179(Only if you have multiple network interfaces:)
180 (1) Create initscripts for each interface) # <i>ln -s /etc/init.d/net.eth0 /etc/init.d/net.ethx</i>
181 (2) Automatically start at boot if no PCMCIA) # <i>rc-update add net.ethx default</i>
182(PCMCIA only: verify /etc/conf.d/pcmcia and load PCMCIA at boot) # <i>rc-update add pcmcia boot</i>
183</pre>
184
185<p> 254</p>
186Now install a bootloader. 255
187</p> 256<p>
257Set the necessary system configuration in <path>/etc/rc.conf</path>,
258<path>/etc/conf.d/rc</path>, <path>/etc/conf.d/keymaps</path>,
259<path>/etc/conf.d/clock</path>.
260</p>
188 261
189<pre caption="Install and configure GRUB"> 262</body>
190# <i>emerge grub</i> 263</section>
191# <i>grub</i> 264<section>
192grub&gt; <i>root (hd0,0)</i> 265<title>Installing System Tools</title>
193grub&gt; <i>setup (hd0)</i> 266<body>
194grub&gt; <i>quit</i> 267
195# <i>nano -w /boot/grub/grub.conf</i> 268<p>
269Users of a 2.4 kernel need to run <c>emerge&nbsp;--unmerge&nbsp;udev</c> and
270<c>emerge&nbsp;devfsd</c>.
271</p>
272
273<p>
274Install a system logger like <c>syslog-ng</c> and add it to the default
275run level. Do the same for a cron daemon like <c>vixie-cron</c> (optional).
276</p>
277
278<p>
279Install the necessary file system tools (<c>xfsprogs</c>, <c>reiserfsprogs</c>
280or <c>jfsutils</c>) and networking tools (<c>dhcpcd</c> or <c>rp-pppoe</c>).
281</p>
282
283</body>
284</section>
285<section>
286<title>Configuring the Bootloader</title>
287<body>
288
289<p>
290Emerge <c>grub</c> or <c>lilo</c>. Edit <path>/boot/grub/grub.conf</path> or
291<path>/etc/lilo.conf</path> to your likings. Below you will find an example for
292each.
293</p>
294
295<pre caption="Example grub.conf">
196default 0 296default 0
197timeout 15 297timeout 30
198splashimage=(hd0,0)/grub/splash.xpm.gz 298splashimage=(hd0,0)/grub/splash.xpm.gz
199 299
200title=Gentoo Linux
201 root (hd0,0)
202 <comment># genkernel users:</comment> 300<comment># genkernel users</comment>
203 kernel /kernel-<comment>&lt;kernel version&gt;</comment> root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 301title=Gentoo Linux 2.6.11-r3
204 initrd /initrd-<comment>&lt;kernel version&gt;</comment> 302root (hd0,0)
303kernel /kernel-genkernel-x86-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
304initrd /initramfs-genkernel-x86-2.6.11-gentoo-r3
305
205 <comment># non-genkernel users:</comment> 306<comment># non-genkernel users (no initrd)</comment>
206 kernel /kernel-<comment>&lt;kernel version&gt;</comment> root=/dev/hda3 307title=Gentoo Linux 2.6.11 r3
207</pre> 308root (hd0,0)
309kernel /kernel-2.6.11-gentoo-r3 root=/dev/hda3
208 310
209<pre caption="Install and configure LILO"> 311<comment># Only in case you want to dual-boot</comment>
210# <i>emerge lilo</i> 312title=Windows XP
211# <i>nano -w /etc/lilo.conf</i> 313root (hd0,5)
314makeactive
315chainloader +1
316</pre>
317
318<pre caption="Example lilo.conf">
212boot=/dev/hda 319boot=/dev/hda
213prompt 320prompt
214timeout=50 321timeout=50
215default=gentoo 322default=gentoo
216 323
217image=/boot/kernel-<comment>&lt;kernel version&gt;</comment> 324<comment># For non-genkernel users</comment>
325image=/boot/kernel-2.6.11-gentoo-r3
218 label=gentoo 326 label=gentoo
219 read-only 327 read-only
328 root=/dev/hda3
329
220 <comment># genkernel users:</comment> 330<comment># For genkernel users</comment>
221 append="init=/linuxrc real_root=/dev/hda3" 331image=/boot/kernel-genkernel-x86-2.6.11-gentoo-r3
332 label=gentoo
333 read-only
222 root=/dev/ram0 334 root=/dev/ram0
223 initrd=/boot/initrd-<comment>&lt;kernel version&gt;</comment> 335 append="init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev"
224 <comment># non-genkernel users:</comment> 336 initrd=/boot/initramfs-genkernel-x86-2.6.11-gentoo-r3
225 root=/dev/hda3
226 337
227# <i>/sbin/lilo</i> 338<comment># For dual-booting</comment>
339other=/dev/hda6
340 label=windows
228</pre> 341</pre>
229 342
230<p>
231Now unmount all partitions and reboot into your new system:
232</p> 343<p>
233 344GRUB users need to install GRUB in the MBR using
234<pre caption="Finishing off and installing GUI"> 345<c>grub-install&nbsp;/dev/hda</c> after copying <path>/proc/mounts</path> to
235(Exiting the chroot) # <i>exit; cd /</i> 346<path>/etc/mtab</path>. LILO users need to run <c>/sbin/lilo</c>.
236(Unmounting partitions) # <i>umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo</i>
237(Reboot; Remove the universal CD from the tray) # <i>reboot</i>
238(After booting:)
239(ADSL-users only) # <i>adsl-setup</i>
240(GRP-users only)
241 (1) Mount Package CD # <i>mount /dev/cdrom /mnt/cdrom</i>
242 (2) Copy over packages # <i>mkdir /usr/portage/packages</i>
243 # <i>cp -a /mnt/cdrom/* /usr/portage/packages/</i>
244 (3) Install extra software # <i>USE="bindist" emerge -k xfree gnome kde mozilla openoffice-bin</i>
245 (4) Configure your Xserver # <i>/usr/X11R6/bin/xf86config</i>
246</pre>
247
248<p> 347</p>
249You can get more information from the <uri 348
250link="http://www.gentoo.org/doc/en/index.xml">Gentoo
251Documentation</uri>.
252</p> 349<p>
350Exit the chrooted environment, unmount all file systems and reboot.
351</p>
352
253</body> 353</body>
354</section>
254</section> 355<section>
356<title>Finalizing the Installation</title>
357<body>
358
359<p>
360Log in as <c>root</c>, then add one or more users for day-to-day use using
361<c>useradd&nbsp;-m&nbsp;-G&nbsp;&lt;groups&gt;&nbsp;&lt;username&gt;</c>.
362</p>
363
364<p>
365If you performed a networkless installation, mount the packages CD at
366<path>/mnt/cdrom</path> and <c>export&nbsp;PKGDIR="/mnt/cdrom"</c> after which
367you can <c>emerge&nbsp;-k&nbsp;&lt;package&gt;</c> to install additional
368software like <c>kde</c>.
369</p>
370
371<p>
372Thanks for installing Gentoo!
373</p>
374
375</body>
376</section>
255</chapter> 377</chapter>
256</guide> 378</guide>
257

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.49

  ViewVC Help
Powered by ViewVC 1.1.20