Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Advantages to Stage1?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pyro120
n00b
n00b


Joined: 21 Feb 2005
Posts: 14

PostPosted: Tue Apr 05, 2005 2:26 am    Post subject: Advantages to Stage1? Reply with quote

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
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Tue Apr 05, 2005 2:53 am    Post subject: Reply with quote

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
View user's profile Send private message
/dev/random
l33t
l33t


Joined: 26 Nov 2004
Posts: 704
Location: Austin, Texas, USA

PostPosted: Tue Apr 05, 2005 3:00 am    Post subject: Reply with quote

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
View user's profile Send private message
VValdo
Guru
Guru


Joined: 08 Jan 2005
Posts: 395

PostPosted: Tue Apr 05, 2005 8:07 am    Post subject: Reply with quote

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
View user's profile Send private message
taurus
l33t
l33t


Joined: 21 Sep 2004
Posts: 657
Location: I need to be somewhere...

PostPosted: Tue Apr 05, 2005 12:13 pm    Post subject: Reply with quote

Me too. Always start from Stage 1 whether it's my Pentium 4 at home or AMD64 in my office!!! :lol:

taurus
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Tue Apr 05, 2005 12:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
pyro120
n00b
n00b


Joined: 21 Feb 2005
Posts: 14

PostPosted: Wed Apr 06, 2005 2:14 am    Post subject: Reply with quote

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
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Wed Apr 06, 2005 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Wed Apr 06, 2005 1:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum