Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108778 - Wrong link to stage tarball in documentation
Summary: Wrong link to stage tarball in documentation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo/BSD Team
URL: http://www.gentoo.org/doc/en/gentoo-f...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-10 15:39 UTC by Simon Holm Thøgersen
Modified: 2006-04-12 10:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Simon Holm Thøgersen 2005-10-10 15:46:03 UTC
Also, you should really reorder code listing 2.2 to
# cd /mnt/gfbsd/
# wget
http://gentoo.osuosl.org/experimental/x86/freebsd/stages/stage3-x86-fbsd-20051005.tar.bz2
# tar -jxvpf stage3-x86-fbsd-20051005.tar.bz2

There's no reason to download the stage to a ram drive that might not be big
enough and copy it to another location, when it could be downloaded to the right
location in the first place.
Comment 2 Simon Holm Thøgersen 2005-10-10 17:00:57 UTC
And to finish code listing 2.2 off, there's no reason to make a root/ dir, since
it's in the tarball.

Moving on to code listing 2.3, it should be /mnt/gfbsd/usr/local/portage since
we're not it the chroot env yet, as the doc also states above (where it by the
way should be "which you th[e]n extract to [/mnt/gfbsd]/usr/local/portage"). The
directory doesn't exist however, so 
# mkdir /mnt/gfbsd/usr/local/portage
is needed.

I also wonder why /mnt/gfbsd is used instead of /mnt/gentoo, the dir is made on
a ram disk anyway, and the latter makes the install closer to the normal procedure.

Code listing 2.4:
There is missing the step
# cp /etc/resolv.conf /mnt/gfbsd/etc/
to make any resolving in the chroot work.

Code listing 2.5:
Setting CHOST in /etc/make.conf should not be necessary, as it is set in the
profile.
The /etc/make.conf from the lastest tarball (as of writing this) sets
PORTDIR="/var/portage/cvs/gentoo-x86" which works, but differs from the normal
location of /usr/portage. No reason for that. Deleting the line in
/etc/make.conf sets PORTDIR to /usr/portage/ as it's in the profile.

As alternative to code listing 2.6, the following could be used
# cd /
# wget http://gentoo.osuosl.org/snapshots/portage-latest.tar.bz2
# tar xjf portage-latest.tar.bz2 -C /usr/
Comment 3 Michael Kohl (RETIRED) gentoo-dev 2005-10-11 05:43:43 UTC
Thanks for all that feedback Simon!

After talking to Flameeyes on #gentoo-bsd, nearly all your changes have foun
their way into the new doc, the only exception being CHOST, which Diego
recommends to put into /etc/make.conf for completeness' sake.