It builds, and builds, and builds….
Yesterday I bite the bullet and decided to get Gentoo Linux to install. Instead of powering down the server and install Gentoo there, I found a spare 30Gb Maxtor (don’t you all have something like this lying around the house?) and borrowed an old 333Mhz Pentium II from work. My plan is to use the old box to build, install and configure Gentoo on it, and then just bootstrap my own server box with this HDD to minimise the down time. Pentium II Deschutes is very similar to the dual Celeron Mandocino I got so they can easily share the same optimisation flags.
First of all, I found the installation instruction quite thorough. Basically I just stepped through the exact instruction detailed on the manual, and everything just worked fine. The problem is, the installation box is headless, and I was just too lazy to find a monitor for it. With Gentoo’s Live CD this problem can be easily overcame. This is what I did…
- Pop in the “Live CD #1″ into the CD-ROM drive and power on the box.
- Keep on pressing [Enter] after the BIOS beep until the CD-ROM drive starts generating that spinning sound. Gentoo Linux is booting off
lilonow. - Wait until the CD-ROM drive quiets down, there’s probably a root prompt on the console waiting for input. Now type in (you do have a keyboard handy, right?) “
passwd[Enter]“, and then your root password twice. - You need to start the SSH Daemon by typing in “
/etc/init.d/sshd start[Enter]“ - On another box I can now “
ssh root@ip_address” to continue the installation procedure.
Well. It would only work if:
- The installation box is configured to boot from optical drive.
- There is a DHCP server running on the network.
And I checked the DHCP log to figure out the new IP address…
Anyway. After I logged in as root, I basically followed the instruction to perform partitioning, formatting, dumping the stage files, etc. I then perform a “emerge sync” as my portage tree is about 3 months out of date. Everything is smooth so far. So it is time to “make world“?! Well, it is “emerge --update system” on Gentoo, where it figures out all the packages that are not up to date, download and rebuild them for me. That is the coolest part of Gentoo as the rebuild can be configured to my requirement – usually I don’t need X or gpm to my headless server so I added USE="-gpm -X" to my “/etc/make.conf“. Support for these will then not be built. Nice. Don’t you just hate it when installing a tiny application via RPM to use its command-line interface will require you to download and install 2 zillion other packages?
So here we go.
# emerge --update system
And it just builds and builds and …
Pentium II 333Mhz might be a blazing fast machine 5 years ago, but it crawls when I tried to get it to build things. I started the build 7 o’clock in the morning, and now it is 5 in the afternoon. I ssh’ed back home to monitor the build process, and it is still going… Slowly…
Aarrgh!
There’s only the bare-bone system packages (gcc, glibc, binutil, etc) that it needs to build, and I am not sure when is it going to finish. There are still lots of other packages I would like to install. I think this box will be building them continuously for the next week.
And that’s my first day with Gentoo.
Unbelievable, you actually build it from scratch. Nothing like a fully optimized compilation eh?
Sure. Compilation surely takes long on that poor little bugger but I hope it is worth it. Still compiling – I hope I am half way there…
you have a spare 30GB harddisk lying around??!! more than the combined total of my machines at home =)
Gentoo is slower than Mandrake
Gentoo is slower than Mandrake
well I dont know how long it took you, but I have PII350 thats becoming my new gateway/server, running an emerge system took 14hours.
this in the name of trying a different distribution of linux :)
Gentoo is faster than Mandrake
….and when did you finally finish compiling the darn thing….???
Mandrake is slower than Gentoo
Oh dear … my poor poor PII 266 laptop downstairs that has been compiling XFree86 (on Gentoo 2004.0) for the past 5 hours so far and probably will be this time tomorrow :(
My other machine, a Duron @1500 is currently performing an emerge system. looks like I should wait a bit until it has completed :(
Hopefully this will eventually mean that I will never again have to touch that POS Mandrake.
Gentoo is the best!!!!!!
I will be using it and am just burning the .ISO have. I will probably have to compile from about 9am to however long. This is on a 1Ghz, but I am a geek!