/[gentoo]/xml/htdocs/doc/en/gentoo-freebsd.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-freebsd.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.31 Revision 1.32
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.31 2008/06/02 18:58:52 cam Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.32 2008/11/01 09:45:22 neysx 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">
28</author> 28</author>
29<author title="Editor"> 29<author title="Editor">
30 <mail link="cam@gentoo.org">Camille Huot</mail> 30 <mail link="cam@gentoo.org">Camille Huot</mail>
31</author> 31</author>
32 32
33<abstract> 33<abstract>
34This document gives some general information on FreeBSD, as well as 34This document gives some general information on FreeBSD, as well as
35installation instructions for Gentoo/FreeBSD. It also includes some reference 35installation instructions for Gentoo/FreeBSD. It also includes some reference
36for people interested in helping out with development. 36for people interested in helping out with development.
37</abstract> 37</abstract>
38 38
39<!-- The content of this document is licensed under the CC-BY-SA license --> 39<!-- The content of this document is licensed under the CC-BY-SA license -->
40<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 40<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
41<license/> 41<license/>
42 42
43<version>2.12</version> 43<version>2.13</version>
44<date>2008-06-02</date> 44<date>2008-11-01</date>
45 45
46<chapter> 46<chapter>
47<title>Introduction to FreeBSD</title> 47<title>Introduction to FreeBSD</title>
48<section> 48<section>
49<title>What is FreeBSD?</title> 49<title>What is FreeBSD?</title>
50<body> 50<body>
51 51
52<p> 52<p>
53<uri link="http://www.freebsd.org/">FreeBSD</uri> is a free (<uri 53<uri link="http://www.freebsd.org/">FreeBSD</uri> is a free (<uri
54link="http://www.freebsd.org/copyright/freebsd-license.html">license</uri>) 54link="http://www.freebsd.org/copyright/freebsd-license.html">license</uri>)
55Unix-like operating system. Back in 1993 when development of <uri 55Unix-like operating system. Back in 1993 when development of <uri
56link="http://www.386bsd.org/">386BSD</uri> stopped, two projects were born: 56link="http://www.386bsd.org/">386BSD</uri> stopped, two projects were born:
57<uri link="http://www.netbsd.org/">NetBSD</uri>, commonly known to run on a 57<uri link="http://www.netbsd.org/">NetBSD</uri>, commonly known to run on a
58huge number of architectures, and FreeBSD which supports the x86, amd64, ia64, 58huge number of architectures, and FreeBSD which supports the x86, amd64, ia64,
59sparc64 and alpha platforms. FreeBSD is renowned for its stability, performance 59sparc64 and alpha platforms. FreeBSD is renowned for its stability, performance
280 280
281<p> 281<p>
282Now that you have mounted the target partition, it is time to start on the 282Now that you have mounted the target partition, it is time to start on the
283Gentoo setup. 283Gentoo setup.
284</p> 284</p>
285 285
286</body> 286</body>
287</section> 287</section>
288<section> 288<section>
289<title>Gentoo Setup</title> 289<title>Gentoo Setup</title>
290<body> 290<body>
291 291
292<p> 292<p>
293First, we need to download a stage3 tarball and unpack it into the chroot. 293First, we need to download a stage3 tarball and unpack it into the chroot.
294Point your browser to 294Point your browser to
295<uri>http://gentoo.osuosl.org/experimental/x86/freebsd/stages/</uri>, grab the 295<uri>http://distfiles.gentoo.org/experimental/x86/freebsd/stages/</uri>, grab the
296latest snapshot, and unpack it into the mountpoint: 296latest snapshot, and unpack it into the mountpoint:
297</p> 297</p>
298 298
299<pre caption="Obtaining and unpacking a stage3 tarball"> 299<pre caption="Obtaining and unpacking a stage3 tarball">
300# <i>cd /mnt/</i> 300# <i>cd /mnt/</i>
301<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment> 301<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment>
302# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/stage3-x86-freebsd-6.2-r1.tar.bz2</i> 302# <i>wget http://distfiles.gentoo.org/experimental/x86/freebsd/stages/stage3-x86-freebsd-6.2-r1.tar.bz2</i>
303# <i>tar -jxvpf stage3-x86-freebsd-6.2-r1.tar.bz2</i> 303# <i>tar -jxvpf stage3-x86-freebsd-6.2-r1.tar.bz2</i>
304<comment>(You can delete the tarball with the following command if you want to.)</comment> 304<comment>(You can delete the tarball with the following command if you want to.)</comment>
305# <i>rm stage3-x86-freebsd-6.2-r1.tar.bz2</i> 305# <i>rm stage3-x86-freebsd-6.2-r1.tar.bz2</i>
306</pre> 306</pre>
307 307
308<note> 308<note>
309If you want you can use the transition overlay that contains semi-experimental 309If you want you can use the transition overlay that contains semi-experimental
310ebuilds with patches not yet in the main Portage tree, but does allow a wider 310ebuilds with patches not yet in the main Portage tree, but does allow a wider
311range of supported packages, please refer to the <uri 311range of supported packages, please refer to the <uri
312link="/proj/en/gentoo-alt/contribute/index.xml?part=1&amp;chap=3">Gentoo/ALT 312link="/proj/en/gentoo-alt/contribute/index.xml?part=1&amp;chap=3">Gentoo/ALT
313overlay documentation</uri>. Please note that the overlay is not critical and 313overlay documentation</uri>. Please note that the overlay is not critical and
314you can easily install and use Gentoo/FreeBSD without it. 314you can easily install and use Gentoo/FreeBSD without it.
315</note> 315</note>
316 316
317<p> 317<p>
330<p> 330<p>
331After you obtain the Gentoo/FreeBSD overlay, it's time to link 331After you obtain the Gentoo/FreeBSD overlay, it's time to link
332<path>/etc/make.profile</path> to the correct profile and get your 332<path>/etc/make.profile</path> to the correct profile and get your
333<path>/etc/make.conf</path> ready for Gentoo/FreeBSD. 333<path>/etc/make.conf</path> ready for Gentoo/FreeBSD.
334</p> 334</p>
335 335
336<p> 336<p>
337Now, you have to obtain a copy of the main Gentoo Portage tree, which depending 337Now, you have to obtain a copy of the main Gentoo Portage tree, which depending
338on your connection might take quite a while. 338on your connection might take quite a while.
339</p> 339</p>
340 340
341<pre caption="Obtaining the Portage tree"> 341<pre caption="Obtaining the Portage tree">
342# <i>emerge --sync</i> 342# <i>emerge --sync</i>
343<comment>(It's also possible to retrieve the Portage tree in another way:)</comment> 343<comment>(It's also possible to retrieve the Portage tree in another way:)</comment>
344# <i>cd /</i> 344# <i>cd /</i>
345# <i>wget http://gentoo.osuosl.org/snapshots/portage-latest.tar.bz2</i> 345# <i>wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2</i>
346# <i>tar -xjf portage-latest.tar.bz2 -C /usr/</i> 346# <i>tar -xjf portage-latest.tar.bz2 -C /usr/</i>
347# <i>emerge --metadata</i> 347# <i>emerge --metadata</i>
348</pre> 348</pre>
349 349
350<pre caption="Setting up the profile and editing /etc/make.conf"> 350<pre caption="Setting up the profile and editing /etc/make.conf">
351# <i>ln -sf /usr/portage/profiles/default-bsd/fbsd/6.2/x86/ /etc/make.profile</i> 351# <i>ln -sf /usr/portage/profiles/default-bsd/fbsd/6.2/x86/ /etc/make.profile</i>
352# <i>nano /etc/make.conf</i> 352# <i>nano /etc/make.conf</i>
353<comment>(Please make sure you add at least the following entries:)</comment> 353<comment>(Please make sure you add at least the following entries:)</comment>
354CHOST="i686-gentoo-freebsd6.2" 354CHOST="i686-gentoo-freebsd6.2"
355FEATURES="collision-protect" 355FEATURES="collision-protect"
356</pre> 356</pre>
357 357
358<note> 358<note>
359The <c>~x86-fbsd</c> keyword does not yet fully cover the same tree as 359The <c>~x86-fbsd</c> keyword does not yet fully cover the same tree as
360<c>~x86</c>, but please <e>do not</e> put <c>~x86</c> in ACCEPT_KEYWORDS. Rather 360<c>~x86</c>, but please <e>do not</e> put <c>~x86</c> in ACCEPT_KEYWORDS. Rather

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.20