cobalt qube
by
Anonymous Coward
·
· Score: 4, Interesting
i run a modified version of redhat 4.2 on a cobalt qube. It's 150 mhz and it has 32 mb ram, and works as a great fileserver for 10 users. whoever said you need alot of computing power for a server is wrong
Re:cobalt qube
by
Anonymous Coward
·
· Score: 5, Funny
whoever said you need alot of computing power for a server is wrong
sorry that was me, let the beatings begin
Re:cobalt qube
by
danamania
·
· Score: 5, Interesting
33Mhz, 32Mb and a 250mb HD for my debian web server. It's served about 320mb in 24 hours (across a slow-arsed outbound link unfortunately) not long ago and took things in its stride. RAM usage hovers between 8 and 15mb.
Of course, I do go and post links to it here don't I:).
Re:cobalt qube
by
sys$manager
·
· Score: 5, Interesting
whoever said you need alot of computing power for a server is wrong
That's a pretty broad generalization to make. You may not need a lot of computing power for a 10 user file server (and anyone who says you do is a total moron) but there are applications for which you do need a lot of power.
I see the mods fell for your troll though.
Re:cobalt qube
by
Chromium_One
·
· Score: 4, Interesting
How about for a 4-person fileserver?
Had an AMD 386DX40 box, 20MB RAM, 40MB HDD running Slackware 8. Managed to strip the install down to a hair under 20MB with a few system tools, Apache, Sendmail, and a couple userland goodies like PINE. It was running as households' gateway/firewall box to a 512k DSL hookup. Worked pretty well... max uptime was about 6 months (I was out of state for most of that time).
Eventually added another harddrive and turned it into the household MP3 server as well. Worked fine most of the time =)
-- When you live in a sick society, just about everything you do is wrong.
33Mhz, 32Mb and a 250mb HD for my debian web server.
I recently installed Debian on a similar but lower-memory system (8MB) as a web server (yes, I am going to add more memory soon). Aside from a memory-intensive stage where apt-get was merging some package data, it went smoothly but slowly.
The reason I mention this is that I've seen posts where people say they installed a small linux system on a computer with 4mb of memory "a while ago", and posts where someone has recently installed a small linux system on a computer with 16mb of memory or so, but no mention of really low-memory systems. So I figure that I should mention that a reasonably up-to-date distro (Debian) does install on 8mb, though it'll get ugly at one point if you don't have more like 16mb. Also, perhaps the 4mb Laptop How-To is worth mentioning at this point.
PDA anyone?
by
Slashdotess
·
· Score: 5, Interesting
I run a light version of linux on my Compaq Ipaq and I think it's great. I can't wait until it becomes good enough to go into pda's full scale and replace proprietary OS's like palm.
Re:PDA anyone?
by
lenski
·
· Score: 4, Informative
(mentioned before) uClinux.
I've seen and worked with companies that built several systems based on it, and it's not a bad way to get Linux-sized flexibility and power in a small, inexpensive package. It was/is straightforward, once one understands system behavior without copy-on-write forking semantics.
A few years ago, a good example of a uClinux implementation was the uCsimm, a 30-pin SIMM sized machine based on the Motorola 68EZ328. 8Mbytes RAM, 2 Mbytes flash, Crystal 8900 (10 Mbit) Ethernet. The 68EZ328 powers all pre-PalmOS-5.0 units. We had a web server with complete CGI capability, as well as several additional communication front-end tools. So I know Linux runs on the 68EZ328, and I've seen references to the Palm H/W in the uClinux kernel code, though I haven't tried it on my Palm...
More recently, uClinux also runs on NetSilicon Net+ARM family processors, http://www.netsilicon.com/
The people who tried to commercialize uClinux (and probably worked on uClibc, though I am less sure of this connection) were Rt-Control, a Canadian company that were subsequently acquired by Lineo: http://www.lineo.com/
I have no relationship with either Lineo or NetSilicon, other than being a (mostly) satisfied customer.
Re:PDA anyone?
by
be-fan
·
· Score: 5, Informative
Actually, Linus once did an interview with Boot magazine. He actually said that he never thought that anybody would be able to port Linux to an MMU-less machine, then was surprised to find that somebody had ported it to a Palm. So there you have it, from the man himself. Linux does run on Palms.
-- A deep unwavering belief is a sure sign you're missing something...
IBM actually has a quadruple DNS A resource record for maximum load balancing and parallelism in a Class B network spread across none less than 4/16 subnets. I kid you not:
That's because Microsoft is running IIS on windows so they have all the overhead of a GUI, SMB, WINS, AD, etc. and need to have more machines to get the same effect:)
-- Life has many choices. Eternity has two. What's yours?
Been doing this for years
by
BurritoWarrior
·
· Score: 4, Funny
I already run a very svelt Linux. it's called SuSE.
Mini-distros
by
erik_fredricks
·
· Score: 5, Informative
There are several small distros designed to run on older hardware. Some, like tomsrtbt and coyote can run directly from a floppy, with no need for even a hard drive. Many of these started life as glorified rescue disks, but with the modular nature of Linux, it's possible, for example, to run a working mail-server on an old 386 with them.
--
THE GOOD HUMOR MAN CAN ONLY BE PUSHED SO FAR
Bart Simpson on chalkboard in episode 2F18
Re:Mini-distros
by
Istealmymusic
·
· Score: 4, Interesting
Wait a minute...you say "no need for even a hard drive" and then "it's possible [...] to run a working mail-server on an old 386 with them". Where would you store your mail queue, on a RAM drive or NFS partition?
-- "The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
Re:Older OS's?!?!
by
AndroidCat
·
· Score: 5, Interesting
What about networking? Most MS-DOS networking was really butt-ugly.
I'm currently going for a FreeBSD install on an older machine because it has an easy network-bootstrap install.
I did shoehorn Win98 onto a 486/66 for my burglar alarm, but it's not a pretty sight.
-- One line blog. I hear that they're called Twitters now.
Can someone with more knowledge give me some more info on the differences between DietLibC and uclibc? As in how much I save in binary size for both of them. Problems (something like it wont support translations is a big thing) such as feature Y wont work. Can I compile Gnome or KDE with them? I read the FAQ and both seem wonderfull and I really don't see why someone _wouldn't_ want to use them. So why wouldn't I want to use them?
-Benjamin Meyer
-- Do you changes clothes while making the "chee-chee-cha-cha-choh" transformation sound?
Glibc is pretty fast. In order to save memory, uclibc makes concessions that potentially hurt speed.
-- A deep unwavering belief is a sure sign you're missing something...
Re:Comparison
by
captaineo
·
· Score: 4, Interesting
First you have to understand that the main design goal of glibc is code bloat. (I'm not kidding, static hello-world.c is >100KB). A lot of this is because glibc tries to support a large API, most of which is never used by most programs (e.g. locales). Also, glibc tends to lump lots of stuff into individual object files, so the linker does a worse job of discarding unused code. (the first call to printf() in your program pulls in tens of KB of stdio code)
The concept of uclibc and dietlibc is to support the 10% of APIs that 90% of programs use, and to behave better with static linking. uclibc makes some sacrifices to work better with glibc-based software (I don't have exact numbers since I don't use uclibc). dietlibc goes completely to the extreme; anything that can be cut is cut, and object code is carefully divided so that static executables only include the code they really need.
For concrete examples, see the static binaries compiled by dietlibc's author at ftp://foobar.math.fu-berlin.de:2121/pub/dietlibc/b in-i386 (cat is 3KB, tar is 63KB, the thttpd web server is 42KB - add them up and you are just about equal to hello-world.c with glibc). Compare these with the sizes of even dynamically-linked glibc binaries on your own system.
The reason you wouldn't want to use a cut-down libc for something like Gnome or KDE is that you'd have to recompile your entire system, including the X libraries and all other dependencies. (you can't use your existing X libraries since they are already linked to glibc). Along the way you are sure to run into one or two obscure C library APIs that only glibc implements.
I think eventually there is a chance that glibc will be replaced by one of the cut-down libcs. The degree of bloat in glibc is simply obscene, and on top of that there is the backwards-incompatibility problem. (many packages broke during the transitions from 2.1 to 2.2 to 2.3, which should never have happened with a stable thing like the C library). Linus himself has even floated this suggestion on the LKML. The question that remains is whether the full glibc API can be implemented without creating another bloated monster. (there is no real alternative, since glibc's API has been enshrined in the LSB already...)
On a similar note, I'd love to see GCC drop the problematic GNU STL for STLport. In my tests STLport has about half the cost in compile time and code size...
Glibc is optimized for speed and standards compliance. It's also what Gnome and KDE and everything else on Linux is tested with, and has vastly more testers. I had 128 MB of RAM on this box when I bought it four years ago, and it wasn't top of the line. What's a half of MB of memory, especially as it cost me less than $50 to upgrade it to 384 MB?
I just ran memstat on my box. I'm running a konsole, and mozilla and emacs. Glibc is pretty far down on the list of memory wasters. Mozilla takes up 22 MB; xfs 15 MB; QT 5 MB; Emacs 3 MB; bbkeys 5 MB (I smell a memory leak); libkio 2 MB; 1.2 MB for each of libgtk and libkdecore. Deep down in this list is glibc, taking up just over 1 MB. If you're going to be running Gnome and/or KDE, glibc is not your memory waster.
First you have to understand that the main design goal of glibc is code bloat. (I'm not kidding,
But you've got to be kidding. It is a simply absurd statement. I don't think you understand the situtation, because to understand the situation you would have to know what the real design goals of glibc are and how they affected the library.
static hello-world.c is >100KB)
Okay, and how big is dynamically linked hello-world.c? There aren't that many reasons to statically link a program. There may be some on reducing program size, but I would think Emacs and OpenOffice and Mozilla - the many megabyte executables - would be much more interesting than 100KB.
most of which is never used by most programs (e.g. locales).
How do you measure that? Every program that's not a server needs to be using locales; returning localized messages and sorting information the way the user would expect it are two big things.
The degree of bloat in glibc is simply obscene, and on top of that there is the backwards-incompatibility problem.
What exactly is an obscene amount of bloat? I have QT, GTK, 3 KDE libs and 2 Mozilla libs loaded into memory, each of which is larger than glibc. Why should I worry about the 8th largest library open on my system?
The uclibc people understand that they were trading speed and standards-complance for size, and know that it's not a good tradeoff for everyone. Do you really understand what tradeoffs were made in glibc, well enough to make a better library?
The reason why there's the backward compatibility problem is two-fold; first, people keep trying to link directly to glibc's internals, and not changing those would be a pain, and second, you want to make major improvements, but changing the libc major number is a flag day, so they try to support old stuff while making major changes, with some success and some failure.
The question that remains is whether the full glibc API can be implemented without creating another bloated monster. (there is no real alternative, since glibc's API has been enshrined in the LSB already...)
There is no real alternative, because most of glibc's API comes from POSIX and Single Unix Standard (SUS), or from traditional BSD functions.
IBM provides a stable home for "little linux"
by
stanwirth
·
· Score: 5, Informative
Great! but as tiny linuxes go,
ramf has support for Reiserfs, and a lot of people I know rely on tomsrtbt . Almost all of the information in the IBM page submitted here is already available, but it's really nice to see IBM providing a stable home for this type of information -- while the original linux from scratch server flounders (was it those big bandwidth bills from being/.ed did it in?) and the first cool rescue thing I used, cclinux, has all but disappeared. sigh!
So thanks, IBM. This time.
386SX16, 4M RAM, no HD, parallel port
by
czaby
·
· Score: 5, Interesting
Once I had a happy linux on a 386SX-16MHz very old laptop, without any working hard disc. The floppy was enough to boot it, 4 Megs RAM is perfect for a small kernel, some shells and telnets, everything else (even the swap) comes through PLIP on the printer port. It was much funnier than my VT420 terminal:)
uClinux + busybox
by
toybuilder
·
· Score: 5, Informative
A lot of the thanks should go to the work by uClibs and Busybox maintainers. Trimming the kernel is important, but the big savings in size is indeed the small footprint of the C libraries and the "combined" busybox binary.
How much space saving? Well, at my work, we initially prototyped some programs that ended up at around 1 MByte, statically linked to glibc. The same program was 120K after statically linking to uclibc, and then 35K after dynamic linking to uclibc.
I know there's various individual efforts out there to re-build Debian around uclibc. Imagine being able to put a full-featured Debian package on a business-card-sized mini-CD's that you can always keep in your wallet!
Re:uClinux + busybox
by
Istealmymusic
·
· Score: 5, Funny
Imagine being able to put a full-featured Debian package on a business-card-sized mini-CD's that you can always keep in your wallet!
I love it already. If I'm over at a girl's house I can pop it into her box when she's not looking and show her the wonders of Linux!
-- "The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
Re:uClinux + busybox
by
.milfox
·
· Score: 4, Funny
Shouldn't you be popping something else into her box instead? Something a little bit more, ah, interactive?
Yeesh.:P Youse slashdot geeks. </joke>
(tags inserted for the humour impaired)
Re:Don't run a GUI for a start.
by
clunis
·
· Score: 4, Informative
This is a joke? Delete any of the X11 poop if it somehow got installed, turn off inetd, kill and delete anything that isn't part of the machine's intended use, remove any unnecessary hardware, strip down the kernel ( if necessary ) and boot scripts, patch, use something like radmind to push this out to all of your machines, and then monitor.
This is exactly how I run my servers.
Re:Don't run a GUI for a start.
by
danamania
·
· Score: 5, Insightful
Real sys admins use a command line anyway (JOKE).
IMHO It's not such a bad joke to run a machine command-line-only for a while, or permanently. The greatest service you can do to your general knowledge of all things computing, is use a broad range of machines/interfaces outside your common experience. When I started with linux, I just accepted it was mostly commandline stuff (that was a year ago) - and for my uses, it mostly still is. I've run PCs, Macs, Linux from only a command line, Linux with a GUI, Amigas, Dos, Windows, Netware - a bit of everything.
Jump into the command line-only thing for a while. run something lightweight on a 486 and enjoy the learning experience:)
Re:From the other end of the discussion...
by
fishbowl
·
· Score: 5, Interesting
Debian is already lightweight. Install the base system and whatever drivers you need. Don't select anything in dselect, and you're done; installs in under 10 megs.
-- -fb
Everything not expressly forbidden is now mandatory.
FreeBSD
by
Anonymous Coward
·
· Score: 4, Informative
From the FreeBSD handbook:
3.4. What do I need in order to run FreeBSD?
You will need a 386 or better PC, with 5 MB or more of RAM and at least 60 MB of hard disk space. It can run with a low end MDA graphics card but to run X11R6, a VGA or better video card is needed.
Re:From the other end of the discussion...
by
Tetsujin28
·
· Score: 4, Interesting
Maybe I'm lucky, or have low expectations, but I run Debian with GNOME on a Pentium 150. Works fine for me. I can surf the Web, read email or do word processing while listening to MP3s on XMMS. Granted, XMMS didn't work very well until I recompiled my kernel.
-- - - - -
The real Tetsujin 28 is a giant robot.
Re:From the other end of the discussion...
by
MrEd
·
· Score: 4, Funny
...how can I "light-weight-o-fy" my existing Debian installation?
"apt-get remove -purge *", right?
:)
--
Wah!
Try Slackware
by
theBraindonor
·
· Score: 5, Informative
* 386 processor
* 16MB RAM
* 50 megabytes of hard disk space
* 3.5" floppy drive
By the way, that's not the requirements for an old version... That's for version 8.1 with the 2.4.18 kernel... Have fun.
Re:Try Slackware
by
Anonymous Coward
·
· Score: 5, Funny
* 386 processor - check! (1.4ghz) * 16MB RAM - check (512mb) * 50 megabytes of hard disk space - check (40gb) * 3.5" floppy drive - doh!
oh well, cant win 'em all.
Two quick points:
by
Alethes
·
· Score: 5, Interesting
1) Using a light linux distro on a really fast machine just makes it seem that much faster. There's no need to try to find some old and slow machine to take advantage of a fast and light distro.
2) The versatility of Linux is really inspiring. We have everything from floppy distros, and game machines to Gnome, KDE and Lycoris all using variations of the same kernel. I, for one, think that's pretty cool.
The writer went way too far. The EASY WAY IS:
by
crazyphilman
·
· Score: 5, Informative
Hey, all, just to put this in context, I've been collecting some very old Itronix Mil-Spec laptops recently (one survived being thrown full-strength by me, a 285 pound ex-marine, from seven feet onto worn-out carpet over plywood, and booted up no problem) because I have a fetish for such things. Let's just say I have a thing for durability. The only problem is, the laptops have a "full environmental seal" which means no cd-rom, no internal floppy, no usb ports, etc. They only have a parallel and serial port, a phone jack, and a PCMCIA port protected with a cast aluminum door and a gasket. My weaker ones have eight MB of ram each and are only 486DX2-50's, with a 260MB HDD. My three stronger ones are Pentium 133's with 32MB of ram each, and about a 1.3 GB disk, with monochrome LCDs. Only one has color, but that one's just a 640x480 LCD. I wanted to run Linux, and not some quirky, doofy ancient Linux either. Here's how I got it to work.
Step 1. I have an external floppy that connects to the PCMCIA slot, and a parallel port zipdrive. So, I downloaded Zipslack (available on the Slackware website) and the companion, fourmeg.zip, which creates a swap file. Zipslack is interesting because it creates a UMSDOS slackware installation on a zipdisk (just unzip it to the zipdisk). This can then be booted from the zipslack boot floppy (boot from the boot floppy, then direct root at/dev/sda4, i.e. the zipdisk). Zipslack booted with only minor difficulties -- I had to tweak a couple of BIOS settings, that's all.
2. Once in Zipslack, I had to set up the Itronix's hard disks for Linux. So, first, I fdisked, and set up most of each disk as a type 83 Linux partition, and the rest as a type 82 Linux swap. I probably gave too much swap; I took a guess for the "big" ones and made it like 88 cylinders; I think it turned out to be better than 128MB (I made it a LOT smaller on my little ones). Next, I formatted the disk: I ran the command:
"mke2fs -L armadillo -c -c -j/dev/hda1"
This surprised me a little, pleasantly: I knew the two "-c" params would cause it to overwrite the disk with nulls, but it did it FOUR TIMES, which is pretty damn thorough. Once that finished up (it took at least an hour on my old machines) I mounted the disk as type "ext3" on/mnt/hd.
3. Now, I copied my entire root directory onto the mount point, leaving out the loadlin stuff and files that were obviously DOS related (like the DOS mount directory). I copied each directory using (for example) "cp -a/bin/mnt/hd/bin". Of course, I didn't copy/mnt or/proc. For those, I just mkdir'ed them in the new directory. Once I was satisfied that the entire zipslack system was copied over to the new partition, I edited/mnt/hd/etc/fstab and set up the "/" partition as/dev/hda1 (and set up swap as well, although I wasn't sure I had to do that). Then, I rebooted using the boot disk.
4. This time, I pointed the root directory at/dev/hda1. I booted into my hard drive's Linux, and ran liloconfig to set up automatic booting with LILO. I ran it in expert mode, and set up only one entry, i.e. that for Linux. Then I set it up to automatically boot into that entry with no delay.
The result is that my little Linux machines all work perfectly!
On my "big" ones, I put a bunch more stuff in. I put in the development disk set, plus x, xap, most of n, and this coming week I'm adding kde and gnome. On my "little" ones, I've only got 260MB of space, so I'm going to stick with text-mode. I'm toying with the idea of using emacs as an environment for those, IF the e set will fit on 'em of course.
The most expensive of these laptops was 150.00. The cheapest was 25.00. Zipslack was free. Now, is that a great deal or what? Especially considering they're like indestructible little armadillo monsters, right?
Oh, by the way: I'm using Zipslack 8.1 and I'll probably upgrade to 9.0 when it comes out. Gotta love Slackware! Bob RULES!
BTW: my grammar isn't so hot today. It's the Marine Corps Birthday (10 Nov) and the "Marine Corps Drink" is the Rum and Coke, so cut me some slack there (ha! get it? SLACK! I slay me)...;P
-- Farewell! It's been a fine buncha years!
Re:Use Busybox in all distributions
by
cant_get_a_good_nick
·
· Score: 5, Informative
I just don't see how it is feasible to leave dozens of tiny utilities littered all over the root filesystem.
Busybox works two ways, either/bin/busybox "command" [optional flags] or you can symlink/hardlink it to [command] and run it like the ordinary command.
If you do it the first way, busybox "command" you'd have to type the extra letters all the time. You can alias it, but then you'd have to have a support issue with all the users unless you had universal aliases, and thats not optimal.
If you do it the second way, with the symlinks or hardlinks, you still have all the things in/bin, not much added elegance.
The code in busybox gets complicated. The added elegance in the file system becomes complications in the source code. Any updates to any of the "functions" as busybox calls them, requires an update to essentially all your userland utilities (as expressed in busybox). Lots of updates, lots of testing, because now any change to anytihng in busybox requires you to test everything, because a change in the ls "function" is in the same code that contains your mount command, and your cat, and your rm, etc., and now you need to test all of those as well.
Shared code can go into libraries. That's why libc is usually dynamically linked, shared code should be shared. You get your elegance with asmall executable with much of it's guts in shared libraries. Elegance here causes ugliness there. You pick your battles, you do things the way you want to. That said, busybox is opensource, and all of the gnu utilities are opensource as well. I don't think the busybox folks would mind patches from you or any others that share the view. I personally don't agree, my "elegance" is in smaller utilities with well defined functions, and I would not contribute.
Re:Older OS's?!?!
by
Anonymous Coward
·
· Score: 4, Funny
"I did shoehorn Win98 onto a 486/66 for my burglar alarm, but it's not a pretty sight."
where do you live again?
FreeBSD may be an option
by
Billly+Gates
·
· Score: 5, Interesting
FreeBSD works great with minimal hardware due to the absensce of bloatware on most modern linux distro's. The Bsd daemons like inet are much less resource intensive then their Linux counterparts. By default FreeBSD only has minimal daemons running.
Gentoo may be another option due to its liteness upon default install. Everything and I mean everything must be configured and installed via "emerge x". This is also the downside. IF you have a slow 386 and a 28. modem for an internet connection you can expect s several day installation.
NetBSD seems popular with many users with old machines like ancient macs. It may be more minimalist but I have never used it. Perhaps someone who has could care to comment. I like FreeBSD because of the excellent book that comes with the box set which will be helpfull since you will not have any of the gui point and click utilities like anaconda and yast2 to setup your 386.
I like Linux myself because I am use to the SYSV init. I do not wish to start a flameware but FreeBSD is great for minimal installs and come with the best console documentation. It has its uses and if your use standard free software like sambe or apache, then a *BSD variant or Linux one wont matter.
uClibc is not going to replace glibc
by
KidSock
·
· Score: 5, Insightful
I see a lot of positive comments about uClibc and it may work great for you but uClibc has a few sticky points. There are current issues with scanf, floating point format strings with printf, strcol, i18n support (e.g. iconv), some networking stuff, no threads, etc. This is great if you're building little commandline utilities like busybox but don't expect to be able to run something like a Java VM.
Not Impressed
by
RAMMS+EIN
·
· Score: 4, Interesting
Sorry, I'm not impressed by this. 12 MB? I think I can run a vanilla Linux distro on that. I have and old IMB PS/ValuePoint 425SX/S (25 MHz, no FPU, 4 MB RAM that somehow refuses to be upgraded...anybody know why?) here that I wanted ti run Linux on. I couldn't get any Linux install floppy to boot and work on it, not even the ones that were advertised as working with 4MB core. I suppose this is due to IBM eating up 384 KB of memory (shadow ROM or something). Anyway, I made my own bootdisk with a 2.4.19 kernel with networking support, module for my NIC, and an uncompressed filesystem with busybox, fdisk, ip, mke2fs, insmod, mkswap and swapon, all statically linked to dietlibc. It worked great on my machine, allowed me to partition the hard drive, create and mount the swap partition, make and mount an ext2 file system, and install the files necessary for booting. I'm currently working on a uClibc-based system with picogui. It's almost finished and will be available from my website once it is. It could take some time, though, cause I'm overloaded with work these days.
--- Goto, n.:
A programming tool that exists to allow structured programmers to complain about unstructured programmers.
-- Ray Simard
It took a lot of searching and a few false starts, but I finally got Linux going on my old laptop a few years ago. I guess I did it mostly for the challenge.
Specs:
386sx @ 16Mhz 5 Megs RAM (subtract a bit for BIOS shadowing...) 240MB HDD (half DOS, half Linux ext2) No PCMCIA, Ethernet, or IR ports. Currently boots MS-DOS/Win3.1 and then uses LoadLinux. Installed: Perl, GCC tool chain, vi, and just barely enough of everything else to get by.
I tried FreeBSD first -- that's what I normally run on my Unix boxes. However, while it can run on 5MB, it is a real challenge to get it installed with only 5MB -- the installer needs 8MB, and with no swap partition set up, it can only use RAM.
I came to the conclusion that the main problem with running a nice OS on not-so-nice hardware is getting a swap partition set up. Once Linux and FreeBSD have a little virtual memory to use, they can get by on just 4MB. But until the swap partition is mounted, everything has to squeeze into that 4MB, and it simply doesn't work.
I tried a few other distros before I finally found something that worked. It was called "ZipHam Linux." It was a derivative of Slackware running 2.0.38, and specialized for HAM radio enthusiasts. Once I had a swap partition set up, I could actually do stuff. I transferred packages via MS-DOS's InterLnk (parallel cable) and upgraded to the latest kernel I thought would work.
Recompiling the kernel on a 386sx with 4MB of RAM is an exercise in patience. I think it took about 23 hours. But it compiled! Yay. And booted.
About a year later, I graduated from college, got a better job, and bought a more reasonable laptop. As a result, the old one doesn't see much use anymore. But I still think it is pretty cool. And since it is actually the only Linux box in the house (1 FreeBSD box, and I run Linux under Bochs occasionally, but no other hardware dedicated to Linux), I sometimes fire it up just for kicks.
-- Time flies like an arrow. Fruit flies like a banana.
i run a modified version of redhat 4.2 on a cobalt qube. It's 150 mhz and it has 32 mb ram, and works as a great fileserver for 10 users. whoever said you need alot of computing power for a server is wrong
I run a light version of linux on my Compaq Ipaq and I think it's great. I can't wait until it becomes good enough to go into pda's full scale and replace proprietary OS's like palm.
That should run blazingly fast on my 100 Mhz pc. It currently just displays "operating system not found" upon boot up.
FoundNews.com - get paid to blog.,
Shouldn't someone host a mirror in case we slashdot IBM? =)
-------
"In times of universal deceit, telling the truth becomes a revolutionary act."
-- George Orwell
I already run a very svelt Linux. it's called SuSE.
There are several small distros designed to run on older hardware. Some, like tomsrtbt and coyote can run directly from a floppy, with no need for even a hard drive. Many of these started life as glorified rescue disks, but with the modular nature of Linux, it's possible, for example, to run a working mail-server on an old 386 with them.
THE GOOD HUMOR MAN CAN ONLY BE PUSHED SO FAR
Bart Simpson on chalkboard in episode 2F18
I'm currently going for a FreeBSD install on an older machine because it has an easy network-bootstrap install.
I did shoehorn Win98 onto a 486/66 for my burglar alarm, but it's not a pretty sight.
One line blog. I hear that they're called Twitters now.
Can someone with more knowledge give me some more info on the differences between DietLibC and uclibc? As in how much I save in binary size for both of them. Problems (something like it wont support translations is a big thing) such as feature Y wont work. Can I compile Gnome or KDE with them? I read the FAQ and both seem wonderfull and I really don't see why someone _wouldn't_ want to use them. So why wouldn't I want to use them?
-Benjamin Meyer
Do you changes clothes while making the "chee-chee-cha-cha-choh" transformation sound?
Great! but as tiny linuxes go, ramf has support for Reiserfs, and a lot of people I know rely on tomsrtbt . Almost all of the information in the IBM page submitted here is already available, but it's really nice to see IBM providing a stable home for this type of information -- while the original linux from scratch server flounders (was it those big bandwidth bills from being /.ed did it in?) and the first cool rescue thing I used, cclinux, has all but disappeared. sigh!
So thanks, IBM. This time.
Once I had a happy linux on a 386SX-16MHz very old laptop, without any working hard disc. :)
The floppy was enough to boot it, 4 Megs RAM is perfect for a small kernel, some shells and telnets, everything else (even the swap) comes through PLIP on the printer port.
It was much funnier than my VT420 terminal
A lot of the thanks should go to the work by uClibs and Busybox maintainers. Trimming the kernel is important, but the big savings in size is indeed the small footprint of the C libraries and the "combined" busybox binary.
How much space saving? Well, at my work, we initially prototyped some programs that ended up at around 1 MByte, statically linked to glibc. The same program was 120K after statically linking to uclibc, and then 35K after dynamic linking to uclibc.
I know there's various individual efforts out there to re-build Debian around uclibc. Imagine being able to put a full-featured Debian package on a business-card-sized mini-CD's that you can always keep in your wallet!
This is a joke? Delete any of the X11 poop if it somehow got installed, turn off inetd, kill and delete anything that isn't part of the machine's intended use, remove any unnecessary hardware, strip down the kernel ( if necessary ) and boot scripts, patch, use something like radmind to push this out to all of your machines, and then monitor.
This is exactly how I run my servers.
Real sys admins use a command line anyway (JOKE).
:)
IMHO It's not such a bad joke to run a machine command-line-only for a while, or permanently. The greatest service you can do to your general knowledge of all things computing, is use a broad range of machines/interfaces outside your common experience. When I started with linux, I just accepted it was mostly commandline stuff (that was a year ago) - and for my uses, it mostly still is. I've run PCs, Macs, Linux from only a command line, Linux with a GUI, Amigas, Dos, Windows, Netware - a bit of everything.
Jump into the command line-only thing for a while. run something lightweight on a 486 and enjoy the learning experience
Debian is already lightweight. Install the base system and whatever drivers you need. Don't select anything in dselect, and you're done; installs in under 10 megs.
-fb Everything not expressly forbidden is now mandatory.
From the FreeBSD handbook:
3.4. What do I need in order to run FreeBSD?
You will need a 386 or better PC, with 5 MB or more of RAM and at least 60 MB of hard disk space. It can run with a low end MDA graphics card but to run X11R6, a VGA or better video card is needed.
Maybe I'm lucky, or have low expectations, but I run Debian with GNOME on a Pentium 150. Works fine for me. I can surf the Web, read email or do word processing while listening to MP3s on XMMS. Granted, XMMS didn't work very well until I recompiled my kernel.
- - - -
The real Tetsujin 28 is a giant robot.
"apt-get remove -purge *", right?
Wah!
Here's what you need, straight from the source:
* 386 processor
* 16MB RAM
* 50 megabytes of hard disk space
* 3.5" floppy drive
By the way, that's not the requirements for an old version... That's for version 8.1 with the 2.4.18 kernel... Have fun.
1) Using a light linux distro on a really fast machine just makes it seem that much faster. There's no need to try to find some old and slow machine to take advantage of a fast and light distro.
2) The versatility of Linux is really inspiring. We have everything from floppy distros, and game machines to Gnome, KDE and Lycoris all using variations of the same kernel. I, for one, think that's pretty cool.
Hey, all, just to put this in context, I've been collecting some very old Itronix Mil-Spec laptops recently (one survived being thrown full-strength by me, a 285 pound ex-marine, from seven feet onto worn-out carpet over plywood, and booted up no problem) because I have a fetish for such things. Let's just say I have a thing for durability. The only problem is, the laptops have a "full environmental seal" which means no cd-rom, no internal floppy, no usb ports, etc. They only have a parallel and serial port, a phone jack, and a PCMCIA port protected with a cast aluminum door and a gasket. My weaker ones have eight MB of ram each and are only 486DX2-50's, with a 260MB HDD. My three stronger ones are Pentium 133's with 32MB of ram each, and about a 1.3 GB disk, with monochrome LCDs. Only one has color, but that one's just a 640x480 LCD. I wanted to run Linux, and not some quirky, doofy ancient Linux either. Here's how I got it to work.
/dev/sda4, i.e. the zipdisk). Zipslack booted with only minor difficulties -- I had to tweak a couple of BIOS settings, that's all.
/dev/hda1"
/mnt/hd.
/bin /mnt/hd/bin". Of course, I didn't copy /mnt or /proc. For those, I just mkdir'ed them in the new directory. Once I was satisfied that the entire zipslack system was copied over to the new partition, I edited /mnt/hd/etc/fstab and set up the "/" partition as /dev/hda1 (and set up swap as well, although I wasn't sure I had to do that). Then, I rebooted using the boot disk.
/dev/hda1. I booted into my hard drive's Linux, and ran liloconfig to set up automatic booting with LILO. I ran it in expert mode, and set up only one entry, i.e. that for Linux. Then I set it up to automatically boot into that entry with no delay.
;P
Step 1. I have an external floppy that connects to the PCMCIA slot, and a parallel port zipdrive. So, I downloaded Zipslack (available on the Slackware website) and the companion, fourmeg.zip, which creates a swap file. Zipslack is interesting because it creates a UMSDOS slackware installation on a zipdisk (just unzip it to the zipdisk). This can then be booted from the zipslack boot floppy (boot from the boot floppy, then direct root at
2. Once in Zipslack, I had to set up the Itronix's hard disks for Linux. So, first, I fdisked, and set up most of each disk as a type 83 Linux partition, and the rest as a type 82 Linux swap. I probably gave too much swap; I took a guess for the "big" ones and made it like 88 cylinders; I think it turned out to be better than 128MB (I made it a LOT smaller on my little ones). Next, I formatted the disk: I ran the command:
"mke2fs -L armadillo -c -c -j
This surprised me a little, pleasantly: I knew the two "-c" params would cause it to overwrite the disk with nulls, but it did it FOUR TIMES, which is pretty damn thorough. Once that finished up (it took at least an hour on my old machines) I mounted the disk as type "ext3" on
3. Now, I copied my entire root directory onto the mount point, leaving out the loadlin stuff and files that were obviously DOS related (like the DOS mount directory). I copied each directory using (for example) "cp -a
4. This time, I pointed the root directory at
The result is that my little Linux machines all work perfectly!
On my "big" ones, I put a bunch more stuff in. I put in the development disk set, plus x, xap, most of n, and this coming week I'm adding kde and gnome. On my "little" ones, I've only got 260MB of space, so I'm going to stick with text-mode. I'm toying with the idea of using emacs as an environment for those, IF the e set will fit on 'em of course.
The most expensive of these laptops was 150.00. The cheapest was 25.00. Zipslack was free. Now, is that a great deal or what? Especially considering they're like indestructible little armadillo monsters, right?
Oh, by the way: I'm using Zipslack 8.1 and I'll probably upgrade to 9.0 when it comes out. Gotta love Slackware! Bob RULES!
BTW: my grammar isn't so hot today. It's the Marine Corps Birthday (10 Nov) and the "Marine Corps Drink" is the Rum and Coke, so cut me some slack there (ha! get it? SLACK! I slay me)...
Farewell! It's been a fine buncha years!
I just don't see how it is feasible to leave dozens of tiny utilities littered all over the root filesystem.
/bin/busybox "command" [optional flags] or you can symlink/hardlink it to [command] and run it like the ordinary command.
/bin, not much added elegance.
Busybox works two ways, either
If you do it the first way, busybox "command" you'd have to type the extra letters all the time. You can alias it, but then you'd have to have a support issue with all the users unless you had universal aliases, and thats not optimal.
If you do it the second way, with the symlinks or hardlinks, you still have all the things in
The code in busybox gets complicated. The added elegance in the file system becomes complications in the source code. Any updates to any of the "functions" as busybox calls them, requires an update to essentially all your userland utilities (as expressed in busybox). Lots of updates, lots of testing, because now any change to anytihng in busybox requires you to test everything, because a change in the ls "function" is in the same code that contains your mount command, and your cat, and your rm, etc., and now you need to test all of those as well.
Shared code can go into libraries. That's why libc is usually dynamically linked, shared code should be shared. You get your elegance with asmall executable with much of it's guts in shared libraries. Elegance here causes ugliness there. You pick your battles, you do things the way you want to. That said, busybox is opensource, and all of the gnu utilities are opensource as well. I don't think the busybox folks would mind patches from you or any others that share the view. I personally don't agree, my "elegance" is in smaller utilities with well defined functions, and I would not contribute.
"I did shoehorn Win98 onto a 486/66 for my burglar alarm, but it's not a pretty sight."
where do you live again?
Gentoo may be another option due to its liteness upon default install. Everything and I mean everything must be configured and installed via "emerge x". This is also the downside. IF you have a slow 386 and a 28. modem for an internet connection you can expect s several day installation.
NetBSD seems popular with many users with old machines like ancient macs. It may be more minimalist but I have never used it. Perhaps someone who has could care to comment. I like FreeBSD because of the excellent book that comes with the box set which will be helpfull since you will not have any of the gui point and click utilities like anaconda and yast2 to setup your 386.
I like Linux myself because I am use to the SYSV init. I do not wish to start a flameware but FreeBSD is great for minimal installs and come with the best console documentation. It has its uses and if your use standard free software like sambe or apache, then a *BSD variant or Linux one wont matter.
http://saveie6.com/
I see a lot of positive comments about uClibc and it may work great for you but uClibc has a few sticky points. There are current issues with scanf, floating point format strings with printf, strcol, i18n support (e.g. iconv), some networking stuff, no threads, etc. This is great if you're building little commandline utilities like busybox but don't expect to be able to run something like a Java VM.
Sorry, I'm not impressed by this. 12 MB? I think I can run a vanilla Linux distro on that. I have and old IMB PS/ValuePoint 425SX/S (25 MHz, no FPU, 4 MB RAM that somehow refuses to be upgraded...anybody know why?) here that I wanted ti run Linux on. I couldn't get any Linux install floppy to boot and work on it, not even the ones that were advertised as working with 4MB core. I suppose this is due to IBM eating up 384 KB of memory (shadow ROM or something). Anyway, I made my own bootdisk with a 2.4.19 kernel with networking support, module for my NIC, and an uncompressed filesystem with busybox, fdisk, ip, mke2fs, insmod, mkswap and swapon, all statically linked to dietlibc. It worked great on my machine, allowed me to partition the hard drive, create and mount the swap partition, make and mount an ext2 file system, and install the files necessary for booting. I'm currently working on a uClibc-based system with picogui. It's almost finished and will be available from my website once it is. It could take some time, though, cause I'm overloaded with work these days.
---
Goto, n.:
A programming tool that exists to allow structured programmers
to complain about unstructured programmers.
-- Ray Simard
Please correct me if I got my facts wrong.
It took a lot of searching and a few false starts, but I finally got Linux going on my old laptop a few years ago. I guess I did it mostly for the challenge.
Specs:
386sx @ 16Mhz
5 Megs RAM (subtract a bit for BIOS shadowing...)
240MB HDD (half DOS, half Linux ext2)
No PCMCIA, Ethernet, or IR ports.
Currently boots MS-DOS/Win3.1 and then uses LoadLinux.
Installed: Perl, GCC tool chain, vi, and just barely enough of everything else to get by.
I tried FreeBSD first -- that's what I normally run on my Unix boxes. However, while it can run on 5MB, it is a real challenge to get it installed with only 5MB -- the installer needs 8MB, and with no swap partition set up, it can only use RAM.
I came to the conclusion that the main problem with running a nice OS on not-so-nice hardware is getting a swap partition set up. Once Linux and FreeBSD have a little virtual memory to use, they can get by on just 4MB. But until the swap partition is mounted, everything has to squeeze into that 4MB, and it simply doesn't work.
I tried a few other distros before I finally found something that worked. It was called "ZipHam Linux." It was a derivative of Slackware running 2.0.38, and specialized for HAM radio enthusiasts. Once I had a swap partition set up, I could actually do stuff. I transferred packages via MS-DOS's InterLnk (parallel cable) and upgraded to the latest kernel I thought would work.
Recompiling the kernel on a 386sx with 4MB of RAM is an exercise in patience. I think it took about 23 hours. But it compiled! Yay. And booted.
About a year later, I graduated from college, got a better job, and bought a more reasonable laptop. As a result, the old one doesn't see much use anymore. But I still think it is pretty cool. And since it is actually the only Linux box in the house (1 FreeBSD box, and I run Linux under Bochs occasionally, but no other hardware dedicated to Linux), I sometimes fire it up just for kicks.
Time flies like an arrow. Fruit flies like a banana.