/[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.18 Revision 1.19
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.18 2006/05/03 01:03:42 rane Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.19 2006/05/26 19:21:37 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">
18 <mail link="ka0ttic@gentoo.org">Aaron Walker</mail> 18 <mail link="ka0ttic@gentoo.org">Aaron Walker</mail>
19</author> 19</author>
20 20
21<abstract> 21<abstract>
22This document gives some general information on FreeBSD, as well as 22This document gives some general information on FreeBSD, as well as
23installation instructions for Gentoo/FreeBSD. It also includes some reference 23installation instructions for Gentoo/FreeBSD. It also includes some reference
24for people interested in helping out with development. 24for people interested in helping out with development.
25</abstract> 25</abstract>
26 26
27<!-- The content of this document is licensed under the CC-BY-SA license --> 27<!-- The content of this document is licensed under the CC-BY-SA license -->
28<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 28<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
29<license/> 29<license/>
30 30
31<version>2.4</version> 31<version>2.5</version>
32<date>2006-05-03</date> 32<date>2006-05-26</date>
33 33
34<chapter> 34<chapter>
35<title>Introduction to FreeBSD</title> 35<title>Introduction to FreeBSD</title>
36<section> 36<section>
37<title>What is FreeBSD?</title> 37<title>What is FreeBSD?</title>
38<body> 38<body>
39 39
40<p> 40<p>
41<uri link="http://www.freebsd.org/">FreeBSD</uri> is a free (<uri 41<uri link="http://www.freebsd.org/">FreeBSD</uri> is a free (<uri
42link="http://www.freebsd.org/copyright/freebsd-license.html">license</uri>) 42link="http://www.freebsd.org/copyright/freebsd-license.html">license</uri>)
43Unix-like operating system. Back in 1993 when development of <uri 43Unix-like operating system. Back in 1993 when development of <uri
44link="http://www.386bsd.org/">386BSD</uri> stopped, two projects were born: 44link="http://www.386bsd.org/">386BSD</uri> stopped, two projects were born:
45<uri link="http://www.netbsd.org/">NetBSD</uri>, commonly known to run on a 45<uri link="http://www.netbsd.org/">NetBSD</uri>, commonly known to run on a
46huge number of architectures, and FreeBSD which supports the x86, amd64, ia64, 46huge number of architectures, and FreeBSD which supports the x86, amd64, ia64,
47sparc64 and alpha platforms.FreeBSD is renowned for its stability, performance 47sparc64 and alpha platforms.FreeBSD is renowned for its stability, performance
48and security, thus being used from small to huge companies all over the world. 48and security, thus being used from small to huge companies all over the world.
49FreeBSD's current production release version is 6.0, which is also used as the 49FreeBSD's current production release version is 6.1, which is also used as the
50foundation for the Gentoo/FreeBSD project. The previous 5.x branch is being 50foundation for the Gentoo/FreeBSD project. The previous 5.x branch is being
51continued by the FreeBSD project as a service release, but is no more worked on by 51continued by the FreeBSD project as a service release, but is no longer worked
52the Gentoo/FreeBSD developers. 52on 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 of the
63<uri link="/proj/en/gentoo-alt/">Gentoo/Alt project</uri>, with the goal of providing 63<uri link="/proj/en/gentoo-alt/">Gentoo/Alt project</uri>, with the goal of providing
64a fully-capable FreeBSD operating system featuring the design sensibilities known from 64a fully-capable FreeBSD operating system featuring the design sensibilities known from
65Gentoo Linux, like the init system and the portage package management system. 65Gentoo Linux, like the init system and the portage package management system.
66</p> 66</p>
67 67
188in read-write mode: 188in read-write mode:
189</p> 189</p>
190 190
191<pre caption="Remounting a partition in read-write mode"> 191<pre caption="Remounting a partition in read-write mode">
192# <i>mount -u -o rw /mnt/ufs.1</i> 192# <i>mount -u -o rw /mnt/ufs.1</i>
193</pre> 193</pre>
194 194
195<p> 195<p>
196Now that you have mounted the target partition, it is time to fetch and unpack 196Now that you have mounted the target partition, it is time to fetch and unpack
197a stage3 tarball. 197a stage3 tarball.
198</p> 198</p>
199 199
200<pre caption="Obtaining and unpacking a stage3 tarball"> 200<pre caption="Obtaining and unpacking a stage3 tarball">
201# <i>cd /mnt/gentoo/</i> 201# <i>cd /mnt/gentoo/</i>
202<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment> 202<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment>
203# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/gentoo-freebsd-6.0-stage-20060221.tar.bz2</i> 203# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/gentoo-freebsd-6.1-stage-20060509.tar.bz2</i>
204# <i>tar -jxvpf gentoo-freebsd-6.0-stage-20060221</i> 204# <i>tar -jxvpf gentoo-freebsd-6.1-stage-20060509.tar.bz2</i>
205<comment>(You can delete the tarball with the following command if you want to.)</comment> 205<comment>(You can delete the tarball with the following command if you want to.)</comment>
206# <i>rm gentoo-freebsd-6.0-stage-20060221</i> 206# <i>rm gentoo-freebsd-6.1-stage-20060509.tar.bz2</i>
207</pre> 207</pre>
208 208
209<p> 209<p>
210Before chrooting into the newly-extracted stage, you first must obtain an 210Before chrooting into the newly-extracted stage, you first must obtain an
211up-to-date copy of the Gentoo/FreeBSD overlay. The easiest way to achieve this 211up-to-date copy of the Gentoo/FreeBSD overlay. The easiest way to achieve this
212is to to get our latest snapshot which you then extract to 212is to to get our latest snapshot which you then extract to
213<path>/mnt/gentoo/usr/local/portage</path>. 213<path>/mnt/gentoo/usr/local/portage</path>.
214</p> 214</p>
215 215
216<pre caption="Getting the Gentoo/FreeBSD Portage overlay"> 216<pre caption="Getting the Gentoo/FreeBSD Portage overlay">
217# <i>cd /mnt/gentoo/usr/local/portage</i> 217# <i>cd /mnt/gentoo/usr/local/portage</i>
218# <i>wget http://gentoo.osuosl.org/experimental/snapshots/portage-alt-overlay-latest.tar.bz2</i> 218# <i>wget http://gentoo.osuosl.org/experimental/snapshots/portage-alt-overlay-latest.tar.bz2</i>
219# <i>tar -xjf portage-alt-overlay-latest.tar.bz2</i> 219# <i>tar -xjf portage-alt-overlay-latest.tar.bz2</i>
220<comment>(You now can safely delete the snapshot with the following command.)</comment> 220<comment>(You now can safely delete the snapshot with the following command.)</comment>
221# <i>rm portage-alt-overlay-latest.tar.bz2</i> 221# <i>rm portage-alt-overlay-latest.tar.bz2</i>
251<p> 251<p>
252Now, you have to obtain a copy of the main Gentoo Portage tree, which depending 252Now, you have to obtain a copy of the main Gentoo Portage tree, which depending
253on your connection might take quite a while. 253on your connection might take quite a while.
254</p> 254</p>
255 255
256<pre caption="Obtaining the Portage tree"> 256<pre caption="Obtaining the Portage tree">
257# <i>emerge --sync</i> 257# <i>emerge --sync</i>
258<comment>(It's also possible to retrieve the Portage tree in another way:)</comment> 258<comment>(It's also possible to retrieve the Portage tree in another way:)</comment>
259# <i>cd /</i> 259# <i>cd /</i>
260# <i>wget http://gentoo.osuosl.org/snapshots/portage-latest.tar.bz2</i> 260# <i>wget http://gentoo.osuosl.org/snapshots/portage-latest.tar.bz2</i>
261# <i>tar -xjf portage-latest.tar.bz2 -C /usr/</i> 261# <i>tar -xjf portage-latest.tar.bz2 -C /usr/</i>
262# <i>emerge --metadata</i> 262# <i>emerge --metadata</i>
263</pre> 263</pre>
264 264
265<pre caption="Setting up the profile and editing /etc/make.conf"> 265<pre caption="Setting up the profile and editing /etc/make.conf">
266# <i>ln -sf /usr/local/portage/portage-alt-overlay/profiles/default-bsd/fbsd/6.0/x86/ /etc/make.profile</i> 266# <i>ln -sf /usr/portage/profiles/default-bsd/fbsd/6.1/x86/ /etc/make.profile</i>
267<comment>(FreeBSD's standard editor is ee, which is used to edit /etc/make.conf)</comment> 267<comment>(FreeBSD's standard editor is ee, which is used to edit /etc/make.conf)</comment>
268# <i>ee /etc/make.conf</i> 268# <i>ee /etc/make.conf</i>
269<comment>(Please make sure you add at least the following entries:)</comment> 269<comment>(Please make sure you add at least the following entries:)</comment>
270CHOST="i686-gentoo-freebsd6.0" 270CHOST="i686-gentoo-freebsd6.1"
271ACCEPT_KEYWORDS="~x86-fbsd" 271ACCEPT_KEYWORDS="~x86-fbsd"
272FEATURES="-sandbox collision-protect" 272FEATURES="-sandbox collision-protect"
273PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay" 273PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay"
274</pre> 274</pre>
275 275
276<note> 276<note>
277You can have a very limited system by using ~x86-fbsd keyword alone; you might 277You can have a very limited system by using ~x86-fbsd keyword alone; you might
278want to put ~x86 in your ACCEPT_KEYWORDS if you want access to more packages 278want to put ~x86 in your ACCEPT_KEYWORDS if you want access to more packages
279but you might find broken dependencies and non-working packages; please rather 279but you might find broken dependencies and non-working packages; please rather
280use package.keywords when testing packages and report working ones on <uri 280use package.keywords when testing packages and report working ones on <uri
281link="http://bugs.gentoo.org">Bugzilla</uri> for the product Gentoo/Alt. 281link="http://bugs.gentoo.org">Bugzilla</uri> for the product Gentoo/Alt.
282</note> 282</note>
283 283
284<p> 284<p>
285In order to boot correctly, you will need to create the <path>/proc</path> 285In order to boot correctly, you will need to create the <path>/proc</path>

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20