/[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.15 Revision 1.16
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.15 2006/03/28 10:30:14 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.16 2006/03/30 08:41:57 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">
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.2</version> 31<version>2.3</version>
32<date>2006-03-24</date> 32<date>2006-03-24</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 architetures, and FreeBSD which supports the x86, amd64, ia64, 46huge number of architetures, 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.0, 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 more worked on by
52the Gentoo/FreeBSD developers. 52the 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
68</body> 68</body>
69</section> 69</section>
70<section> 70<section>
71<title>FreeBSD and Linux</title> 71<title>FreeBSD and Linux</title>
72<body> 72<body>
73 73
74<p> 74<p>
75Users migrating from Linux to FreeBSD commonly consider the two operating 75Users migrating from Linux to FreeBSD commonly consider the two operating
76systems "almost the same". In fact, FreeBSD really shares a lot of similarities 76systems "almost the same". In fact, FreeBSD really shares a lot of similarities
77with Linux distributions in general. Nevertheless, it has some key differences 77with Linux distributions in general. Nevertheless, it has some key differences
78that are worth noting: 78that are worth noting:
172 172
173<pre caption="Creating a mount point and mounting partitions"> 173<pre caption="Creating a mount point and mounting partitions">
174# <i>mkdir /mnt/gentoo</i> 174# <i>mkdir /mnt/gentoo</i>
175<comment>(Replace X with the correct numbers for your hard disk.)</comment> 175<comment>(Replace X with the correct numbers for your hard disk.)</comment>
176# <i>mount /dev/adXsXa /mnt/gentoo</i> 176# <i>mount /dev/adXsXa /mnt/gentoo</i>
177</pre> 177</pre>
178 178
179<p> 179<p>
180If you're using the FreeSBIE LiveCD and you already had an UFS partition on 180If you're using the FreeSBIE LiveCD and you already had an UFS partition on
181your hard disk, it has already been mounted read-only to <path>/mnt/ufs.1</path>. 181your hard disk, it has already been mounted read-only to <path>/mnt/ufs.1</path>.
182If you want to use that location for your installation, you'll have to remount it 182If you want to use that location for your installation, you'll have to remount it
183in read-write mode: 183in read-write mode:
184</p> 184</p>
185 185
186<pre caption="Remounting a partition in read-write mode"> 186<pre caption="Remounting a partition in read-write mode">
187# <i>ount -u -o rw /mnt/ufs.1</i> 187# <i>mount -u -o rw /mnt/ufs.1</i>
188</pre> 188</pre>
189 189
190 190
191<p> 191<p>
192Now that you have mounted the target partition, it is time to fetch and unpack 192Now that you have mounted the target partition, it is time to fetch and unpack
193a stage3 tarball. 193a stage3 tarball.
194</p> 194</p>
195 195
196<pre caption="Obtaining and unpacking a stage3 tarball"> 196<pre caption="Obtaining and unpacking a stage3 tarball">
197# <i>cd /mnt/gentoo/</i> 197# <i>cd /mnt/gentoo/</i>
198<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment> 198<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment>
199# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/gentoo-freebsd-6.0-stage-20060221.tar.bz2</i> 199# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/gentoo-freebsd-6.0-stage-20060221.tar.bz2</i>
200# <i>tar -jxvpf gentoo-freebsd-6.0-stage-20060221</i> 200# <i>tar -jxvpf gentoo-freebsd-6.0-stage-20060221</i>
201<comment>(You can delete the tarball with the following command if you want to.)</comment> 201<comment>(You can delete the tarball with the following command if you want to.)</comment>
202# <i>rm gentoo-freebsd-6.0-stage-20060221</i> 202# <i>rm gentoo-freebsd-6.0-stage-20060221</i>
308link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html"> 308link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html">
309chapter 8</uri> of the FreeBSD handbook. 309chapter 8</uri> of the FreeBSD handbook.
310</p> 310</p>
311 311
312<p> 312<p>
313Please note that currently only the "Traditional" way of building the kernel is 313Please note that currently only the "Traditional" way of building the kernel is
314supported on Gentoo/FreeBSD! Also note that <c>make install</c> will probably 314supported on Gentoo/FreeBSD! Also note that <c>make install</c> will probably
315ask you for a <path>/boot/device.hints</path> file. A default version can be 315ask you for a <path>/boot/device.hints</path> file. A default version can be
316found in the <path>conf</path> subdirectory of the <c>GENERIC</c> configuration 316found in the <path>conf</path> subdirectory of the <c>GENERIC</c> configuration
317and is called <path>GENERIC.hints</path>. 317and is called <path>GENERIC.hints</path>.
318</p> 318</p>
319 319
320<note> 320<note>
321When building a kernel, you should use the command "make WERROR=NO_WERROR" 321When building a kernel, you should use the command "make WERROR=NO_WERROR"
322because the Gentoo/FreeBSD developers have not yet been able to patch out all 322because the Gentoo/FreeBSD developers have not yet been able to patch out all
323occurences of -Werror and the currently used GCC doesn't accept FreeBSD's 323occurrences of -Werror and the currently used GCC doesn't accept FreeBSD's
324extensions to the printf() funktion. 324extensions to the printf() function.
325</note> 325</note>
326 326
327<p> 327<p>
328Now is the time to do some basic system configuration and settings. First, we 328Now is the time to do some basic system configuration and settings. First, we
329are going to setup the filesystem mounting points in <path>/etc/fstab</path>. 329are going to setup the filesystem mounting points in <path>/etc/fstab</path>.
330</p> 330</p>
331 331
332<pre caption="Editing the filesystem in /etc/fstab"> 332<pre caption="Editing the filesystem in /etc/fstab">
333# <i>ee /etc/fstab</i> 333# <i>ee /etc/fstab</i>
334<comment>(This is an example, replace X and Y with the correct numbers for your hard disk.)</comment> 334<comment>(This is an example, replace X and Y with the correct numbers for your hard disk.)</comment>
335#Device Mountpoint Fstype Options Dump Pass 335#Device Mountpoint Fstype Options Dump Pass
336/dev/adXsYb none swap sw 0 0 336/dev/adXsYb none swap sw 0 0
337/dev/adXsYa / ufs rw 1 1 337/dev/adXsYa / ufs rw 1 1
338/dev/adXsYe /usr/home ufs rw 2 2 338/dev/adXsYe /usr/home ufs rw 2 2
339/dev/adXsYd /tmp ufs rw 2 2 339/dev/adXsYd /tmp ufs rw 2 2

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20