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

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.44

  ViewVC Help
Powered by ViewVC 1.1.20