View Single Post
Old 06-10-05, 06:46 PM   #1
dante_uk
Geforce FX5900
 
dante_uk's Avatar
 
Join Date: Aug 2002
Location: Crawley-Sussex-UK
Posts: 120
Default DamnSmall Linux.

Here's the story:
I found an old laptop at work ( umax ) it's screen's got a fault causing thin lines to appear on it most of the time. The memory is obviously faulty because it reports only 59MB at boot!!, at boot time it failed, saying no OS. Processor is AMD something, about 500mhz.

Enter Damn Small Linux.
I booted a live cd of DSL 1.1 and it was fine and loaded it's X desktop. I checked the hard disk and found the partition table was screwed. At this point no one in the office wanted the laptop, it was now mine!

Obviouly this isn't going to play Doom3 but I'm sure I can put it to use.

I did a HD install of DSL 1.1 and it was fine, the disk turned out to be almost 6gig.

Next I thought okay, lets set up a simple web site and use it as a web server, done. Next I got samba installed and working so I can store mp3's on it, done.
Okay, now how about storing my Doom3 sdk source code on it and setting up a cvs I can access from my main home machine and from work. Done.

Okay now the biggy, can I install gcc and see if I can actually build the gamex86.so for Doom3 from the sdk on this machine.
Whilst doing this I'm listening to mp3's using XMMs from the DSL install.

I downloaded and did dpkg -i for the following ( this was a first for me, normally I use .tar files or rpm's because I mainly work on SuSE ):
binutils_2.15-5_i386.deb
cpp-3.3_3.3.6-4_i386.deb
g++-3.3_3.3.6-4_i386.deb
gcc-3.3-base_3.3.6-4_i386.deb
gcc-3.3_3.3.6-4_i386.deb
libc6-dev_2.3.2.ds1-22_i386.deb
libc6_2.3.2.ds1-22_i386.deb
libgcc1_3.4.3-12_i386.deb
libstdc++5-3.3-dev_3.3.6-4_i386.deb
libstdc++5_3.3.6-4_i386.deb
libx11-6_4.3.0.dfsg.1-12.0.1_i386.deb
libx11-dev_4.3.0.dfsg.1-12.0.1_i386.deb
libxext-dev_4.3.0.dfsg.1-12.0.1_i386.deb
linux-kernel-headers_2.5.999-test7-bk-17_i386.deb
make_3.80-9_i386.deb
x-dev_4.3.0.dfsg.1-12_all.deb
xfree86-common_4.3.0.dfsg.1-12_all.deb
zip_2.31-1_i386.deb

I got the contents of usr/include/GL from the Nvidia driver for linux and put it into /usr/include/GL

The result - in less then 12 hours, a dead laptop - revived and capable of useful things - playing music, surfing the web(Firefox 1.0.4), cvs server, web server(apache2), P2P file sharing(giFT+OpenFT+gnutella), local file server(Samba)

Test pages from this very laptop here:
http:/danteuk.gotadsl.co.uk/danteuk/

As a small footnote, the day before I got QEMU for Windows and the DSL1.1.iso onto my usb key(128mb key with over 60mb still free space) now I can plug in my USB key into any windows machine(1.5ghz or better) and run DSL from the key, without rebooting!
__________________
-- "I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone" Bjarne Stronstrup (originator of C++ programming language)

Gigabyte S478 Intel 845E / P4 2.2Ghz / 1GB DDR / GF FX 5900 128MB (400/850) / SB Live! Player 5.1 / XP Pro sp1 (DirectX9.0c) / Suse 8.2
dante_uk is offline   Reply With Quote