fox2mike    05/09/09 11:09:07

  Modified:    xml/htdocs/doc/en gentoo-freebsd.xml
  Log:
  #104812 - Updates to the Gentoo/FBSD guide, thanks to citizen428.

Revision  Changes    Path
1.2       +44 -11    xml/htdocs/doc/en/gentoo-freebsd.xml

file : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-freebsd.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-freebsd.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo
diff : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-freebsd.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo

Index: gentoo-freebsd.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gentoo-freebsd.xml  31 Aug 2005 14:19:33 -0000      1.1
+++ gentoo-freebsd.xml  9 Sep 2005 11:09:07 -0000       1.2
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.1 
2005/08/31 14:19:33 neysx Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.2 
2005/09/09 11:09:07 fox2mike Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/gentoo-freebsd.xml">
@@ -28,8 +28,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>1.0</version>
-<date>2005-08-31</date>
+<version>1.1</version>
+<date>2005-09-09</date>
 
 <chapter>
 <title>Introduction to FreeBSD</title>
@@ -228,14 +228,14 @@
 </p>
 
 <pre caption="Final configuration">
-<comment>(Prevent crt1.o from getting removed by emerging gcc.)</comment>
+<comment>(Prevent crt1.o from getting removed by emerging gcc)</comment>
 # <i>chflags schg /usr/lib/crt1.o</i>
-<comment>(Emerge binary packages for binutils and patch provided by the stage3 
tarball.)</comment>
+<comment>(Emerge binary packages for binutils and patch provided by the stage3 
tarball)</comment>
 # <i>emerge -K binutils patch</i>
-<comment>(Select the correct gcc.)</comment>
+<comment>(Select the correct gcc)</comment>
 # <i>gcc-config 1</i>
-<comment>(Re-emerging python, portage and py-freebsd.)</comment>
-# <i>emerge python portage py-freebsd</i>
+<comment>(Re-emerging python, portage and py-freebsd)</comment>
+# <i>emerge --nodeps  python portage py-freebsd</i>
 </pre>
 
 <p>
@@ -250,11 +250,44 @@
 
 <impo>
 Please make absolutely sure you add your new Gentoo/FreeBSD installation to the
-configuration of the bootloader, otherwise you won't be able to boot your newly
-installed system! If you have no bootloader installed, you should run <c>emerge
-boot0</c>.
+configuration of your bootloader, otherwise you won't be able to boot your 
newly
+installed system! If you don't have another bootloader installed, you should 
use 
+<c>boot0</c>, as it is currently the only one supported by FreeBSD.
 </impo>
 
+<pre caption="Installing and setting up boot0">
+# <i>emerge boot0</i>
+<comment>(Leave the chroot environment)</comment>
+# <i>exit</i>
+<comment>(Issued from outside the chroot)</comment>
+# <i>fdisk -b -B /mnt/gfbsd/boot/boot0 /dev/adX</i>
+# <i>chroot /mnt/gfbsd /bin/bash</i>
+# <i>disklabel -B adXsY</i>
+</pre>
+
+<p>
+If you need additonal information on setting up <c>boot0</c>, please consult 
+<uri 
link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html";>
+chapter 12</uri> of the FreeBSD handbook.
+</p>
+
+<p>
+When you did <c>emerge system</c>, the sources for the FreeBSD kernel got 
+installed to <path>/usr/src/sys</path>. Configuring and compiling a custom
+kernel is really different from compiling Linux, so if you are not familiar 
with
+the process we encourage you to have a look at <uri
+link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html";>
+chapter 8</uri> of the FreeBSD handbook. 
+</p>
+
+<p>
+Please note that currently only the "Traditional" way of building the kernel 
is 
+supported on Gentoo/FreeBSD! Also note that <c>make install</c> will probably
+ask you for a <path>/boot/device.hints</path> file. A default version can be
+found in the <path>conf</path> subdirectory of the <c>GENERIC</c> configuration
+and is called <path>GENERIC.hints</path>
+</p>
+
 </body>
 </section>
 </chapter>



-- 
[email protected] mailing list

Reply via email to