LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-13-2003, 12:37 PM   #1
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Rep: Reputation: 30
Gentoo Stage 2 time?


I know this is a lame question. I am building Gentoo (1.4) on an old machine (AMD k-6, i586). Which clocks at like 450 ( I think). How long do you think it will take to run 'emerge system'?

Just out of curiosity...I have heard as long as 23 hours?!?
 
Old 04-14-2003, 03:30 AM   #2
Shak
Member
 
Registered: May 2002
Location: Huddersfield
Distribution: Redhat (7.2, 7.3, 8.0), Debian, Slackware, Gentoo, FreeBSD
Posts: 169

Rep: Reputation: 30
It could be 23 hours, it could be longer, on my machine (dual 1.5GHz) it took me around 26hours to compile everything I need, the installer didnt have SMP at the time, so that would be a 1.5Ghz machine, I wouldnt be surprised if a stage 2 install took the best part of 3/4 days on your machine.

Shak
 
Old 04-14-2003, 01:24 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
also depends what you want to put on it. KDE3 will probably take an entire day by itself...
 
Old 04-14-2003, 03:50 PM   #4
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
Well, he's talking emerge system here, so that excludes X, KDE and so on. 23 hours sounds ok to me.
 
Old 04-14-2003, 06:40 PM   #5
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Dear lord....
Maybe over Easter...
 
Old 04-15-2003, 02:25 AM   #6
qulnxsh
Member
 
Registered: Mar 2003
Distribution: Debian Sid
Posts: 50

Rep: Reputation: 15
Hello,
I think nobody has asked you how much RAM you have, this is crucial in doing any task in Linux. If you have around 256 MB (DDRAM would be lovely) a lots of swap space, around 1 GB; you can emerge the base system in about 15 hours. I hope this is handful.

Bye
 
Old 04-15-2003, 02:51 AM   #7
Shak
Member
 
Registered: May 2002
Location: Huddersfield
Distribution: Redhat (7.2, 7.3, 8.0), Debian, Slackware, Gentoo, FreeBSD
Posts: 169

Rep: Reputation: 30
But having a K6-2 500 with 1GB of RAM wont make that much difference, the bit thats going to take a long time is the processor intensive compiling, and I dont think it will make that much difference!

Shak
 
Old 04-15-2003, 06:47 AM   #8
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Thanks all

BTW, my machine is shit 98Megs of RAM

Last edited by cclavey; 04-16-2003 at 08:40 AM.
 
Old 04-15-2003, 01:15 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well no, emerge system certainly doesn't include kde, if you haven't got it in your use flags....
 
Old 04-15-2003, 07:32 PM   #10
EvilTwinSkippy
Member
 
Registered: Mar 2003
Location: Philadelphia, PA
Distribution: RedHat, Gentoo
Posts: 51

Rep: Reputation: 15
Stage-3 baby... it's the way to go...

On some slow machines I'll cheat and create a chrooted psuedo environment on one of my beefy rackmounts at work, and then tarball the result.

Take any balsy linux box, using any modern distro and just run:

mkdir /opt/build/gentoo-i586
cd /opt/build/gentoo-i586
tar xfjs stage-1...tbz
mount -o bind /proc /opt/build/gentoo-i586/proc
cp /etc/resolve.conf /opt/build/gentoo-i586/etc/
chroot /opt/build/gentoo-i586

(Hack the make.conf to set the host type to the environment you
are building for)
(Follow the build instructions on the gentoo website, stop at the bootloader)

exit
umount /opt/build/gentoo-i586/proc
tar cfj * /opt/build/gentoo-mystage4.tbz

Than use the gentoo-mystage4.tbz instead of the normal stage(whatever) tarball.

I did this with my Cyrix-based 200Mhz laptop.

Of course, like a dumbass, I forgot to compile the kernel ahead of time (grr.) and I had to rebuild gnome (GRRR). But with this trick you can pre-build everything and the only steps remaining will be installing the boot-loader, setting the host name, and possibly configuring the network.

I'll be happy to share my pre-built pentium tarball, on request.
 
Old 04-15-2003, 07:43 PM   #11
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
But isn't the advantage of Gentoo that it is customized? Can stage 3 *be* customized?
 
Old 04-15-2003, 09:05 PM   #12
EvilTwinSkippy
Member
 
Registered: Mar 2003
Location: Philadelphia, PA
Distribution: RedHat, Gentoo
Posts: 51

Rep: Reputation: 15
Customizing Stage 3

Once you get the OS running, you can customize anything you want to.

This tradeoff is, how long do you intend to spend compiling it. Really aside from glibc and the kernel, okay, any mysql, any software for your machine is called up only rarely.

If you feel your system is a bit pokey, or you make a radical change to your USE flags, you always have the option of running:

emerge --emptytree world

To completely recompile your system from scratch. (While it's doing something otherwise usefull.) I cheat. I have a cluster of machines, so I'll hve one build a package with:

emerge -b foo

So that if I don't fell like sitting through another compile I can call

emerge -k foo

to unpack the binary from the last time I built it.

(I have make.conf set up to point the packages directory to an NFS volume that stores all the tarballs from my build server.)

If you are just building a single system, this ill probably be of no use to you though...
 
Old 04-16-2003, 08:44 AM   #13
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
For those of us who *don't* have access to rackmounts at our jobs....

Still, I think i will take a look at stage 3. Gentoo really looks interesting, it's just that I need that computer for class every day, so I don't have a lot of time, at least not for 36 more days....
 
Old 04-16-2003, 08:47 PM   #14
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Talking ok...Gentoo *3* stage time

About how long does stage 3 take, i586 etc etc...?

Thanks
 
Old 04-16-2003, 09:57 PM   #15
EvilTwinSkippy
Member
 
Registered: Mar 2003
Location: Philadelphia, PA
Distribution: RedHat, Gentoo
Posts: 51

Rep: Reputation: 15
R: How long for Stage 3

As long as you don't emerge sync and download all the updates, Stage-3 is a complete system ready to layer new stuff on top of it.

Granted, all advantages of the stage 3 build evaporate after you sync. Since the installer came out I know that a lot of big packages have had updates, and they are going to downloaded and compiled unless you tell emerge better.

After my Stage-3 build I only had the Kernel, Metalog, and Grub to install. Naturally, this doesn't include X, KDE, Gnome, or Mozilla. Depending on what disk you downloaded, some of those items may be pre-built for you.

Remember to do emerge -k to employ any pre-built tools that are on your install CD.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I start installing stage 3 of gentoo from universal gentoo 2005-1? kazuya1977 Linux - General 1 11-11-2005 11:30 AM
Half of my applications are broken. I am using Gentoo stage 1 on 3 nptl (stage 1.5) dragonslay Linux - Games 3 04-01-2005 06:23 PM
Gentoo: Stage 1, Stage 2, or Stage 3 skorpi0wn Linux - Distributions 3 03-01-2005 08:47 PM
gentoo stage 3 genkernel claudius753 Linux - General 5 01-16-2005 06:23 PM
Gentoo Stage Extraction Help Sabicas Linux - Newbie 4 09-26-2004 12:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 01:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration