1 |
jkt 05/12/06 12:32:46 |
2 |
|
3 |
Modified: xml/htdocs/doc/en gentoo-freebsd.xml |
4 |
Log: |
5 |
#114574, another update from citizen428 |
6 |
|
7 |
Revision Changes Path |
8 |
1.11 +107 -20 xml/htdocs/doc/en/gentoo-freebsd.xml |
9 |
|
10 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-freebsd.xml?rev=1.11&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
11 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-freebsd.xml?rev=1.11&content-type=text/plain&cvsroot=gentoo |
12 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-freebsd.xml.diff?r1=1.10&r2=1.11&cvsroot=gentoo |
13 |
|
14 |
Index: gentoo-freebsd.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v |
17 |
retrieving revision 1.10 |
18 |
retrieving revision 1.11 |
19 |
diff -u -r1.10 -r1.11 |
20 |
--- gentoo-freebsd.xml 21 Oct 2005 10:45:18 -0000 1.10 |
21 |
+++ gentoo-freebsd.xml 6 Dec 2005 12:32:46 -0000 1.11 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.10 2005/10/21 10:45:18 neysx Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.11 2005/12/06 12:32:46 jkt Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/gentoo-freebsd.xml"> |
29 |
@@ -28,8 +28,8 @@ |
30 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
31 |
<license/> |
32 |
|
33 |
-<version>1.8</version> |
34 |
-<date>2005-10-21</date> |
35 |
+<version>1.9</version> |
36 |
+<date>2005-12-06</date> |
37 |
|
38 |
<chapter> |
39 |
<title>Introduction to FreeBSD</title> |
40 |
@@ -175,13 +175,15 @@ |
41 |
<p> |
42 |
Before chrooting into the newly-extracted stage, you first must obtain an up-to-date |
43 |
copy of the Gentoo/FreeBSD overlay. The easiest way to achieve this is to to get our latest |
44 |
-snapshot which you than extract to <path>/mnt/gentoo/usr/local/portage</path> |
45 |
+snapshot which you then extract to <path>/mnt/gentoo/usr/local/portage</path> |
46 |
</p> |
47 |
|
48 |
<pre caption="Getting the Gentoo/FreeBSD Portage overlay"> |
49 |
# <i>cd /mnt/gentoo/usr/local/portage</i> |
50 |
# <i>wget http://gentoo.osuosl.org/experimental/snapshots/portage-alt-overlay-latest.tar.bz2</i> |
51 |
# <i>tar -xjf portage-alt-overlay-latest.tar.bz2</i> |
52 |
+<comment>(You now can safely delete the snapshot with the following command.)</comment> |
53 |
+# <i>rm portage-alt-overlay-latest.tar.bz2</i> |
54 |
</pre> |
55 |
|
56 |
<p> |
57 |
@@ -222,6 +224,14 @@ |
58 |
</pre> |
59 |
|
60 |
<p> |
61 |
+In order to boot correctly, you will need to create the <path>/proc</path> directory. |
62 |
+</p> |
63 |
+ |
64 |
+<pre caption="Creating the /proc directory"> |
65 |
+# <i>mkdir /proc</i> |
66 |
+</pre> |
67 |
+ |
68 |
+<p> |
69 |
Now, you have to obtain a copy of the main Gentoo Portage tree, which depending |
70 |
on your connection might take quite a while. |
71 |
</p> |
72 |
@@ -236,20 +246,93 @@ |
73 |
</pre> |
74 |
|
75 |
<p> |
76 |
-Congratulations, by the time you have reached this step you should have a |
77 |
-running Gentoo/FreeBSD system! If you want, you can now rebuild the system's |
78 |
-core packages. |
79 |
+If you want, you can now rebuild the system's core packages. |
80 |
</p> |
81 |
|
82 |
-<pre caption="Rebuilding the FreeBSD core packages"> |
83 |
+<pre caption="Rebuilding the FreeBSD core packages (Optional)"> |
84 |
# <i>emerge -e system</i> |
85 |
</pre> |
86 |
|
87 |
+<p> |
88 |
+When you did <c>emerge -e system</c>, the sources for the FreeBSD kernel got |
89 |
+installed to <path>/usr/src/sys</path>. If you skipped this step, you can get |
90 |
+them in the following way: |
91 |
+</p> |
92 |
+ |
93 |
+<pre caption="Geting the FreeBSD kernel sources"> |
94 |
+# <i>emerge freebsd-sources</i> |
95 |
+</pre> |
96 |
+ |
97 |
+<p> |
98 |
+Configuring and compiling a custom kernel is really different from compiling Linux, |
99 |
+so if you are not familiar with the process we encourage you to have a look at |
100 |
+<uri link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html"> |
101 |
+chapter 8</uri> of the FreeBSD handbook. |
102 |
+</p> |
103 |
+ |
104 |
+<p> |
105 |
+Please note that currently only the "Traditional" way of building the kernel is |
106 |
+supported on Gentoo/FreeBSD! Also note that <c>make install</c> will probably |
107 |
+ask you for a <path>/boot/device.hints</path> file. A default version can be |
108 |
+found in the <path>conf</path> subdirectory of the <c>GENERIC</c> configuration |
109 |
+and is called <path>GENERIC.hints</path> |
110 |
+</p> |
111 |
+ |
112 |
+<p> |
113 |
+Now is the time to do some basic system configuration and settings. First, we are |
114 |
+going to setup the filesystem mounting points in <path>/etc/fstab</path> |
115 |
+</p> |
116 |
+ |
117 |
+<pre caption="Editing the filesystem in /etc/fstab"> |
118 |
+# <i>ee /etc/fstab</i> |
119 |
+<comment>(This is an example, replace X and Y with the correct numbers for your hard disk.)</comment> |
120 |
+#Device Mountpoint Fstype Options Dump Pass |
121 |
+/dev/adXsYb none swap sw 0 0 |
122 |
+/dev/adXsYa / ufs rw 1 1 |
123 |
+/dev/adXsYe /usr/home ufs rw 2 2 |
124 |
+/dev/adXsYd /tmp ufs rw 2 2 |
125 |
+/dev/acdX /cdrom cd9660 ro,noauto 0 0 |
126 |
+</pre> |
127 |
+ |
128 |
+<p> |
129 |
+Now would also be a good time to set up your network connection before the final |
130 |
+reboot. |
131 |
+</p> |
132 |
+ |
133 |
+<pre caption="Setting up your network"> |
134 |
+# <i>ee /etc/conf.d/net</i> |
135 |
+<comment>(This is just an example which you have to adjust for your network.)</comment> |
136 |
+ifconfig_rl0=("192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255") |
137 |
+routes_rl0=("-net 0.0.0.0 -host 192.168.0.1") |
138 |
+</pre> |
139 |
+ |
140 |
+<p> |
141 |
+To change your hostname you have to edit <path>/etc/hostname</path>. |
142 |
+</p> |
143 |
+ |
144 |
+<pre caption="Setting up the machine's hostname"> |
145 |
+# <i>echo "YOUR_HOSTNAME_HERE" > /etc/hostname</i> |
146 |
+</pre> |
147 |
+ |
148 |
+<p> |
149 |
+In case you need to use another keyboard layout for your language, you have to set the |
150 |
+correct value in <path>/etc/conf.d/syscons</path>. The following example uses the Spanish |
151 |
+layout, so you'll have to adjust it to your need if you want to use another one. |
152 |
+</p> |
153 |
+ |
154 |
+<pre caption="Changing your keyboard layout (Optional)"> |
155 |
+# <i>ee /etc/conf.d/syscons</i> |
156 |
+KEYMAP="spanish.iso.acc" |
157 |
+<comment>(Possible layouts can be found in /usr/share/syscons/keymaps).</comment> |
158 |
+</pre> |
159 |
+ |
160 |
<impo> |
161 |
Please make absolutely sure you add your new Gentoo/FreeBSD installation to the |
162 |
configuration of your bootloader, otherwise you won't be able to boot your newly |
163 |
installed system! If you don't have another bootloader installed, you should use |
164 |
-<c>boot0</c>, as it is currently the only one supported by FreeBSD. |
165 |
+<c>boot0</c>, as it is currently the only one supported by FreeBSD. In this case |
166 |
+please don't forget to use your other operating systems to <c>boot0</c>'s |
167 |
+configuration. |
168 |
</impo> |
169 |
|
170 |
<pre caption="Installing and setting up boot0"> |
171 |
@@ -269,22 +352,26 @@ |
172 |
</p> |
173 |
|
174 |
<p> |
175 |
-When you did <c>emerge system</c>, the sources for the FreeBSD kernel got |
176 |
-installed to <path>/usr/src/sys</path>. Configuring and compiling a custom |
177 |
-kernel is really different from compiling Linux, so if you are not familiar with |
178 |
-the process we encourage you to have a look at <uri |
179 |
-link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html"> |
180 |
-chapter 8</uri> of the FreeBSD handbook. |
181 |
+Now would be a good time to set a password for the <c>root</c> user and to add |
182 |
+another user account for your day-to-day work. |
183 |
</p> |
184 |
|
185 |
+<pre caption="Changing the root password and adding a new user"> |
186 |
+# <i>passwd</i> |
187 |
+<comment>(If you need help in adding a user please consult the FreeBSD handbook).</comment> |
188 |
+# <i>adduser</i> |
189 |
+</pre> |
190 |
+ |
191 |
<p> |
192 |
-Please note that currently only the "Traditional" way of building the kernel is |
193 |
-supported on Gentoo/FreeBSD! Also note that <c>make install</c> will probably |
194 |
-ask you for a <path>/boot/device.hints</path> file. A default version can be |
195 |
-found in the <path>conf</path> subdirectory of the <c>GENERIC</c> configuration |
196 |
-and is called <path>GENERIC.hints</path> |
197 |
+Congratulations, you have just finished your Gentoo/FreeBSD installation which you |
198 |
+can start exploring after the final reboot. Have fun! |
199 |
</p> |
200 |
|
201 |
+<pre caption="Rebooting the system"> |
202 |
+# <i>exit</i> |
203 |
+# <i>reboot</i> |
204 |
+</pre> |
205 |
+ |
206 |
</body> |
207 |
</section> |
208 |
</chapter> |
209 |
|
210 |
|
211 |
|
212 |
-- |
213 |
gentoo-doc-cvs@g.o mailing list |