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

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.51

  ViewVC Help
Powered by ViewVC 1.1.20