View previous topic :: View next topic |
Author |
Message |
pyro120 n00b
Joined: 21 Feb 2005 Posts: 14
|
Posted: Tue Apr 05, 2005 2:26 am Post subject: Advantages to Stage1? |
|
|
I have installed a gentoo system for my friend and am looking to do one myself, I just picked up a new hard drive for it and was looking through the installation manual. My question is: for an installation will I will do little more then surfing the web, chatting, and listening to music.. are there any advantages to using a stage1 installation where a bootstrap is required?
A.J. |
|
Back to top |
|
|
Frodg l33t
Joined: 11 Feb 2004 Posts: 761
|
Posted: Tue Apr 05, 2005 2:53 am Post subject: |
|
|
In reality there is little benefit in doing the stage 1...
Stage three is as good, any optimisations can be done after the installation. You will notice little if any improvement in doing the Stage1 (other than saying you have done it ) _________________ Aerosolo ergo sum - I spray therefore I am
Gentoo - Registered Linux User # 361400 |
|
Back to top |
|
|
/dev/random l33t
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Tue Apr 05, 2005 3:00 am Post subject: |
|
|
Well you wind up doing a stage1 anyway because all those packages provided by the stage3 tarball will be updated at some point. The real advantage is you get to tweak the tool chain with USE flags and the like. For example, with stage3 I don't think you can get glibc with nptl which among other things makes java based applications run a lot more smoothly.
I would suggest grabbing a stage3 tarball adding nptl to your USE flags and doing:
Code: |
emerge linux-headers glibc gcc binutils
emerge -e system
|
Rather than the progressing from stage1 to stage2 and progressing from stage2 to stage3 steps in the handbook because the stage1 tarball has some issues (there's a thread about it which hopefully someone else will post about). |
|
Back to top |
|
|
VValdo Guru
Joined: 08 Jan 2005 Posts: 395
|
Posted: Tue Apr 05, 2005 8:07 am Post subject: |
|
|
Frodg wrote: | In reality there is little benefit in doing the stage 1...
Stage three is as good, any optimisations can be done after the installation. You will notice little if any improvement in doing the Stage1 (other than saying you have done it ) |
I agree. It seems to be just a macho bragging thing.
That said, I did it
W |
|
Back to top |
|
|
taurus l33t
Joined: 21 Sep 2004 Posts: 657 Location: I need to be somewhere...
|
Posted: Tue Apr 05, 2005 12:13 pm Post subject: |
|
|
Me too. Always start from Stage 1 whether it's my Pentium 4 at home or AMD64 in my office!!!
taurus |
|
Back to top |
|
|
mattjgalloway l33t
Joined: 16 Mar 2004 Posts: 761 Location: Coventry, UK
|
Posted: Tue Apr 05, 2005 12:37 pm Post subject: |
|
|
Definately go for a Stage 1 on 3 install which is where you use a stage 3 tarball but rebuild the tool chain. Basically it's
untar stage3
untar portage
chroot
emerge linux-headers glibc binutils gcc
gcc-config [new_gcc_version]
emerge glibc binutils gcc portage
emerge -e system
After chrooting you can set your USE, CHOST, CFLAGS settings and you might also want to add ~x86 for gcc, gcc-config, libstdc++-v3 because then you get the latest gcc.
But check out this for more info:
https://forums.gentoo.org/viewtopic-t-314985.html _________________ AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard |
|
Back to top |
|
|
pyro120 n00b
Joined: 21 Feb 2005 Posts: 14
|
Posted: Wed Apr 06, 2005 2:14 am Post subject: |
|
|
Well I am not much for bragging rights so I think I will choose a Stage2. I dont need to be able to say I did stage1.... yet anyway.
A.J. |
|
Back to top |
|
|
racoontje Veteran
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Wed Apr 06, 2005 9:37 am Post subject: |
|
|
On AMD64 there is no reason to do stage1 over 3, unlike x86. AMD64 has gcc3.4 by default, plus you can bootstrap with nptl and nptlonly etc. |
|
Back to top |
|
|
mattjgalloway l33t
Joined: 16 Mar 2004 Posts: 761 Location: Coventry, UK
|
Posted: Wed Apr 06, 2005 1:04 pm Post subject: |
|
|
Having GCC 3.4 by default isn't why people do a stage 1 on 3...
To be honest I think it's a much more sensible install method anyway - it's much easier and I now have a script which does it all for me - I just edit slightly with which packages I want installed at the end. Usually takes around a day to complete. My first Gentoo install was a stage 1 which took about 3 days in total. Same hardware in both cases... _________________ AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard |
|
Back to top |
|
|
|