The machine in question for this instructable (my first, so please don't go too harshly!) is around 12-13 years old, and when new ran the latest graphically intensive Windows 95 games at a mind boggling resolution of 800x600. It remained the faithful family computer for quite some time, but it's been sitting doing nothing in my room for a few years now, and I decided it was time to see if it could be put back into action.
I thought of several possibilities other than a file server, and all could be equally valid - a static content web server, a machine for experimenting on, a router, a firewall - all were possibilities. I even thought about using it as a computerized method of controlling my ever expanding train set. However, personally a file server met my needs best - I have no need for a web server, I have a router and firewall, and the train control idea can wait until I've done a bit more research on the subject.
Next, why Gentoo? Yes there's ways to do this using windows, and an article popped up on digg a while back about it if I remember correctly. However, you're looking at reduced performance, security, and increased bloat when going down the windows route - especially for an old machine such as this where an outdated version of windows would have to be used to gain any level of respectable performance. I've gone for Gentoo because it's a distribution designed to be tinkered with, and that's what we'll be doing later. If I was feeling really brave (or indeed you are) you could give LFS a try, but getting that up and running would probably be a series of instructables in itself. Gentoo's not the easiest system to get running, but it's still entirely feasible and there's a huge user base on forums if you get stuck.
So on with the materials list, you will need the following:
An old computer, to use Gentoo this will need to be at least a 486 (My choice is an aging Pentium 90Mhz, S3 Virge graphics card, with 80MB RAM upgraded from an original 16MB.) This should work on anything 486 and above, you could use a 386 (I think) with FreeBSD, but Gentoo should be much flexible and faster as well. Your limit is that defined by the Gentoo minimal install CD, that being 64MB of RAM and at least a 486. The biggest issue here is probably going to be RAM, but you can probably pick up some cheap old sticks on ebay for not a lot.
A network card - my PC didn't have one originally installed, so I've gone with a basic 10/100 Belkin card. Gigabit is overkill here, you're not going to be looking at anywhere near those speeds with a low end computer like this.
A new hard disk - being an old PC, this will almost definitely not have the space required that we need for a file server. It doesn't need to be huge by today's standards though, in fact it can be tiny - I've opted for a spare 40GB model I've got lying around. A word of warning however for those that aren't aware - the older the PC, the smaller the chances of the BIOS recognizing the drive - mine didn't. Gentoo should still recognize the drive anyway (though I can't guarantee this, it worked for me) but this makes booting into your system a right pig. We'll try to address this issue later.
A CD-ROM drive - if your computer hasn't got one, you should be able to borrow one off another computer temporarily.
The ability to leave your computer on for quite a while - Gentoo compiles everything from source, which is fantastic for speed optimizations once it's all done, but it means it takes a while in doing it. Technically speaking you don't HAVE to leave it on, but it makes it a heck of a lot easier if you do.
Remove these ads by
Signing UpStep 1Cleaning and Stressing
Though please bear in mind, whatever testing you're using, this is an OLD system, please make sure your data is backed up elsewhere - just in case!
First of all, have a mini vacuum cleaner and a can of compressed air handy. Then open the case and (gently) get rid of as much dust and gunk as possible. When you've done this, unplug the various cables, blow the dust away from there and then reseat them (in their original positions!) It's good practice to clean any PC like this regularly, and with something that hasn't been used in a while it's good to give it a fresh start!
Right, next on to testing the system.
I'd recommend StressLinux for this, it's a livecd distribution that's designed to run a series of tests on hardware, and includes memtest. Now if you're in the same situation as me you'd now be thinking something like "I'm stuck with a computer that's completely incapable of booting from CD!" However, all is not lost, we simply need a bit of extra help, and this is where Smart Boot Manager comes in. It's a neat little utility that boots from a floppy, then gives you options to boot from everywhere on your system it can.
Follow the link above to download stresslinux, then burn the ISO image to a CD, being careful to create a disk from the ISO image and not simply copy the ISO file onto a CD - that won't do anything useful. If you need it, download and install smart boot manager to a floppy. Set your BIOS to boot from the relevant medium, and stresslinux should fire up.
To start with, I'd test the memory. Type in "memtest" (no quotes) into the boot: prompt and press enter. Leave it to it's own devices for a good few hours - the longer the better. You should have no more than a couple of errors at most, preferably 0, after this time. If the number of errors is high or rising significantly, you most likely have a problem that will prevent you using anything with more than a minimal degree of reliability, if at all. Look into this before you progress further.
After memtest has run for a few hours and assuming there are few or no errors, reboot your system and boot back into stresslinux, this time just hit enter when greeted with boot:, and follow it's steps through to set it up. When it's running, run badblocks on your hard drive and CD-ROM drive, you should have, again, no more than a couple of bad blocks on each, if that.
To run badblocks, simply type badblocks followed by the drive, which will probably be:
/dev/hda for the primary master
/dev/hdb for the primary slave
/dev/hdc for the secondary master
/dev/hdd for the secondary slave.
The most likely configuration is that the hard drive is on /dev/hda and the CD-ROM is /dev/hdc. So to run badblocks for the hard drive:
badblocks /dev/hda
and for the CD-ROM:
badblocks /dev/hdc
Be patient and wait for it to complete. Assuming no problems, you're now ready to start the Gentoo installation procedure.
| « Previous Step | Download PDFView All Steps | Next Step » |








































But, now talking about this instructable (which I haven't actually read)... I guess Gentoo might take too long to compile on those old machines. On the other hand, most binary distros won't run on old computers.
Maybe m0n0wall could be another option for some people. I never tried it, but it looks good. AFAIK, m0n0wall doesn't even require a hard drive. Of course, if you are geeky enough and want more power, more flexibility, then install a linux distro like describe in this instructable.
The fact that Gentoo compiles everything is good because it will work (eventually).