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

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.20