Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

What is a Stage? (Completed)

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
frozenJim
Guru
Guru
User avatar
Posts: 341
Joined: Fri Jun 18, 2004 6:41 pm
Location: Montreal, Quebec, Canada

What is a Stage? (Completed)

  • Quote

Post by frozenJim » Fri Jun 18, 2004 6:48 pm

OK, so I'm at the point where I am downloading my stage(s). For pentium4 however, there are only stage2 and stage3 available on the mirror sites. (actually I'm very proud to be this far along in my installation)

I was assuming that I would be installing three stages, all in order.

Now, since there IS no stage1, I realize that I need to reconsider :-)

:oops: So, WHAT is a stage, WHERE is stage1 and WHY am I installing stages in the first place? Do I install stages 2 and 3? Or do I CHOOSE between stage2 and stage3?

Thank you, I'm sure I'll catch on. It's FUN to be a noob again.

frozenJim
Last edited by frozenJim on Sun Jun 20, 2004 12:54 pm, edited 1 time in total.
Top
rmalolepszy
Apprentice
Apprentice
Posts: 167
Joined: Thu Jan 01, 2004 8:58 pm

  • Quote

Post by rmalolepszy » Fri Jun 18, 2004 6:57 pm

From the Gentoo installation documentation -
http://www.gentoo.org/doc/en/handbook/h ... art1_chap2
The Three Stages

Gentoo Linux can be installed using one of three stage tarball files. The one you choose depends on how much of the system you want to compile yourself. The stage1 tarball is used when you want to bootstrap and build the entire system from scratch. The stage2 tarball is used for building the entire system from a bootstrapped "semi-compiled" state. The stage3 tarball already contains a basic Gentoo Linux system that has been built for you. As we will explain later, you can also install Gentoo without compiling anything (except your kernel and some optional packages). If you want this, you have to use a stage3 tarball.

Now what stage do you have to choose?

Starting from a stage1 allows you to have total control over the optimization settings and optional build-time functionality that is initially enabled on your system. This makes stage1 installs good for power users who know what they are doing. It is also a great installation method for those who would like to know more about the inner workings of Gentoo Linux.

A stage1 installation can only be performed when you have a working Internet connection.
Stage1 Pros and Cons
+ Allows you to have total control over the optimization settings and optional build-time functionality that is initially enabled on your system
+ Suitable for powerusers that know what they are doing
+ Allows you to learn more about the inner workings of Gentoo
- Takes a long time to finish the installation
- If you don't intend to tweak the settings, it is probably a waste of time
- Not suitable for networkless installations

Stage2 installs allow you to skip the bootstrap process and doing this is fine if you are happy with the optimization settings that we chose for your particular stage2 tarball.

A stage2 installation can only be performed when you have a working Internet connection.
Stage2 Pros and Cons
+ You don't need to bootstrap
+ Faster than starting with stage1
+ You can still tweak your settings
- You cannot tweak as much as with a stage1
- It's not the fastest way to install Gentoo
- You have to accept the optimizations we chose for the bootstrap
- Not suitable for networkless installations

Choosing to go with a stage3 allows for the fastest install of Gentoo Linux, but also means that your base system will have the optimization settings that we chose for you (which to be honest, are good settings and were carefully chosen to enhance performance while maintaining stability). stage3 is also required if you want to install Gentoo using prebuilt packages or without a network connection.
Stage3 Pros and Cons
+ Fastest way to get a Gentoo base system
+ Suitable for networkless installations
- You cannot tweak the base system - it's built already
- You cannot brag about having used stage1 or stage2

You might be interested to know that, if you decide to use different optimization settings after having installed Gentoo, you will be able to recompile your entire system with the new optimization settings.
Last edited by rmalolepszy on Fri Jun 18, 2004 6:58 pm, edited 1 time in total.
Cheers,
Ryan
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56100
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Jun 18, 2004 6:58 pm

frozenJim,

Stage 1 proveides you a binary of the toolchain and the sources for the toolchain. You use the precompiled toolchain to build another one optimised to your taste. This is compiling the comppiler etc.

Stage 2 gets you the portage tree and you compile all the things you need for a basic commad line system except a kernel, boot loader and logger. If the tool chain has been updated since the stage 1 tart file was created, you find out about it here and compile it again, useing the compiler you compiled in stage 1

Stage 3 Adds the kernel, boot loader, logger and some system set up odds and ends. This gets you box that can boot without outside help but not much else.

Next you install all the applications you feel you need.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
frozenJim
Guru
Guru
User avatar
Posts: 341
Joined: Fri Jun 18, 2004 6:41 pm
Location: Montreal, Quebec, Canada

AHA!

  • Quote

Post by frozenJim » Fri Jun 18, 2004 7:00 pm

Whoops, I found the answer myself. I guess there must be no stage1 for a P4(?).

Unless I'm completely wrong, I CHOOSE a stage and carry on from there. So, I pick stage2!

Momma.. don't TRY to stop me, I'm on a roll here!!
Top
Pink
Veteran
Veteran
User avatar
Posts: 1062
Joined: Thu Jul 24, 2003 11:52 am

  • Quote

Post by Pink » Fri Jun 18, 2004 7:17 pm

The stage 1 is in the universal folder. There are no specific to cpu stage 1 files as that is the whole point of a stage 1; having everything compiled to your system. A stage 2 or 3 already has some pre-compiled files on it - thus the specific cpu stage 2 and 3 files.
Top
scalded
n00b
n00b
User avatar
Posts: 68
Joined: Thu May 13, 2004 5:04 am
Location: US

  • Quote

Post by scalded » Fri Jun 18, 2004 7:18 pm

there is no stage 1 for a pentium 4 because you compile the bootstrapping packages yourself (look in the x86 folder). If you follow the installation guide from stage 1 and set the right settings in your make.conf, you will have binaries that are similar or possibly even more optimized for your system than the stage 2 file, or you might've just wasted an hour for nothing. :P

I don't think you should do a stage 1 at this point unless you really want to waste some time and have tweaks to apply (like nptl with a 2.6 kernel). The first time i installed gentoo, I did a stage 2, and it helped to keep my attention span long enough for me to give this stuff a chance.
"...In the year 2005, mankind will face times of great suffering and oppression..." - Vote Arnold 2006, if you want to live.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56100
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Jun 18, 2004 7:25 pm

scalded,

Stage 1 in an hour - thats impressive. My first stage 1 ran overnight out in the garage.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
scalded
n00b
n00b
User avatar
Posts: 68
Joined: Thu May 13, 2004 5:04 am
Location: US

  • Quote

Post by scalded » Fri Jun 18, 2004 7:33 pm

It could've been longer than an hour, but compiling kde immediately afterwards distorts any concept of time.
"...In the year 2005, mankind will face times of great suffering and oppression..." - Vote Arnold 2006, if you want to live.
Top
frozenJim
Guru
Guru
User avatar
Posts: 341
Joined: Fri Jun 18, 2004 6:41 pm
Location: Montreal, Quebec, Canada

(complete) What is a stage?

  • Quote

Post by frozenJim » Sun Jun 20, 2004 12:52 pm

Thank you all. I fell much better educated. It's a day later and I'm all installed.

NeddySeagoon knows all about it; he's EVERYWHERE 8O ! Thanks for all the help NeddySeagoon. I have no idea how you can answer so MANY questions. Don't you sleep?

frozenJim
Who controls the past, controls the future. Who controls the present, controls the past.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic