rane 05/10/11 14:03:40 Modified: xml/htdocs/doc/en gentoo-freebsd.xml Log: update from #108859
Revision Changes Path 1.8 +28 -22 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.8&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.8&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.7&r2=1.8&cvsroot=gentoo Index: gentoo-freebsd.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- gentoo-freebsd.xml 6 Oct 2005 15:58:16 -0000 1.7 +++ gentoo-freebsd.xml 11 Oct 2005 14:03:40 -0000 1.8 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.7 2005/10/06 15:58:16 jkt Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.8 2005/10/11 14:03:40 rane Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/gentoo-freebsd.xml"> @@ -12,7 +12,7 @@ <mail link="[EMAIL PROTECTED]">Michael Kohl</mail> </author> <author title="Author"> - Otavio R. Piske + <mail link="[EMAIL PROTECTED]">Otavio R. Piske</mail> </author> <author title="Author"> <mail link="[EMAIL PROTECTED]">Aaron Walker</mail> @@ -28,8 +28,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.5</version> -<date>2005-10-06</date> +<version>1.6</version> +<date>2005-10-10</date> <chapter> <title>Introduction to FreeBSD</title> @@ -153,9 +153,9 @@ </p> <pre caption="Creating a mount point and mounting partitions"> -# <i>mkdir /mnt/gfbsd</i> +# <i>mkdir /mnt/gentoo</i> <comment>(Replace X with the correct numbers for your hard disk.)</comment> -# <i>mount /dev/adXsXa /mnt/gfbsd</i> +# <i>mount /dev/adXsXa /mnt/gentoo</i> </pre> <p> @@ -164,33 +164,33 @@ </p> <pre caption="Obtaining and unpacking a stage3 tarball"> +# <i>cd /mnt/gentoo/</i> <comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment> -# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stage3-x86-fbsd-20051005.tar.bz2</i> -# <i>cp stage3-x86-fbsd-20051005.tar.bz2 /mnt/gfbsd/</i> -# <i>cd /mnt/gfbsd/</i> +# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/stage3-x86-fbsd-20051005.tar.bz2</i> # <i>tar -jxvpf stage3-x86-fbsd-20051005.tar.bz2</i> +<comment>(A wrong make.conf was packaged with the current stage3 tarball. We'll now remove it.)</comment> +# <i>rm -f /mnt/gentoo/etc/make.conf</i> <comment>(You can delete the tarball with the following command if you want to.)</comment> # <i>rm stage3-x86-fbsd-20051005.tar.bz2</i> -<comment>(Create a home directory for root.)</comment> -# <i>mkdir /mnt/gfbsd/root</i> </pre> <p> Before chrooting into the newly-extracted stage, you first must obtain an up-to-date copy of the Gentoo/FreeBSD overlay. The easiest way to achieve this is to to get our latest -snapshot which you than extract to <path>/usr/local/portage</path>. +snapshot which you than extract to <path>/mnt/gentoo/usr/local/portage</path> </p> -<pre caption="Getting the Gentoo/FreeBSD portage overlay"> -# <i>cd /usr/local/portage</i> +<pre caption="Getting the Gentoo/FreeBSD Portage overlay"> +# <i>mkdir /mnt/gentoo/usr/local/portage</i> +# <i>cd /mnt/gentoo/usr/local/portage</i> # <i>wget http://gentoo.osuosl.org/experimental/snapshots/portage-alt-overlay-latest.tar.bz2</i> # <i>tar -xjf portage-alt-overlay-latest.tar.bz2</i> </pre> <p> -Alternatively, you can also use Subversion to check out the current version of the overlay. -If you are interested in this possibility, please refer to the <uri -link="http://www.gentoo.org/proj/en/gentoo-alt/overlay.xml">Gentoo/ALT overlay +Alternatively, you can also use Subversion to check out the current version of +the overlay. If you are interested in this possibility, please refer to the +<uri link="/proj/en/gentoo-alt/overlay.xml">Gentoo/ALT overlay documentation</uri>. </p> @@ -201,8 +201,9 @@ </p> <pre caption="Mounting the /dev filesystem and chrooting"> -# <i>mount -t devfs none /mnt/gfbsd/dev/</i> -# <i>chroot /mnt/gfbsd/ /bin/bash</i> +# <i>mount -t devfs none /mnt/gentoo/dev/</i> +# <i>cp /etc/resolv.conf /mnt/gentoo/etc</i> +# <i>chroot /mnt/gentoo/ /bin/bash</i> # <i>source /etc/profile</i> </pre> @@ -228,8 +229,13 @@ on your connection might take quite a while. </p> -<pre caption="Obtaining the portage tree"> +<pre caption="Obtaining the Portage tree"> # <i>emerge --sync</i> +<comment>(It's also possible to retrieve the Portage tree in another way:)</comment> +# <i>cd /</i> +# <i>wget http://gentoo.osuosl.org/snapshots/portage-latest.tar.bz2</i> +# <i>tar -xjf portage-latest.tar.bz2 -C /usr/</i> +# <i>emerge --metadata</i> </pre> <p> @@ -254,8 +260,8 @@ <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>fdisk -b -B /mnt/gentoo/boot/boot0 /dev/adX</i> +# <i>chroot /mnt/gentoo /bin/bash</i> # <i>disklabel -B adXsY</i> </pre> -- [email protected] mailing list
