| 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-freebsd.xml,v 1.19 2006/05/26 19:21:37 nightmorph Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.20 2006/05/26 19:29:27 nightmorph Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/gentoo-freebsd.xml"> |
5 | <guide link="/doc/en/gentoo-freebsd.xml"> |
| 6 | <title>A short guide to Gentoo/FreeBSD</title> |
6 | <title>A short guide to Gentoo/FreeBSD</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| 9 | <mail link="ignacio.arquelatour@gmail.com">Ignacio Arque-Latour</mail> |
9 | <mail link="ignacio.arquelatour@gmail.com">Ignacio Arque-Latour</mail> |
| 10 | </author> |
10 | </author> |
| 11 | <author title="Author"> |
11 | <author title="Author"> |
| 12 | <mail link="citizen428@gentoo.org">Michael Kohl</mail> |
12 | <mail link="citizen428@gentoo.org">Michael Kohl</mail> |
| 13 | </author> |
13 | </author> |
| 14 | <author title="Author"> |
14 | <author title="Author"> |
| 15 | <mail link="angusyoung@gentoo.org">Otavio R. Piske</mail> |
15 | <mail link="angusyoung@gentoo.org">Otavio R. Piske</mail> |
| 16 | </author> |
16 | </author> |
| 17 | <author title="Author"> |
17 | <author title="Author"> |
| … | |
… | |
| 47 | sparc64 and alpha platforms.FreeBSD is renowned for its stability, performance |
47 | sparc64 and alpha platforms.FreeBSD is renowned for its stability, performance |
| 48 | and security, thus being used from small to huge companies all over the world. |
48 | and security, thus being used from small to huge companies all over the world. |
| 49 | FreeBSD's current production release version is 6.1, which is also used as the |
49 | FreeBSD's current production release version is 6.1, which is also used as the |
| 50 | foundation for the Gentoo/FreeBSD project. The previous 5.x branch is being |
50 | foundation for the Gentoo/FreeBSD project. The previous 5.x branch is being |
| 51 | continued by the FreeBSD project as a service release, but is no longer worked |
51 | continued by the FreeBSD project as a service release, but is no longer worked |
| 52 | on by the Gentoo/FreeBSD developers. |
52 | on by the Gentoo/FreeBSD developers. |
| 53 | </p> |
53 | </p> |
| 54 | |
54 | |
| 55 | </body> |
55 | </body> |
| 56 | </section> |
56 | </section> |
| 57 | <section> |
57 | <section> |
| 58 | <title>What is Gentoo/FreeBSD?</title> |
58 | <title>What is Gentoo/FreeBSD?</title> |
| 59 | <body> |
59 | <body> |
| 60 | |
60 | |
| 61 | <p> |
61 | <p> |
| 62 | <uri link="/proj/en/gentoo-alt/bsd/fbsd/">Gentoo/FreeBSD</uri> is a subproject of the |
62 | <uri link="/proj/en/gentoo-alt/bsd/fbsd/">Gentoo/FreeBSD</uri> is a subproject |
| 63 | <uri link="/proj/en/gentoo-alt/">Gentoo/Alt project</uri>, with the goal of providing |
63 | of the <uri link="/proj/en/gentoo-alt/">Gentoo/Alt project</uri>, with the |
| 64 | a fully-capable FreeBSD operating system featuring the design sensibilities known from |
64 | goal of providing a fully-capable FreeBSD operating system featuring design |
| 65 | Gentoo Linux, like the init system and the portage package management system. |
65 | sensibilities taken from Gentoo Linux, such as the init system and the Portage |
|
|
66 | package management system. |
| 66 | </p> |
67 | </p> |
| 67 | |
68 | |
| 68 | </body> |
69 | </body> |
| 69 | </section> |
70 | </section> |
| 70 | <section> |
71 | <section> |
| 71 | <title>FreeBSD and Linux</title> |
72 | <title>FreeBSD and Linux</title> |
| 72 | <body> |
73 | <body> |
| 73 | |
74 | |
| 74 | <p> |
75 | <p> |
| 75 | Users migrating from Linux to FreeBSD commonly consider the two operating |
76 | Users migrating from Linux to FreeBSD commonly consider the two operating |
| 76 | systems "almost the same". In fact, FreeBSD really shares a lot of similarities |
77 | systems "almost the same". In fact, FreeBSD really shares a lot of similarities |
| 77 | with Linux distributions in general. Nevertheless, it has some key differences |
78 | with Linux distributions in general. Nevertheless, it has some key differences |
| 78 | that are worth noting: |
79 | that are worth noting: |
| 79 | </p> |
80 | </p> |
| 80 | |
81 | |
| … | |
… | |
| 282 | </note> |
283 | </note> |
| 283 | |
284 | |
| 284 | <p> |
285 | <p> |
| 285 | In order to boot correctly, you will need to create the <path>/proc</path> |
286 | In order to boot correctly, you will need to create the <path>/proc</path> |
| 286 | directory. |
287 | directory. |
| 287 | </p> |
288 | </p> |
| 288 | |
289 | |
| 289 | <pre caption="Creating the /proc directory"> |
290 | <pre caption="Creating the /proc directory"> |
| 290 | # <i>mkdir /proc</i> |
291 | # <i>mkdir /proc</i> |
| 291 | </pre> |
292 | </pre> |
| 292 | |
293 | |
| 293 | <p> |
294 | <p> |
| 294 | If you want, you can now rebuild the system's core packages. |
295 | If you want, you can now rebuild the system's core packages. |
| 295 | </p> |
296 | </p> |
| 296 | |
297 | |
| 297 | <pre caption="Rebuilding the FreeBSD core packages (Optional)"> |
298 | <pre caption="Rebuilding the FreeBSD core packages (optional)"> |
| 298 | # <i>emerge -e system</i> |
299 | # <i>emerge -e system</i> |
| 299 | </pre> |
300 | </pre> |
| 300 | |
301 | |
| 301 | <p> |
302 | <p> |
| 302 | When you did <c>emerge -e system</c>, the sources for the FreeBSD kernel got |
303 | When you did <c>emerge -e system</c>, the sources for the FreeBSD kernel got |
| 303 | installed to <path>/usr/src/sys</path>. If you skipped this step, you can get |
304 | installed to <path>/usr/src/sys</path>. If you skipped this step, you can get |
| 304 | them in the following way: |
305 | them in the following way: |
| 305 | </p> |
306 | </p> |
| 306 | |
307 | |
| 307 | <pre caption="Geting the FreeBSD kernel sources"> |
308 | <pre caption="Getting the FreeBSD kernel sources"> |
| 308 | # <i>emerge freebsd-sources</i> |
309 | # <i>emerge freebsd-sources</i> |
| 309 | </pre> |
310 | </pre> |
| 310 | |
311 | |
| 311 | <p> |
312 | <p> |
| 312 | Configuring and compiling a custom kernel is really different from compiling |
313 | Configuring and compiling a custom kernel is really different from compiling |
| 313 | Linux, so if you are not familiar with the process we encourage you to have a |
314 | Linux, so if you are not familiar with the process we encourage you to have a |
| 314 | look at <uri |
315 | look at <uri |
| 315 | link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html"> |
316 | link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html"> |
| 316 | chapter 8</uri> of the FreeBSD handbook. |
317 | chapter 8</uri> of the FreeBSD handbook. |
| 317 | </p> |
318 | </p> |
| 318 | |
319 | |
| 319 | <p> |
320 | <p> |
| 320 | Please note that currently only the "Traditional" way of building the kernel is |
321 | Please note that currently only the "Traditional" way of building the kernel is |
| 321 | supported on Gentoo/FreeBSD! Also note that <c>make install</c> will probably |
322 | supported on Gentoo/FreeBSD! Also note that <c>make install</c> will probably |
| 322 | ask you for a <path>/boot/device.hints</path> file. A default version can be |
323 | ask you for a <path>/boot/device.hints</path> file. A default version can be |