How to turn an old junk PC into a nice workstation
Forward:
"Windows CE" is evidence that very low spec computers can be handy devices to check your e-mail, chat online, do simple word prosessing, and surf the web. Some of the Windows CE devices have processors that clock well below 100mhz. Yet desktop PCs of the same caliber are destined for the scrapyard - why? Because Microsoft and Intel would go out of business if people who wanted to perform these simple tasks could do it on an old "junk" PC - therefore Microsoft does not release Windows CE as a "simple to install OS" that gives life to these old PCs.
But someone else does - Linux.
"Linux" is a fear inspiring word to Windows users (myself included), thoughts of spending frustrating hours trying to learn a new and complicated OS are unpleasant. But recent versions of Linux are just as user friendly as Windows - and some work on very old computers (DSL runs on any Pentium class PC with 16 MB of RAM) Turning "junk" PCs into nice devices to check your e-mail, surf the web, chat, and more.
Especially "Damn Small Linux", named that because it's default install uses only 50 MB of hard drive space, and in my testing uses only 10 MB of RAM.
Testing:
I found a "junk" PC with the follwing specs :
200mhz Pentium, 32 MB RAM, 500 MB hard drive, NIC card, and CD-Rom (note : DSL Linux can be installed without a CD-rom drive, like a single floppy + NIC, see the forums :
http://tinyurl.com/7lb33)
This PC is not very capable, it can't run a Miscrosoft OS made less than 10 years ago well. I could install an old Microsoft OS but it would be much nicer to use today's software and turn it into a nice modern workstation, so I install DSL Linux.
Below are the steps I used to install it. The result is a nice workstation that runs solid and fast, with an intuitive desktop similar to Windows (see attached pic)
Hopefully these instructions will save a few old PCs from the landfill. I would rather see old PCs working well and go to the poor, rather then to the city dump.
Cheers,
Craig
------------------------
Download the DSL Linux CD image:
http://www.damnsmalllinux.org/download.html(I used "dsl-3.0.1.iso")
Preparing the hard drive:
I booted the DSL CD with boot option dsl 2.
From the command line I typed:
fdisk /dev/hda
(This brings up the Linux version of "Fdisk") I made two partitions, hda1 type 82 100Meg (for swap) and hda2 type 83 for the rest.
Then I typed:
mkswap /dev/hda1
mkfs.ext2 /dev/hda2
swapon /dev/hda1
Installing DSL linux to the hard drive:
1. Boot the computer from DSL Linux CD, at the prompt press enter
2. Once DSL linux has started and you see the desktop - right click the desktop, choose Apps > Tools > Install to hard drive
3. When asked what partition type hda2, answer yes to start install
4. after install is done it asks if you want to install the boot installer > yes
5. When asked what boot loader press "L" and enter
5. after that it asks if you want to reboot > yes. Remove the DSL Linux CD from the CD-ROM drive
Once booted from hard drive I right clicked the desktop and chose "window manager > switch to JWM"
It changed the desktop to JWM and shows the RAM usage as 9.4 MB (out of 32 MB)
Done
-----------------------------
Here are some advanced instructions to turn the PC into an even better workstation :
When it reboots, you have a very simple machine. A few web clients, VI (a crippled Vim), several other apps. Enough for simple computer usage, but not what you'd call a real desktop machine.
The installation does not have a functional apt-get or dpkg. You need those if you want to do anything more than browse the net and get email. To enable them, be sure your Internet connection is working and connected, then right click the desktop, then Apps->Tools->Enable Apt. The computer will take quite a bit of time downloading more stuff.
Installing IceWM
The Fluxbox window manager is nice, but if you're like me you prefer a taskbar and start button. The IceWM window manager is almost as efficient as Fluxbox, and it has a start button, task bar, and network and CPU monitors on the taskbar. Install IceWM as follows:
apt-get install icewm
The computer will download and install IceWM. To enable IceWM, edit the /home/dsl/.xinitrc file. Comment out the line that runs fluxbox, and substitute the following:
# set mouse speed
xset m 5 2
# start xterm by default
xterm &
icewmtray &
# silently check if icewm is in your $PATH and start icewm when found
# or a red colored xterm when not found or execution of icewm fails
which icewm >/dev/null 2>&1 && exec icewm || exec xterm -bg red
The result is a rather hard to see black version of IceWM. You need to change the theme. Do so by creating a .icewm directory under the home directory, and creating a preferences file containing the following:
ShowThemesMenu=1 # 0 / 1
Theme="Nice/default.theme"