View previous topic :: View next topic |
Author |
Message |
Korr.ban Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/47957877741b23736915ee.jpg)
Joined: 05 Jul 2004 Posts: 98 Location: Ex Inferis
|
Posted: Thu Jul 22, 2004 11:04 pm Post subject: What gentoo install to use... |
|
|
I have successfully configured my Gentoo box as all of that and more. However, It was my first gentoo install and so it is a stage3 tarball. I am wondering what the most BASIC gentoo install would be. Also, should I reinstall the gentoo system with this BASIC setup or "If it aint broke don`t fix it"
My goal is to have a very clean system working as a firewall/router/proxy/DNS/DHCP/File server
I dont need alot of the tools that my current gentoo has installed. I just want enough tools to be installed for me to be able to emerge those things that I mentioned above.
I am thinking "Stage1 tarball"...however my router is a 233mhz P1-mmx LOL... 4days to compile?? Not that I mind... any suggestions/recommendations? _________________ Registered Linux User #375052
DevShell - Viva La Revolusion!
Last edited by Korr.ban on Fri Jul 23, 2004 1:31 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RedDawn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/88458716741351efb6fe7f.gif)
Joined: 22 Sep 2003 Posts: 368 Location: Los Angeles, California
|
Posted: Thu Jul 22, 2004 11:14 pm Post subject: Re: What gentoo install to use... |
|
|
Korr.ban wrote: | I have successfully configured my Gentoo box as all of that and more. However, It was my first gentoo install and so it is a stage3 tarball. I am wondering what the most BASIC gentoo install be. Also, should I reinstall the gentoo system with this BASIC setup or "If it aint broke don`t fix it"
My goal is to have a very clean system working as a firewall/router/proxy/DNS/DHCP/File server
I dont need alot of the tools that my current gentoo has installed. I just want enough tools to be installed for me to be able to emerge those things that I mentioned above.
I am thinking "Stage1 tarball"...however my router is a 233mhz P1-mmx LOL... 4days to compile?? Not that I mind... any suggestions/recommendations? |
Hey me again!
Well what you can do is a HD swap.. ( ) what that is. is basically you take out the hd of the computer your going to install gentoo on and put in the Fastets computer you have.. (thus) compiling gentoo for the other computer on the faster one... all you have to do is set the cflags to either something compatible for another system..
i did it once and i thinkg the cflags for that system were..
Code: |
CFLAGS="-Os -mcpu=i686 -pipe -fomit-frame-pointer"
|
and it work.. i moved that system from a p3 for a p4 and finally a AMD and no problems whathoever...
well i hope i helped and ill post those configuration files in a while..
take care! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gherald2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/60733416411f47c49bb28.jpg)
Joined: 02 Jul 2003 Posts: 326 Location: Madison, WI USA
|
Posted: Thu Jul 22, 2004 11:19 pm Post subject: Re: What gentoo install to use... |
|
|
If it aint broke don't fix it.
Korr.ban wrote: | I am thinking "Stage1 tarball"...however my router is a 233mhz P1-mmx LOL... 4days to compile?? Not that I mind... any suggestions/recommendations? |
Yes, stage1 on such a slow machine is pointless unless you are a gcc optimization guru and have your cflags tweaked to perfection. Just do a stage3, the defaults are good enough. _________________ Unregistered Linux User #17598363 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Korr.ban Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/47957877741b23736915ee.jpg)
Joined: 05 Jul 2004 Posts: 98 Location: Ex Inferis
|
Posted: Thu Jul 22, 2004 11:25 pm Post subject: Re: What gentoo install to use... |
|
|
[quote="RedDawn"] Korr.ban wrote: | I have successfully configured my Gentoo box as all of that and more. However, It was my first gentoo install and so it is a stage3 tarball. I am wondering what the most BASIC gentoo install be. Also, should I reinstall the gentoo system with this BASIC setup or "If it aint broke don`t fix it"
|
LOL I was thinking of doing just that. I have an old 6gig HD connected to my amd 1.2gighz with 500mb ram. Funny thing is that I was doing something very similar at work with an old computer who`s IDE CD-rom wouldnt read the gentoo-bootdisk
I guess I will wait a bit until I buy a power supply for a case I have then try it out on that computer with a stage1 tarball then make a stage4 with it and put it on the router... _________________ Registered Linux User #375052
DevShell - Viva La Revolusion! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RedDawn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/88458716741351efb6fe7f.gif)
Joined: 22 Sep 2003 Posts: 368 Location: Los Angeles, California
|
Posted: Thu Jul 22, 2004 11:37 pm Post subject: Re: What gentoo install to use... |
|
|
[quote="Korr.ban"] RedDawn wrote: | Korr.ban wrote: | I have successfully configured my Gentoo box as all of that and more. However, It was my first gentoo install and so it is a stage3 tarball. I am wondering what the most BASIC gentoo install be. Also, should I reinstall the gentoo system with this BASIC setup or "If it aint broke don`t fix it"
|
LOL I was thinking of doing just that. I have an old 6gig HD connected to my amd 1.2gighz with 500mb ram. Funny thing is that I was doing something very similar at work with an old computer who`s IDE CD-rom wouldnt read the gentoo-bootdisk
I guess I will wait a bit until I buy a power supply for a case I have then try it out on that computer with a stage1 tarball then make a stage4 with it and put it on the router... |
Good thinking that also works.. Stage4 thats my backup system.. ![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gherald2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/60733416411f47c49bb28.jpg)
Joined: 02 Jul 2003 Posts: 326 Location: Madison, WI USA
|
Posted: Fri Jul 23, 2004 12:07 am Post subject: |
|
|
My god, building a system from stage1 with generic cflags on a surrogate machine when you could just use a better optimized stage3 to begin with?
If wasting a lot of time and ending up with an unoptimized system are your goals.... I think you picked the wrong distro, folks. _________________ Unregistered Linux User #17598363
Last edited by Gherald2 on Fri Jul 23, 2004 12:11 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Korr.ban Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/47957877741b23736915ee.jpg)
Joined: 05 Jul 2004 Posts: 98 Location: Ex Inferis
|
Posted: Fri Jul 23, 2004 12:10 am Post subject: |
|
|
Gherald wrote: | My god, building a system from stage1 with generic cflags on a surrogate machine when you could just use a more-than-reasonably optimized stage3 to begin with?
If wasting a lot of time and ending up with an unoptimized system are your goals.... I think you picked the wrong distribution, folks. |
LOL always with the negative ways...
Ill just have to get my proxy server to work as a temp router while my 233 builds a stage1... no worries...
Ill still have to make a stage4 cd though for when the HD dies on the router/DNS server...
Also...as for this optimized stage3... where are some instructions to optimize... _________________ Registered Linux User #375052
DevShell - Viva La Revolusion! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gherald2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/60733416411f47c49bb28.jpg)
Joined: 02 Jul 2003 Posts: 326 Location: Madison, WI USA
|
Posted: Fri Jul 23, 2004 12:14 am Post subject: |
|
|
stage4... I guess a backup never hurts, but starting from stage1 is madness.
What cflags are you going to be using, anyway? _________________ Unregistered Linux User #17598363 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Korr.ban Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/47957877741b23736915ee.jpg)
Joined: 05 Jul 2004 Posts: 98 Location: Ex Inferis
|
Posted: Fri Jul 23, 2004 12:51 am Post subject: |
|
|
Quote: |
What cflags are you going to be using, anyway? |
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=pentium-mmx -O3 -pipe"
USE="-gtk -gnome qt kde alsa cdr"
Although - this server will be console only and function as firewall/router/DNS/DHCP server... Any suggestions would be appreciated. _________________ Registered Linux User #375052
DevShell - Viva La Revolusion! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gherald2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/60733416411f47c49bb28.jpg)
Joined: 02 Jul 2003 Posts: 326 Location: Madison, WI USA
|
Posted: Fri Jul 23, 2004 12:57 am Post subject: |
|
|
Console only and yet you do not have -kde and -qt in your use flags? Have fun injecting packages.
And you're not even doing a -march=pentium-mmx..... what a sad waste of compilation time.
Do yourself a favor, stage3 and be done with it. _________________ Unregistered Linux User #17598363 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Korr.ban Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/47957877741b23736915ee.jpg)
Joined: 05 Jul 2004 Posts: 98 Location: Ex Inferis
|
Posted: Fri Jul 23, 2004 1:03 am Post subject: |
|
|
Gherald wrote: | Console only and yet you do not have -kde and -qt in your use flags? Have fun injecting packages.
And you're not even doing a -march=pentium-mmx..... what a sad waste of compilation time.
Do yourself a favor, stage3 and be done with it. |
Why not make a suggestion... tell me what you recommend rather than use sarcasm... please?
Quote: | Console only and yet you do not have -kde and -qt in your use flags? Have fun injecting packages. |
USE="-gtk -gnome qt kde alsa cdr"
isnt that what I have...? _________________ Registered Linux User #375052
DevShell - Viva La Revolusion! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gherald2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/60733416411f47c49bb28.jpg)
Joined: 02 Jul 2003 Posts: 326 Location: Madison, WI USA
|
Posted: Fri Jul 23, 2004 1:10 am Post subject: |
|
|
Well, I told you what I recommend. But if you're one of those people who learns by repetition:
You have "qt" and "kde" in your use flags, yes. You want "-qt" and "-kde" and probably "-X" as well.
Use stage3. _________________ Unregistered Linux User #17598363 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Korr.ban Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/47957877741b23736915ee.jpg)
Joined: 05 Jul 2004 Posts: 98 Location: Ex Inferis
|
Posted: Fri Jul 23, 2004 1:28 am Post subject: |
|
|
Here is what it looks like now... any suggestions for what you would change would be appreciated.
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium-mmx -O3 -pipe"
USE="-gtk -gnome -X -qt -kde alsa cdr" _________________ Registered Linux User #375052
DevShell - Viva La Revolusion! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gherald2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/60733416411f47c49bb28.jpg)
Joined: 02 Jul 2003 Posts: 326 Location: Madison, WI USA
|
Posted: Fri Jul 23, 2004 1:43 am Post subject: |
|
|
That's fine. I personally use -O2 instead of -O3, but that's a judgement call. _________________ Unregistered Linux User #17598363 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Korr.ban Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/47957877741b23736915ee.jpg)
Joined: 05 Jul 2004 Posts: 98 Location: Ex Inferis
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RedDawn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/88458716741351efb6fe7f.gif)
Joined: 22 Sep 2003 Posts: 368 Location: Los Angeles, California
|
Posted: Fri Jul 23, 2004 2:04 am Post subject: |
|
|
Korr.ban wrote: | Gherald wrote: | That's fine. I personally use -O2 instead of -O3, but that's a judgement call. |
Whats the dif between O2 and O3 ? |
O2 is like a mid Optimization O3 does full optimization and the expence of Binarys being huge..
I personally use -Os i has never given me a problem... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Korr.ban Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/47957877741b23736915ee.jpg)
Joined: 05 Jul 2004 Posts: 98 Location: Ex Inferis
|
Posted: Fri Jul 23, 2004 2:19 am Post subject: |
|
|
I will use O2 then... it sounds like its a middle of the road setting with O3 being the most extreme...although what do you mean by expence of Binarys being huge... _________________ Registered Linux User #375052
DevShell - Viva La Revolusion! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RedDawn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/88458716741351efb6fe7f.gif)
Joined: 22 Sep 2003 Posts: 368 Location: Los Angeles, California
|
Posted: Fri Jul 23, 2004 2:29 am Post subject: |
|
|
Korr.ban wrote: | I will use O2 then... it sounds like its a middle of the road setting with O3 being the most extreme...although what do you mean by expence of Binarys being huge... |
like the END result you the compile package is big because of all those optimization.. or so i 've heard... search the forums for -O2 vs. -03 or cflags |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Korr.ban Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/47957877741b23736915ee.jpg)
Joined: 05 Jul 2004 Posts: 98 Location: Ex Inferis
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobspangle Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/210249061640b0c1d626f5b.gif)
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Fri Jul 23, 2004 7:12 am Post subject: |
|
|
I've never compiled a system on a straight pentium, but isn't that an i586 so it would need a chost of i586-pc-linux-gnu i686 is for pentium pro up, the pentium mmx is the one before the pro.
Also to save you some time you might want to add -java to your USE and while your at it get rid of alsa |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
HydroSan l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/150658804743834a6b853c9.jpg)
Joined: 04 Mar 2004 Posts: 764 Location: The Kremlin (aka Canada)
|
Posted: Fri Jul 23, 2004 7:39 am Post subject: Re: What gentoo install to use... |
|
|
Gherald wrote: | If it aint broke don't fix it.
Korr.ban wrote: | I am thinking "Stage1 tarball"...however my router is a 233mhz P1-mmx LOL... 4days to compile?? Not that I mind... any suggestions/recommendations? |
Yes, stage1 on such a slow machine is pointless unless you are a gcc optimization guru and have your cflags tweaked to perfection. Just do a stage3, the defaults are good enough. |
Yes, but Stage3 is old, and you end up having to recompile everything with emerge -u world anyhow. _________________ I was a Gangster for Capitalism, by Major General Smedley Butler.
Server status: Currently down, being replaced with fresh install - 20% completed. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gherald2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/60733416411f47c49bb28.jpg)
Joined: 02 Jul 2003 Posts: 326 Location: Madison, WI USA
|
Posted: Fri Jul 23, 2004 7:47 am Post subject: |
|
|
Not everything, and you certainly don't have to bootstrap, which is unecessary and error prone. _________________ Unregistered Linux User #17598363 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|