Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4187 - docs on building stages2 and 3
Summary: docs on building stages2 and 3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Kevyn Shortell (RETIRED)
URL: http://unimarix-zero.borg-uv.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-26 05:02 UTC by Ulf Bartelt (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

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.
Description Ulf Bartelt (RETIRED) gentoo-dev 2002-06-26 05:02:05 UTC
i want t build stages2 and 3 for "old" cpus exactly like the oficcial ones and
cannot find docs on that.
Comment 1 Kevyn Shortell (RETIRED) gentoo-dev 2002-06-28 04:14:22 UTC
*** This is a beta version of the doc. It might have a few glitches. ***

The way the PPC crew did it was:

In order to have a working stage3 you need all the parts mentioned in:
http://gentoo.org/doc/build.html#doc_chap12

The easiest way so far is to simply boot off the install CD, follow the install
processes specific for your arch, using cflags specific to your cpu and system.

Be sure to be in a chroot when trying to create a stage3.

During that install process you will run the command 'emerge system'
which builds the contents of these dirs:

/bin   /dev  /lib  /opt  /root  /tmp  /var
/boot  /etc  /home /mnt  /proc  /sbin /usr

You will need to rm -rf /usr/portage/distfiles/*
in order to make the stage3 small enough to be downloadable

From the / level of the HD tar and gzip the above mentioned dirs.
Move file off box. This is your new stage 3.

Enjoy
Comment 2 Owen Stampflee (RETIRED) gentoo-dev 2002-06-29 02:22:03 UTC
As some other docs say, ensure that you pass the "p" flag to tar so it will 
leave the permissions as they are meant to be. Other wise, your stage2/3 will 
be a mess of files with incorrect permissions and owners.
Comment 3 Ulf Bartelt (RETIRED) gentoo-dev 2002-06-29 06:19:30 UTC
to comment #1:

i miss a mention of stage2, a mention of xfsprogs, syslog, dcron, gentoo-sources
and hints on how to clean up that tarball(s).

to comment #2:

tar's -p option is effective on unrolling the tar.  read the man page for hints
in an english better than mine... ;-)

generally:

some hrs ago the new stage tarballs of 1.3b were released.  why are we guessing
arround instead of getting an answer from the one who has built them?
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-29 08:38:26 UTC
Bart, perhaps you can provide these fine gentlemen some details?
Comment 5 Bart Verwilst 2002-06-29 11:18:05 UTC
"for old cpu's"? what are old cpu's? 1.3b has i486 tarballs, do you want i386 as well? I could provide that.. 
Comment 6 Ulf Bartelt (RETIRED) gentoo-dev 2002-06-29 13:10:40 UTC
to comment #5:

i want to be able to build the stages myself and before modifying things i want
to set up and test my build process with the goal to build them exactly like the
official ones.

and i extend my question on stage1: does the text in the root of stage1 still
apply to current ones?  i'm unsure because it still speaks of build-* instead of
stage1 and the version numbers mentioned are like 1.0*...


P.S.: i really do not want to hurt or offend anyone... if something reads like
this, please remember german being my native tounge, not english...
Comment 7 John Davis (zhen) (RETIRED) gentoo-dev 2002-10-02 18:08:25 UTC
This is not for us documentation guys. This sounds like a packaging issue. 
Changed the header so it does not show up for us.

//ZhEN
Comment 8 Mark Guertin 2002-10-02 22:59:28 UTC
This is old and can likely be killed, since Ulf built the rc1 builds ;)   
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2002-12-16 23:24:23 UTC
closing