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
tzanger
·
· Score: 3, Informative
whoever said you need alot of computing power for a server is wrong
Not entirely true, but that's close to what I believe.
I had an old P5-233/64M/SCSI system for an office fileserver. Upgraded the SCSI system to UW2 hardware RAID5 and had all manner of problem. Turned out that the TX chipset couldn't handle the newer PCI bus master. There's now a P2-233 in there but the bandwidth utilization graphs seem to indicate that the CPU is still the bottleneck (the LAN isn't saturated, and the sustained disk I/O could bury the LAN several times over). I think samba is having trouble keeping numerous smaller feeds open than one or two big pipes. Oh well.:-)
Re:cobalt qube
by
tconnors
·
· Score: 3, 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
As of this weekend, my 8MB, 33MHz, 2Gig disk, 486 runs debian testing. Good for an NFS link, RAM usage hits 5MB into swap, so all the ssh connections (all 2 of them) sit in swap, and have to be swapped in. But nfs-kernel-server takes bugger all, and doesn't get swapped, because it is kernel, so is quite fast.
Did I mention that the hard disk has plenty of bad sectors? Haven't lost any data yet:)
Re:cobalt qube
by
tconnors
·
· Score: 3, Interesting
As of this weekend, my 8MB, 33MHz, 2Gig disk, 486 runs debian testing. Good for an NFS link, RAM usage hits 5MB into swap, so all the ssh connections (all 2 of them) sit in swap, and have to be swapped in. But nfs-kernel-server takes bugger all, and doesn't get swapped, because it is kernel, so is quite fast.
I forgot to mention, the way I do an apt-get install/upgrade/remove, etc is to run apt-get on my 650MHz laptop, in a chroot environment over nfs, with/proc and/dev/ just --bind mounts to the local system (so programs don't barf on not having permissions to write to device nodes, and not having/proc files):)
Much much faster, concidering dpkg likes to chew through 16Megs of RAM:)
I once did a kernel compile on this machine, years ago, when it was deadrat 4, and nevel will, again.
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.
I've done experiments on my Samba P133/16mhz fileserver before.
With a 10mbit nic, the network is a bottleneck. With a 100mbit nic, the old IDE controller is the bottleneck. I believe with a modern ATA/100 controller, the machine should be capable of saturating that link. [Debian woody, for the curious - Also does NAT, dialup, mail, news and a few other goodies.]
The problem is, old machines can't support a lot of memory. In my case, where I'm accessing gigs of audio and video from the server, it doesn't matter. However, in an environment where the same files are being accessed over and over again, more memory will help performance - and this is where newer hardware shows itself. The latest K7/P4 boards can support a gig and a half or 2 gigs of memory. An old pentium board might have problems with 128. In a small office, it might not matter, but with a heavily used fileserver, it will.
I managed to get RedHat 6.2 on a pair of 486 thinkpads with 12MB of ram. They just boot X and act as terminals for my server. Handy for running a network in a hay field like I do every year at the Philadelphia Folk Festival.
The real trick was hacking the PCMCIA configuration and fooling it into treating my new DLINK PCMCIA cards like it would an older model. Not normally a problem, except you have to do it on the compressed block device on the install floppy.
-- "Learning is not compulsory... neither is survival."
--Dr.W.Edwards Deming
Re:cobalt qube
by
EvilTwinSkippy
·
· Score: 3, Interesting
Unless you are running some kind of supercomputing app, your bottleneck is the network card. I laugh when someone drops in a Dual 2Ghz rackmount to act as a file server.
Not too hard of course, I am one of those momos during the day. On the side I do a lot of volunteer work with Linux. You have never seen the light in a peron's eyes like when you tell them the only thing they need for their server is a bigger hard drive.
2 Laptops from Ebay: $120
New Hard drive and case, and a pair of PCMCIA network cards: $200
Old motherboard, CPU and RAM: Free
Being able to tell your wife that you DO actually use those old parts you keep in the basement: Priceless
-- "Learning is not compulsory... neither is survival."
--Dr.W.Edwards Deming
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.
Re:cobalt qube
by
sg_oneill
·
· Score: 3, Interesting
Indeed. I remember once recoiling in horror at an old job I did at the Dept of Justice, when a consultant insisted that for a ten judge lan for fileserving we needed to put in a netfinity thing with 4 800mz processors & a whole bunch of raidy nonsense. And then he specced 10mbit net cards (Can you still get these days?). I really just didn't get it. We put in 100s instead , and it's suffice to say that prior commissioning, it made a *mean* Quake 3 server!
-- Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
run feather weight Linux on my brand new hardware. Imagine how fast that would be !!!
Re:I would like to ....
by
nounderscores
·
· Score: 3, Interesting
I don't know, uClibc is supposed to have "made compromises" to get compactness over speed. I don't know whether this means using O(cN) where c is a bigger constant over an O(N) time algorithm or whether they went and used O(N^2) instead of O(N). I'd have get off my arse and read the source to tell you for sure.
anyway, if you have a fast machine, you probably would be better off using the algorithm which, say, has more instructions to keep you doing calculations in the most time efficient way than bottlenecking yourself to give you a few kb more available ram.
Then again one of Gordon Bell's laws says that "the simplest way to program something is probably the fastest" so go boot up a featherweight linux on your box, benchmark it and post the results to slashdot! You'd probably make the front page.
Re:I would like to ....
by
kungfuBreaks
·
· Score: 2
>using O(cN) where c is a bigger constant over an >O(N) time algorithm
Actually, O(cn) and O(n) denote the same class of functions if c is a constant (much like O(1) V.S. O(c) for any other constant c). You are probably referring to the fact that different functions in O(n) may require different constants c and n_0 (s.t. f(n) = n_0).
Re:I would like to ....
by
Daniel+Dvorkin
·
· Score: 3, Interesting
Yes, yes, everyone who's ever had an algorithms class knows that O(c n) = O(n) and that O(c) = O(1). But everyone who's ever written production code also knows that in practice, algorithms aren't O(n) or O(n^2) or some other O(f(n)) where f(n) has all the constants stripped out. They're best described as O(c1 f(n) + c2), where f(n) is n^2 or e^n or log(n) or some such -- and for large, or even not-so-large, values of c1 and c2, and for small, or even not-so-small, values of n, that can make all the difference. O(c n) != O(n) for practical purposes when c = 10 and n = 100. For instance.
-- The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
This is Insightful? I would go with Funny, but definitely not Insightful
Just because a light system runs faster on older hardware doesn't mean it runs faster on newer hardware as well. The reason that light software runs faster is that it occupies less RAM. If RAM is severely limited, this means that it also uses less _swap_. Swapping is slow (easily a factor 1000 slower than core), so less swapping results in more speed. Modern systems come with so much core that swap space is hardly needed anymore (I have 256 MB core and 128 MB swap, and my system uses about 100 MB in normal operation). This means that there won't be any speed gain from running in less memory.
Obviously, there are other factors involved. Vanilla Linuxen tend to give you KDE or GNOME, which are knowm memory and CPU cycle hogs. This is the price you pay for all the eye-candy, ease of use, and other goodies you get. I use WindowMaker, which is fast, uses little memory, is easy to use, and has some nice features like hiding or unhiding all the windows that belong to one app with one command. It works like a blaze on my Duron 900 MHz with 256 MB core, but just as well on my Pentium 200 MHz with 64 MB core.
--- 'I generally avoid temptation unless I can't resist it."
-- Mae West
Impressive! I've coded sloppy, but don't think I've yet programmed an algorithm that was exponentially bad like
t ~ e^n
but I will admit to coding occasionally to singularities like
t ~ c_1 * n + c_2 / (n - n_critical)
-- "Provided by the management for your protection."
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.
I've heard rumors of people getting Palm to run Linux, but I've never seen evidence of success. The Palm lacks certain architectural features, such as an MMU, that make it possible to write a truly powerful multitasking OS. I don't think you'll ever see Linux on the Palm, and if you do, I don't think it will be something you want on your own Palm Pilot.
On a better system, such as an IPAQ, the story can be completely different...
-- Time flies like an arrow. Fruit flies like a banana.
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...
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...
I'm the (mostly) happy owner of a uCSimm module, and the damn thing works just fine. The Ethernet was really slow on the kernel 2.0.38 based uCLinux that came with it (no DMA - probably a HW issue), but other than that a fine piece of equipment. The whole things runs out of about 700 kb of Flash, and the RAM footprint is roughly the same size - about half of that looks to be buffers for various Linux purposes.
The biggest problem was (and is) that the Dragonball (the nickname for the 68EZ328) has no concept of process isolation (no MMU on these babies), but that's exactly where uCLinux reigns supreme. Kind of makes the Linux experience more DOS-like, in that some stray pointer can damage OS internals. No way of avoiding that on the given HW, I know - but still a considerable headache.
Can someone please enlighten me as to the footprint and stability of the 2.4.x line of uCLinux kernels?
As long as it sycns with my main apps, what would the problem be? I can ditch it and sync to another PDA OS in hours.
And if it doesn't sync with my desktop apps, then there's no way I can use it.
I'd like it be open source if that doesn't mean less revenues for them. I better like several monopolies than 1 monopoly + a buch of rebels like us linux users (because we are, I'd have less trouble using Windows...).
As long as it sycns with my main apps, what would the problem be? I can ditch it and sync to another PDA OS in hours.
Someone could have made this same argument with Microsoft back in the early 1980's. But nobody recognized the danger.
Imagine. Hypothetically. Palm OS increases market share to nearly 100%. Then they get greedy. They decide that the license alone should cost $70, and that the price should be increased by $10 per year.
Sure, you can ditch one handheld for another. You still pay the PalmOS tax. This scenerio is so similar to the current Microsoft + OEM love slaves that I cannot begin to list the analogies. In fact, I should use the word identical instead of similar.
If I could get the Palm OS from multiple sources, AND the hardware from multiple sources, then I wouldn't mind. I might not mind even if it were NOT open source. No single vendor could hold me hostage. They could not discontinue Palm OS 6 and force me to Palm OS 7 by using incompatibility tricks ala. MS Office. (Hey, some people still run the Linux 2.0 kernel.) A collusion of vendors could still hold me hostage, but price fixing is much easier to proove.
So far, my concerns are all hypothetical. Thank goodness.
As of today, I use and enjoy my Handspring device.
Finally, I would suppose that the API set for Palm OS is much smaller and better organized than the Windows API, and therefore a WINE-like emulator would be doable on top of another core OS should Palm ever turn nasty.
--
Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
Agreed: try as they might, the risk of getting stuck with a PalMOS monopoly fiasco is very very low (they don't have 30 billion in the bank, and never will for sure!).
By the way, I don't use any Palm app at all. I use ActionNames (Agendus now), Space Trader, Chess Genius and an outliner. I am buying the concept only. I don't think they can monopolice the "Palm" way of doing things. I don't even like Grafitty much (though it works well).
From the other end of the discussion...
by
xenoweeno
·
· Score: 2, Interesting
...how can I "light-weight-o-fy" my existing Debian installation? It's running on a POS Compaq Presario with an AMD K6 233 and 32mb of ram, and even a few copies of spamassassin running will thrash the drive for a good minute and a half. KDE actually "runs", but only in the most comical sense of the term.:-|
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.
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!
Re:From the other end of the discussion...
by
helmutjd
·
· Score: 2, Informative
First, ditch KDE and grab a lighter-weight window manager like BlackBox or TWM. Better yet, if possible, ditch X altogether and use the console.
My main network/internet server is a measly ol' IBM Pentium Pro 200MHz. I could upgrade it (I've got several much faster systems gathering dust) - but why?
It handles my light website traffic (a few thousand visits/day) with Apache/PHP/MySQL, and runs Squid, ProFTPd, Qmail, JabberD, and Samba for fileserving to the network... plus whatever I want to do at a console. And it barely breaks a sweat.
Re:From the other end of the discussion...
by
mhesseltine
·
· Score: 2
It's running on a POS Compaq Presario with an AMD K6 233 and 32mb of ram, and even a few copies of spamassassin running will thrash the drive for a good minute and a half.
I just ran into this on a P60 with 40mB RAM. Try turning off the remote checks. Also, if you're running Exim, there's a setting to control how many simultaneous messages it tries to deliver. Each time it attempts a delivery, it forks a Spamassassin. Try searching Google groups for "slow debian spamassassin" and see what you get.
Re:From the other end of the discussion...
by
odaiwai
·
· Score: 2
Use the spamd daemon and you won't have constant forking.
dave "sounds vaguely rude"
Re:From the other end of the discussion...
by
shellbeach
·
· Score: 2, Informative
First, ditch KDE and grab a lighter-weight window manager like BlackBox or TWM. Better yet, if possible, ditch X altogether and use the console.
Actually, E and IceWM work as fast as any on slow hardware. I spent most of 2001 travelling in Europe and took an ancient P120 laptop with me - I tried various "light-weight" window managers (KDE took 5 mins to start up from the login screen (I timed it!) so it wasn't an option) such as blackbox, IceWM, TWM and FVWM, and as far as I was concerned it was E and IceWM that won the day. (IceWM was extremely impressive, starting in just under 3 secs from login in its 'light' form; E took maybe 10 secs, but was still extremely acceptable)
The interesting thing about both of these WMs though is that they're still being used on current, fast hardware as well - unlike TWM - and are actively being developed (although, I don't know if you could say E is being developed "actively":)
Re:From the other end of the discussion...
by
pyr0
·
· Score: 2, Interesting
Actually, if I'm not mistaken you can just install the base tgz package, which is a fully functional, basic, bootable, root filesystem. You can use this for things like this: http://www.menet.umn.edu/~kaszeta/unix/xterminal/
Re:From the other end of the discussion...
by
Some+Dumbass...
·
· Score: 2
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.
I'm not sure I buy that. I just installed Potato on a small machine (486-33, 8M RAM, 200MB HD) and the smallest install I could get was about 50MB. Perhaps I could have removed perl as well for a few more MB (even though it strongly warns you not to), but leaving in all the "required" stuff, and a few obvious tools (like some kind of text editor!) must take up at least 40MB.
10MB would just barely fit the kernel (including the various modules) and the basic set of utilities. It's enough to build on maybe, but it's not a very useful system by itself.
Re:From the other end of the discussion...
by
gl4ss
·
· Score: 2
ditch kde/gnome.
and get some more mem. if you intend to run anything graphical else than 1 browser window. in fact, get more mem anyways, ask around your friends. older mem is surprisingly easy to come by.. i got a bagfull of 'em including couple of 32mb sticks.. 96mb seems plenty for browser/irc/mp3player machine.
icewm is good for 200mmx, maybe some others too.
and get your gfx card settings right, and get a 'decent' card. moving away from integrated s3 to mga did all the difference for me.
anyone know a lightweight windowmanager with beos skin/behauvior?
-- world was created 5 seconds before this post as it is.
Re:From the other end of the discussion...
by
Tetsujin28
·
· Score: 2
I'm interested. How much RAM do you have ? I must install something similar (web, emails) on a Cyrix P166+ with 32Mb...:-{
My P150 has only 32 MB of RAM. I foget how much swap space I have (I'm not on that machine at the moment), but it's not huge. (My Debian instsall is on an 8 gig hard drive.)
-- - - - -
The real Tetsujin 28 is a giant robot.
Re:From the other end of the discussion...
by
Tetsujin28
·
· Score: 2
Gnumeric and AbiWord, so that might be a good alternate choice.
AbiWord and GNUCash both work OK on the P150+Debian box I described above.
-- - - - -
The real Tetsujin 28 is a giant robot.
Re:From the other end of the discussion...
by
fishbowl
·
· Score: 2
You are not mistaken, and the replies to my original post seem to all be from the point of view of installing the *default* debian distribution. I'm not talking about that at all. I'm saying, get your kernel to boot through whatever means necessary (I tend to use floppies), and on your filesystem, untar base2_2.tgz. So nowadays it's closer to 50 megs than 10, but it's as lightweight a system (in all resources, not just disk) as linux gets. There is quite a bit that can be deleted from base if you know what you are doing. I think you can shave 16 mb off, just by deleting the locales and conole fonts for languages you don't need.
Now on the other hand, I've actually had a debian install run a 4 GB partition out of space -- all bets are off once you start adding packages. I still think it's a useful exercise to look at base2_2.tgz, and note what it contains. Carefully consider what you need besides that, because it might not be much! SSH, and what else?:-)
-- -fb
Everything not expressly forbidden is now mandatory.
Re:From the other end of the discussion...
by
fishbowl
·
· Score: 2
You are referring to the *default* installation, not the base system. Look at base2_2.tgz by untarring it in/tmp or something. It has a lot of essential stuff. If space were truly at a premium, it would be a great place to start.
What you installed that took 200MB was not the base system, but, many packages which (1) supersede some bins and libs in the base, and (2) adds packages that are considered "basic", but perhaps not "essential".
In some instances, all I want is a terminal (the console will do) and an ssh client. With a bit of work, I believe I can make that happen given a debian distribution to start with, in 10 megs. I probably need more than that to install and then delete stuff, but still, it's pretty easy to pare the system down to essentials.
-- -fb
Everything not expressly forbidden is now mandatory.
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:
microsoft.com has address 207.46.230.220 microsoft.com has address 207.46.249.27 microsoft.com has address 207.46.134.155 microsoft.com has address 207.46.134.190 microsoft.com has address 207.46.134.222 microsoft.com has address 207.46.230.218
so does... timewarner.com has address 64.12.146.40 timewarner.com has address 205.188.238.65 timewarner.com has address 205.188.238.66 timewarner.com has address 205.188.238.67 timewarner.com has address 205.188.238.68
-- What we see depends on mainly what we look for. -- John Lubbock
Now search for that bug slave!
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.
Older OS's?!?!
by
Anonymous Coward
·
· Score: 3, Insightful
What's wrong with using an older OS on older hardware?
MS-DOS etc all had X-servers that used little memory + other useful tools.
You'll find little advantage in squeezing linux on really old machines.
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.
Re:Older OS's?!?!
by
Anonymous Coward
·
· Score: 2, Interesting
I don't agree. For fun I installed FreeDOS in a P133. I put in a NIC card and hooked it up to my switch no problem. I even run the Arachne browser on it. Not too shabby. The P133 is pretty high end for FreeDos as it will actually run on an old XT. If you check out the FreeDOS website you will find people who have web servers running on XTs, 286s, and up.
I actually dual boot the P133 into Debian as well. IceWM & Dillo actually are make it quite a snappy setup.
Re:Older OS's?!?!
by
larry+bagina
·
· Score: 3, Funny
I did shoehorn Win98 onto a 486/66 for my burglar alarm,
If you use barts boot disk (dos), you can have a floppy install that will will load tcpip and an ssh client. I dont have anything slower than a 486, which was 25 bux at a used hardware shop. Makes a great terminal box.
What about networking? Most MS-DOS networking was really butt-ugly.
I posted a comment about Barts network boot disk, thought I'd add some info, he currently supports most nic cards and tcp-ip and netbios, even ssh/scp. SSH supports all visual modes, so VI and screen works prefectly. Barts gives you an nice gfx gui to setup tcp/ip with a dhcp option, cant get much easier than that. It even saves your settings on the boot floppy in a config file.
Re:Older OS's?!?!
by
AndroidCat
·
· Score: 3, Funny
For the basic functions, I could have used my Micro Coco MC-10. Monitor a reed switch, take keyboard entry, network, trip an alarm relay, even Windows can manage that.
But my cunning plan was to have a talking clippy-type character pop up on the screen and annoy any burglars away. ("You seem to be trying to break into the apartment...") I'll just have to make do with a wonderfully robotic text-to-speech card. I might still keep Windows on that machine, FreeBSD on others.
The networking part is so that when he switches that machine off, he gets a surprise. ("No Jacque, not this dam...")
-- One line blog. I hear that they're called Twitters now.
Ha! Too slow! I just scrubbed Windows and installed Linux (Ye olde Slackware 2.1). FreeBSD kept hanging on initing the ISA, and I had the CD handy, so why not?
Sure, it's an old insecure copy, but how secure does a burglar alarm have to be? (You know what I mean.:^)
Funny how the machine suddenly went from feeling like a wheezing basketcase to more like a mainframe...
-- One line blog. I hear that they're called Twitters now.
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
As do I.
Tiny linux distros work great for do simple tasks with hardware that would otherwise sit in your closet.
I use an old P100 with a couple network cards in it as my router.
It works great:
coyote# uptime 03:29:25 up 19 Days (463h), load average: 0.00 0.00 0.00
It's been 19 days since I put it on a UPS:)
-- Life is too short to proofread.
Feather weight OS's
by
AcquaCow
·
· Score: 2, Insightful
I think it would be really nice if for once, operating systems tried for a lighter approach to their installs. I know most unixes provide base, custom and full installs, but perhaps someday MS would like to try a light install. Give me XP w/o the Fisher Price colors, w/o the various menu display methods. Stop trying to sell your OS based on features that should be optional. Start trying to sell your OS because its good, not because it has 300+ ways of displaying the same thing. Do something and do it right damnit.
-- AcquaCow
--
up 12 days, 22:30, 2 users, load averages: 993.20, 994.21, 994.56
*makes note to limit user processes...
Re:Feather weight OS's
by
ni5mo
·
· Score: 3, Interesting
Try LitePC. They have a product called 98lite which allows selective install all non necessary os components, as well as 4 pre-defined install sizes. Their micro option can install win98 in under 50MB. It also allows you to replace the gui with the win95 interface for even more speed.
They are currently working on win2K-XP version, but work is understanably slow.
Seriously, check it out!
Re:Feather weight OS's
by
AcquaCow
·
· Score: 2, Insightful
Yeah, I played with 98lite for a tad. Quite nice. The thing is, third parties need not do this. The maker of the OS needs to do this.
-- AcquaCow
--
up 12 days, 22:30, 2 users, load averages: 993.20, 994.21, 994.56
*makes note to limit user processes...
perhaps someday MS would like to try a light install. Give me XP w/o the Fisher Price colors, w/o the various menu display methods
That's pretty much what runs on the X-box, isn't it?
Don't run a GUI for a start.
by
AltGrendel
·
· Score: 2
Trim any and all services, cut it down to the bare bones.
Real sys admins use a command line anyway (JOKE).
-- The simple truth is that interstellar distances
will not fit into the human imagination
- Douglas Adams
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:Don't run a GUI for a start.
by
Alien+Being
·
· Score: 3, Informative
"Delete any of the X11 poop if it somehow got installed"
He should leave it installed unless disk space or security are the issue. Even if he can't afford the ram/cycles to run an X server, he can display apps remotely when he needs to. But really, he should install some more RAM and give the poor disk drive a break.
Re:Don't run a GUI for a start.
by
rutledjw
·
· Score: 2
I thought inetd was required so that the machine could resond to incoming connections. But I just killed inetd and tried to ssh the box and guess what happened?
It worked...
OK, so I'm confused. What is inetd really used for? I assume the reason this worked is that I had an ssh daemon running. Is that right? inted is used to respond to incoming connections when there isn't a daemon already running.
--
Computer Science is Applied Philosophy
Re:Don't run a GUI for a start.
by
Clover_Kicker
·
· Score: 2
>OK, so I'm confused. What is inetd really used for?
DESCRIPTION
inetd should be run at boot time by/etc/rc (see rc(8)). It then listens
for connections on certain internet sockets. When a connection is found
on one of its sockets, it decides what service the socket corresponds to,
and invokes a program to service the request. After the program is fin-
ished, it continues to listen on the socket (except in some cases which
will be described below). Essentially, inetd allows running one daemon
to invoke several others, reducing load on the system.
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.
backward compatibility problem... people keep trying to link directly to glibc's internals
Can you give some examples? I've been using non-glibc systems almost exclusively for the past couple of years (FreeBSD, Solaris), and all the latest open source stuff compiles just fine, except maybe for a few header tweaks on some programs that were only tested on Linux.
"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..."
I am afraid I do not udnerstand - how can static linking reduce a program's size? I'd think it does the opposite. No? Unless you mean, reducing the amount of memory the program takes up when it runs. In that case, that yould only be true if a single instance of a program that was dynamically linked to glibc would be running. Considering that everything out there uses glibc, I think it is really cool that you can just dynamically link it and save memory. Yes?
In my book static linking is always a big no-no, unless the libraries you use are not meant to be used by other programs anyway. Which is sometimes true for in-house stuff. But we used to make all code re-entrant and available as dynamically-linked shared libraries from the outset. Made things easier.
What I've never figured out is why they don't simply split up libc/glibc/uclibc/etc into separate libraries like it should be.
The Standard C Library should be a distinct library from the rest of the stuff. The reason they're together is historical. They don't need to be together today.
-- A Government Is a Body of People, Usually Notably Ungoverned
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.
Re:IBM provides a stable home for "little linux"
by
1%warren
·
· Score: 2
was it those big bandwidth bills from being/.ed did it in?
LFS was hosted by VA Linux Systems - the people that own Slashdot.
--
Full plate and packing steel! -Minsc
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:)
Re:386SX16, 4M RAM, no HD, parallel port
by
AndroidCat
·
· Score: 3, Interesting
I ran a multi-user BBS on a 386-25 with 8M ram. Two phone lines, console, virtual consoles, and telnet from the Windows box. Slackware Linux (1.2, 1.3?)
I might haul that CD out for my 486-66 32M ram, which is being used as a burglar alarm. (Hey, I need some platform to plug my old ISA cards into.) With all the bugs in the software, I'd never put that machine on the Internet, but on the LAN, who cares?
-- One line blog. I hear that they're called Twitters now.
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?
Heh - I guess I left out an important bit of data...
We built static glibc because we couldn't fit the glibc shared libraries on to our fs -- glibc libraries totaled to 11 MB. uClibc's libraries totaled to 1 MB.
My embedded system just had enough room to store about 4 MB of files. That made using shared glibc impossible, and statically-linked glibc usable for a few programs. After uclibc, we crammed in a heck of a lot more programs.
Mind you, there are other solutions to cramming the code. There are library "reducers" (I think they're called?) that will analyze a collectino of programs and build a partial glibc that only contain routines used by your programs.
It depends on what you want to do -- but when you are running on a resource limited platform to run only a handful of programs (as is often the case with embedded systems), the memory footprint of the shared library does matter.
Also, it turns out that glibc and uclibc have different startup code, and the startup code for uclibc is smaller than that for glibc.
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.
On the resource side, I had 12 MB of memory and a 540-MB hard drive to work with.
My first linux install was a 486DX2, witn a 66Mhz chip, 4Mb of ram, and I was installing onto an 80Gb hard drive.
Before this sounds like a "When I was a Boy" story, I could install X and gcc, but not at the same time. When I say I could install X, it would run... If anyone knows the screensaver "flame", I couldn't get it to update faster then once every 5 seconds, no matter what I tried.
Just because something is possible, doesn't mean you want to do it.
-- Democracy isn't about no one telling you what to do. It's about everyone telling you what to do.
Re:low resources
by
BitHive
·
· Score: 2, Interesting
What kind of mainboard for a 486 would support an 80GB disk?
Mind you, it handled the 4GB disk quite well, once linux booted. Of course, it had a bit more ram then.
-- Democracy isn't about no one telling you what to do. It's about everyone telling you what to do.
Re:low resources
by
dasunt
·
· Score: 3, Informative
As long as the bios can see enough information to boot linux, the linux kernal can access any disk, independent of the bios. I have an 80 GByte disk in my pentium 133, and the bios refuses to see it, but has no problem booting since the boot partition is on a smaller 1 Gbyte disk, which then mounts the 80 gigger as/home
I'll have a look at that. Does it work in ed? (don't laugh, I have to use that sometimes)
-- Democracy isn't about no one telling you what to do. It's about everyone telling you what to do.
Use Busybox in all distributions
by
Istealmymusic
·
· Score: 2, Interesting
Why can't Busybox be used for regular, 24/7 server use? It seems to provide all the necessary building block utilities one would expect in any Unix distribution; I'm up for it replacing/bin/* completely.
-- "The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
Re:Use Busybox in all distributions
by
big.ears
·
· Score: 3, Informative
I just don't see how it is feasible to leave dozens of tiny utilities littered all over the root filesystem.
With busybox, you just end up leaving dozens of symlinks littered all over the root filesystem. (bb looks at what the symlink it is called from is named and executes the proper command). From a file-system path search perspective, it is exactly the same thing as a bunch of little binaries. Plus, you get the advantage of easier maintenance, more functionality, better performance, easier drop-in replacement, and less chance of a developer turf-war (the maintainers of 'find' don't ever need to talk to the maintainers of 'grep', etc.).
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:Use Busybox in all distributions
by
dvdeug
·
· Score: 2
Why can't Busybox be used for regular, 24/7 server use?
Because it provides minimal versions of all tools that are sometimes much slower than the normal ones?
What about Linux from Scracth?
by
Wheaty18
·
· Score: 3, Informative
Re:BSD's to the rescue
by
Istealmymusic
·
· Score: 2, Interesting
I find this 386 minimum requirement quite interesting. For all intents and purposes, the IA-32 architecture has only slightly changed from generation-to-generation with extensions such as machine status registers (MSRs), or MMX and SSE support. However, the 386 is different from previous iterations in that it supported 32-bit protected mode, which all operating systems utilize today to their fullest capacity, though some ignore features such as code seperation via segmentation and paging (ironically, Palladium claims to provide these features but it is actually the 386 platform which does, right now.)
Anyone remember Windows for Workgroups 3.11? It could run in "enhanced" mode which was 32-bit pmode, or "standard" mode--you guessed it, 16-bit pmode. Since I assume 32- and 16-bit protected mode are similar in intent but varying in widths, does this mean FreeBSD can be slightly modified to run on a 16-bit 80286? What about Linux? (No, I don't want to run Minix.)
-- "The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
Try Slackware
by
theBraindonor
·
· Score: 5, Informative
The Slackware ISO is bootable. I literally just installed Slackware on Friday that way. I don't know why they list a floppy drive as a requirement, but if you have a CD, you can do it.
Until Slackware 9 comes out, why you'd want to is another issue, but . . .:)
Several original Pentiums boot fine from CD, as do some of the later 486s.
small size does come with a price
by
updog
·
· Score: 3, Interesting
"I was introduced to both uClibc and BusyBox, both of which I ended up using."
I spent several months with a small group of people putting together an embedded system, which used both uClibc and Busybox. While these are undoubtedly excellent pieces of open source software which are great for embedded systems, I find their use questionable for everyday desktop computing.
For example, many features you take for granted, say, with bash (such as compound commands, the full featured command execution environment) are not available with the smaller, simpler shells in Busybox.
The small size does come at a price... after all, the reason they are smaller is because along with the bloat, some of the less frequently used functionality has been removed.
Re:BSD's to the rescue
by
dokebi
·
· Score: 2, Informative
This question actually comes up every once in a while. The answer from the developers is that AT&T Unix (and therefore BSD) was always 32-bits. Thus the first PC port of BSD was on a 386 (in protected mode). It would be almost impossible to re-write the kernel to 16-bits, unless they were re-writing the OS from scratch.
-- In Soviet Russia, articles before post read *you*!
what's wrong with Debian?
by
twitter
·
· Score: 3, Interesting
...a mint condition IBM ThinkPad 755C... On the resource side, I had 12 MB of memory and a 540-MB hard drive to work with...I planned to use the laptop for writing and for remote access to my more powerful desktop development system. Therefore, I needed a system with network support, a shell, a text editor like vi, CVS for versioning my documents, and SSH for secure remote access.
Huh? Those are really light requirements and with some additional RAM, that laptop could run X without a problem. Debinate it!
My 760LD has only 24M of RAM. It felt a little crammped with the 800 MB hard drive that came with it, but the only thing tedious about the installation of 2.2 potato was making the base install floppies. Once that was on, I could put the CD ROM in and zippy, no problem. The same har drive then worked with a much older Toshiba 468 with 8 or 16 MB or RAM. Yes, it does ssh. I got a bigger hard drive to feel less cramped and get more window managers. Using OLVWM I was able to make it display more than 256 colors, but it was stable with all the window managers I tried was stable with 256 colors. I probably boned up the ammount of RAM the card actually has, or missed some kind of shared memory thingy, shrug, it works.
For the lighter requirements this guy has, he should have loads of extra space and it should work just snappy. My 486 gateway runs a little ftp, ssh and most of the standard distro. It takes less than 150 MB of system files to do that, leaving 350 MB for temproary files.
Indeed, this fellows low expectations for his hardware should make the insalation much easier. I recenlty built a debian box on a 33MHz 486 with 8 or 12 MB RAM. It was painful, but you can just drop your hard disk into a nicer box and just put on the few things you want from a vanilla i386 binary install disk. If all you put on is i386, just put it all on in something with a little more RAM and pep, then drop it into your target. The kernel should adapt to it's new environment.
Apt-get upgrade was a little painful last time, with the new OpenSSH stuff but it did, finally, work. I had to manually dpkg the new packages and read the error messages and it took a day, grrrr! I should have left it alone, but I'm glad it's done.
Oh well, the man's effort is not wasted. His site is great for those who wish to really cut out the fluff and have a beautiful Spartan install. For the rest of you, I recomend the much easier Debian apt-get path.
--
Friends don't help friends install M$ junk.
Re:what's wrong with Debian?
by
moosesocks
·
· Score: 2
Quite frankly, I'm suprised that either of you actually successfullly installed Linux on either of those machines.
The IBM 755,760 series was quite well known for its proprietary hardware. I owned a 755c and 760c (both were used and over 3 years old when I got them).
The 755 is a 486/66, had no CD-rom, no networking, etc without the need for a PC card (which required a proprietary driver)
The 760 is a Pentium/90 with an optional cdrom (which I didnt have), but still no networking.
I had no desire to use debian, as I had little linux experience a the time, and had no other choice but 3 cd-based distros. I eventually gave up.
But I digress. Most people don't realize that their needs for a server could probably be fufilled with a base install of debian or gentoo with all of the extra crap cut out which they don't need (does a fileserver really need http, ftp, and mail daemons running?)
-- --
If you try to fail and succeed, which have you done? - Uli's moose
Re:what's wrong with Debian?
by
nels_tomlinson
·
· Score: 2
I'm running Woody on an old Dell Latitude 475XP: a 75MHz 486 with 12 MB RAM and a 3GB hard drive.
It is slow, but Blackbox or Icewm are practical to use on it. I can run Blackbox and an Xterm and one of Dillo or Abiword or about anything but OpenOffice or Mozilla or Emacs. Emacs is quite snappy without X, though.
Apt-get upgrade is slow; it takes it quite a while to thrash its way through building the package lists. But, it does the job, and I have a throughly up-to-date ancient machine.
If I could find some 72pin EDO SODIMMs to upgrade the memory, it would be a really adequate little box. It's only the disk thrashing that really slows it down. As long as it doesn't go into swap, it's surprisingly responsive.
Imagine a beowulf cluster of these!
by
SensitiveMale
·
· Score: 3, Funny
Or install linux on an AMD Hammer.
Same computing power.
Re:Imagine a beowulf cluster of these!
by
evilviper
·
· Score: 3, Funny
That reminds me... Some time ago I overheard a conversation about Linux packages.
Person 'A' asked person 'B' about the 'i386' notation on all the RPMs. 'B' said that it meant it was compiled on a 386. 'A' asked how someone could compile all those files on an old 386. 'B'managed to convince A that they have a cluster of hundreds of old 386's where they compile all the source code into RPMs.
Re:BSD's to the rescue
by
AndroidCat
·
· Score: 3, Insightful
Umm, this isn't a flame, but why a 286? Three years ago, you could dumpster-dive for all the 486's you could cart away. (With memory and video even, since it was of no use in newer systems.) I hate to think on what the current "state-of-the-dumpster" is.
That said, Mark Williams used to have Coherent 286. Proprietary, but not bad for its day. The company is long gone, but someone might have a copy. I used Coherent 386 for a few years until MWC died and Linux stablized.
-- One line blog. I hear that they're called Twitters now.
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.
Looking forward to the next installment
by
kbielefe
·
· Score: 3, Interesting
I have a 486SX/33 that I put Linux on a couple of weeks ago. I plan to eventually use this system for playing ogg files over my home stereo system. Now that tremor has been released I don't have to worry about not having a fpu.
I started with tomsrtbt on floppies, then installed it onto the hard drive. Once I had a working system I compiled a kernel with the sound card and network drivers and copied that over. Everything works great. There's something surreal about using a kernel that was just updated last week with hardware that hasn't been sold in almost 10 years.
I'm having trouble statically linking sshd, so I'm looking forward to the next installment. Shouldn't be too hard to set up dynamic libraries, but advice from someone who has done it already always helps.
-- This space intentionally left blank.
Re:Looking forward to the next installment
by
zcat_NZ
·
· Score: 2
You won't be able to play regular ogg's on a 33MHz machine, even if it had an FPU. You could possibly play them on a 486 DX4-100 with nothing else running, and you can easily do it on a P90..
I've played mp3's on a DX2-66 before; even with a custom kernel and booting directly into a bash shell you still can't play them at 44KHz stereo.
OTOH if you're playing low-bitrate (16-32 kbps) ogg's (perhaps for recorded speech or telephone hold music) that would probably work..
-- 455fe10422ca29c4933f95052b792ab2
Re:Looking forward to the next installment
by
kbielefe
·
· Score: 2
You're probably right, but that won't keep me from trying. I've seen standalone MP3 players with processors around 10 MHz. Of course, those have separate mpeg decoder chips. 44.1 kHz stereo is 374 clock cycles per sample at 33 MHz. I'd say that brings it in the realm of possibility for an experienced C and assembly coder, especially with nothing else running. If worse comes to worse, I can do the decoding on another machine on my LAN and just stream the raw PCM over.
On the bright side, maybe extremely poor audio quality will convince my wife to let me spend some money on the hardware I really want. A new mini-itx system with dvd recorder for the all-in-one dvd player/ogg player/cd player/pvr/dvd recorder system I have in mind. Ah, I can only dream right now.
LFS was a great tool for me. Before LFS, I didn't really understand how to customize my bash prompt, controll where software was installed to, edit runlevel and startup scripts, or a thousand other things that any Linux user SHOULD be able to do.
But, alas, what killed it for me was the complexity of the modern desktop. KDE was easy to compile and install, but a thousand neat little features of KDE (like the audio cd to mp3 interface) never worked right. Any time I saw something cool, I needed to go back and recompile some new flag into some library...and then recompile everything thay used that lib. It was a major PITA.
LFS should be everyone's first distro. The ammount of knowledge you gain from struggling with something as simple as getting 'ls' to output in colors will help tremendously in the rest of your linux journey. That being said, the LFS community probably isn't up to the task of supporting hundreds (thousands) of newbies. Especially if they bombard the IRC channels with even a tenth of the questions I laid on those guys.
LFS is awesome for a learning tool, and I want to thank the LFS community for their project/product.
-- I'd rather you do it wrong, than for me to have to do it at all.
I think slackware teaches you just as well, If you want to learn. man 1 bash should be required reading, as should vimtutor. Gentoo is also nice for learning, but I definitly agree with you about nothing working until you go and recompile 1000 libs. Thats why I prefer debian, Most things work by default, and anything that dosnt is an apt-get or two away. Debians menu system is great to, All packages install a menu file entry, then window manager menu's are dynamicly created based on that. For example, if you have blackbox and kde installed, when you startx the kde and blackbox menu files are created based on a database of installed apps.
For more info, See apt-cache show menu
-- Pain lasts, kid. Its how you know you're alive.
Sometimes I think this growing up thing is just pain management-TheMaxx
but arent most distros pretty much lightweight in the first place, its is mostly during the install that you can choose whether or not to install bloat
Conversely, you would be surprised at how many people would have taken the great-grandparent post as fact if left unmoderated.
Think of it as evolution in action...
-- A Government Is a Body of People, Usually Notably Ungoverned
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!
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.
"Minimal" system my arse!
by
zcat_NZ
·
· Score: 3, Interesting
I'm highly amused by some of the comments in this thread; from my own perspective anything better than a P100 w 32M ram is a perfectly acceptable system. My main machine right now is a P166 with 64M and as well as using it for browsing, programming, etc it provides NAT, DNS, dhcp, apache.. I'm planning to upgrade sometime (probably to a P233, I had one last year but it died:( ). I'm in no hurry; this machine does everything I need for now.
My first linux machine was a 386 with 4M ram. I had to upgrade to 8M fairly quickly because it would totally thrash when I tried to compile the kernel (or almost anything else bigger than hello.c) and I couldn't run X at all until I got a 486..
Kids these days.. bah!!
I'll bookmark the link though; I have a spare P100 with 8M on it that I'd like to turn into a dedicated mp3/ogg player.
-- 455fe10422ca29c4933f95052b792ab2
the inverse is a good idea.
by
twitter
·
· Score: 3, Interesting
Imagine how fast that would be !!!
Well, just pull up a console, kill all your services and boggie. It does make a difference. Your nasty math problems will be able to suck up all your memory and little will interrupt. You can go down from there if you wish. Boot up with grub to ye new Spartan kernel, and define a run level that's just like you want it and kick some ass. Spend a few more bucks to set up as many machines as you have projects. SSH into it to start your problem and then get your answer.
Pitty all OS are not so easy to configure. You want more, you got it. You want less, OK. You want to throw everything you got at one thing, go for it. A box that you have to leave your chair to mess with is a pain, and should be fixed with a new OS.
--
Friends don't help friends install M$ junk.
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.
Re:uClibc is not going to replace glibc
by
hughk
·
· Score: 2
Horses for courses...
Well I guess someone will want to do a small footprint Java VM someday with uClibc. I understand the threads thing is now in the latest release though. Perhaps the rest will appear as well.
Glibc is wonderful, but its footprint is going to stamp my PDA into the ground. There is a definite need for a Glibc-, where the real issue is low footprint rather than performance and uClibc is one such solution.
My linux floppy howto
by
clasher
·
· Score: 2, Informative
Always looking for an excuse to post my personal HOWTO for using uClibc & busybox to make a single floppy linux disk. I also have a few example floppy images here. My firewall is running from a linux floppy right now.
What other free C libs are out there?
by
duffbeer703
·
· Score: 2
We may need new C library implementations, especially if the GNU lunatics ever decide to change future versions of glibc to GPL licensing rather than LGPL.
You may laugh at this as a crazy notion, or even a troll. But looking at the near-hysterical rants from the head of the GNU project regarding the whole "GNU/Linux" issue, I'd say that it is a definate possibility.
-- Conformity is the jailer of freedom and enemy of growth. -JFK
Ah hell, "Coherent version 3.2 operating system uses the 286 protected mode." I gave my copy of 3.2 away long ago, otherwise it'd be free for the asking.
There's still a little traffic on comp.os.cohoerent: Interesting thread.
-- One line blog. I hear that they're called Twitters now.
BTW, there is a #uclibc channel
by
andersen
·
· Score: 2, Informative
Just in case people are not aware, in addition to the BusyBox and uClibc websites, there is also a #uclibc channel on irc.openprojects.net (irc.freenode.net). I often show up there, and as time permits, I try and help people with their BusyBox and uClibc problems. It makes a nice resource, and helps take the load off of my Inbox a little bit.
Also, I'd like to stress that we do have mailing lists, and people are encouraged to use them. I get _way_ too much email to answer it all. It bugs me when I get "I was too busy to check the mailing list or the FAQ, and just thought I'd ask you directly" type emails. Sorry, but I just have to ignore such people. Use the mailing lists. Try to catch me on irc if you can. But please don't sent me personal email unless you are also sending donations...:-)
-- -Erik
--
--This message was written using 73% post-consumer electrons--
The TRUE lightest of the light
by
xenofalcon
·
· Score: 2, Funny
You can drool all you want over these things, but I'm waiting for a version of Linux that doesn't even need a CPU, let alone a computer.
Small single-task operating systems.
by
os2fan
·
· Score: 3, Interesting
Until recently, my main machine was a 486/66 with 20 meg of ram. On this, I ran some 20 operating systems.
One of these was a version of OS/2, complete with gui, 4os2 and cdburner, that lived in 10 megabytes.
The installation was not hard - sysintx and rar did it.
So I could use the main version of OS/2 without having to worry about chewing up memory for the cd-burner. OS/2 breaks the 504 barrier for HPFS partitions. So does Linux, and Windows NT, the former installed but never booted.
OS/2 has a considerably smaller footprint, given that a lot of it can be installed on another drive.
The idea of having a small footprint is not bad at all. You can make a boot cd that runs the desired OS off the cdrom and ramdisk. This is how eComStation installs.
In fact, the notion of one OS for all tasks is quite unecconomical, especially if the machine is to run unattended, or in a specific activity.
You can burn cdroms off in 20 mb of ram. There are utilities that unload dlls to expediate the process.. (eg allocmem)
.
-- OS/2 - because choice is a terrible thing to waste.
If you use a busybox shell then you can make the commands built into the shell
Interesting. I haven't heard of this (my work is a pretty big solaris shop, so I don't use busybox much). I don't see this much different than having aliases in/etc/profile though, check the $0 of your shell, and if it supports aliases, alias ls='busybox ls' alias mount='busybox mount'
and so on, and doesn't force a shell choice on you.
zsh has very cool configurable shell completion. You could configure it to give you all the options for any given command. You could program this for busybox, have it give you the possibilities "ls, dd" and so on once you type busybox.
This doesn't solve the "everything in one binary so if I make one change someplace I essentially have to test 10 or so utilities" problem tho, but I think you were just mentioning the shell thing, not implying it was a complete solution.
As an aside, ksh93 has many more builtins than other shells, and has them loaded as shared libs. yeah you can do this with basha as well, but the defaut bash doens't have dd as a buoltin, ksh93 does. In fact this is one of the reasons ksh93 isn't in cygwin yet; ksh93 is more of an environment than a shell, with many utilities stuck in it.. the cygwin folks don't want to add that on top of other tools.
I doubt that's going to happen. Now that I've refreshed my memory of the Bad Old Days, 286 protected mode is a different animal than 386 (and onwards) protected mode. For one thing, 286 protected mode uses 64k segments (UGH!), and the 286 registers are still 16 bit.
I'm not saying it couldn't be done in theory, but I will say that in practice, you don't want to try it. I'd say that your options are to start from somewhere else: Minix, Xenix, Coherent 3.2 if you can find a copy.
-- One line blog. I hear that they're called Twitters now.
Small Linux Distribution
by
benjamindees
·
· Score: 2
A little googling came across Small Linux. It looks like it includes a few pre-compiled programs and TinyX as well.
-- "I assumed blithely that there were no elves out there in the darkness"
Re:BSD's to the rescue
by
Detritus
·
· Score: 3, Informative
AT&T Unix (V5, V6, V7) and BSD Unix (2.X) started out as 16-bit operating systems. They weren't ported to 32-bit systems (VAX, 370) until later. Even after they were running on 32-bit machines, there were still releases that supported 16-bit systems. I used to run AT&T System V Unix on an 80286 based computer.
-- Mea navis aericumbens anguillis abundat
You don't need a floppy drive.
by
1%warren
·
· Score: 2
Basically you start the install from a DOS partition (I used FreeDOS sucsessfully) using loadlin, a Slackware kernel, & the initrd.img from the isolinux dir - you can turn the DOS partition into a Linux swap (or whatever) partition after you've booted the install.
I switched from Mandrake to Gentoo last summer, and although I won't make any statements as to how much of a difference having all the software on my computer optimized for my architecture (PIII) made, I will say that I have still noticed a speed difference. For the most part, I attribute that to the fact that basically anything that is running on my system is something I put there, meaning I don't have any unused krap on my machine, nor did I have to spend a lot of time removing that krap to get rid of it. (Instead, I spent the time watching movies while Portage did its thing - sounds more fun to me;-)
I now go from BIOS to X in about a quarter the time it took to get my computer booted when I was using Mandrake 8.1.
He ruled out slackware because it was a tight fit for the amount of RAM the computer had, ~12mb.
Having run Slackware on a 486dx/33 with 8mb of RAM and set it up as a fileserver, I believe him. Even with the most bare-minimum shrinky-dink install Slack offers, it still took a lot of time with a meat cleaver to get the system pared down enough that I could do much of anything without forcing the system to swap.
Had I known about uClibc at the time, I would have used it - I don't know how much space it saves, but if the difference is signifigant, I think it might easily improve performance on older machines despite the sacrifice in speed of the code. The less RAM you have to devote to libc, the less the computer is going to have to swap.
What would be really cool
by
1%warren
·
· Score: 3, Informative
which is already set up to run on old hardware, has some really great configuration tools, but really outdated software (2.0.x kernel, libc5, X 3.3.1), such that I shuddered when connecting it to the internet.
--
Full plate and packing steel! -Minsc
My firewall
by
einhverfr
·
· Score: 3, Interesting
120 MHz K5, 32 MB RAM, 3 GB Hard Drive. OK, I regret using such a large hard drive for this...
The real impressive thing isn't the low hardware, it is the fact that I run TinyDNS as my external DNS server on it, use SSH for remote access (only from the internal network), handle log-file parsing and management, on the box (in the middle of the night), and many other tasks. In fact, I could do all this on a 80486, but the RAM is the big commodity with all these things. But additional performance tuning will help. Additionally it is running FreeS/WAN though we will eventually be setting up a virtual router behind the NAT for handling GRE-tunneled IPSEC between offices;)
In fact the thing is so highly automated I sometimes forget that it is in the corner (reports of activity are happily directed to me every morning and I don't have to access the box myself).
Had almost 90 days uptime when I had to replace the CPU fan. Now I am thinking about drop-in redundency;)
Re:FreeBSD may be an option
by
be-fan
·
· Score: 3, Informative
Um, gentoo (1.4 anyway) defaults to gcc 3.2. On my 2GHz P4 with 640MB of RAM, it's already a several day installation (KDE takes a full 8 hours). I really don't want to imagine it on a P133 much less a 386:)
-- A deep unwavering belief is a sure sign you're missing something...
ever heard about...
by
fake666
·
· Score: 2, Informative
ROCK Linux is a distribution-build-kit, with which you can easily create targets, for example a "small" target. Everything is compiled from source, optimized to your wish (gcc{2,3}, glibc{2.2.5,2.3.1},dietlibc...) once you start a build.
The download of the source tar.bz2/gz's is done by a script, too.
We are currently working on integrating uClibc, and already use dietlibc for the "bootdisk"/ "rescue system" target.
maybe worth a look;)
FAKE
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
-- Please correct me if I got my facts wrong.
Re:FreeBSD may be an option
by
eMago
·
· Score: 2, Informative
I'm using both FreeBSD and NetBSD on my machines. But as you guessed, FreeBSD needs more ressources than NetBSD. While NetBSD 1.5 runs fine on my 486SX33/w 8MB RAM (7.8 MB are usable), FreeBSD needs 12MB or more at least for installation. NetBSD even installs with 4MB RAM. I even tried to install it with 3.8 MB RAM usable but that was not possible (fdisk ran out of memory).
As a matter of fact I'm using FreeBSD on my FASTEST machine - mainly because building the ports needs a lot CPU power - and NetBSD on my slowest (it's a good "SpartaniX"). All the other machines (4) in between are Linux, mostly Debian. A 486/DX66, now with 16MB RAM, is running Slackware 8 with X on top. But it's not true - as stated in the article - that the lastest Slackware needs 12MB RAM. It installed fine with 8 MB RAM.
However, for the slowest of the slow I would suggest NetBSD - it's the least demanding, while I don't think FreeBSD is really great for minimal installs. Compare the defaults. NetBSD has less than half of the programs in [/usr/s]bin compared to FreeBSD. And even less than OpenBSD:
-- ---
censored
Lthe lightest linux ever
by
supergiovane
·
· Score: 3, Funny
Hey, it wouldn't do much, but it's linux, it boots from a 386 without hard disk, and most of all it doesn't require a keyboard. Obviously, if you want a decent performance you need a P4 2.8 GHz.
-- Signatures are for stupids.
The lightest linux ever
by
supergiovane
·
· Score: 2, Informative
Hey, it wouldn't do much, but it's linux, it boots from a 386 without any hard disk, and most of all it doesn't require a keyboard. Obviously, if you want a decent performance you need a P4 2.8 GHz with SCSI RAID (the world could get upset if I don't greet it properly only for a disk failure).
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'm not going to touch the command line
by
commodoresloat
·
· Score: 2
Not Linux, but....
by
octalgirl
·
· Score: 3, Interesting
Many moons ago I made a 31/2" disk bootable to a stripped down version of Windows 3.1 with a stripped down WordPerfect 5.1, and it even included a HP LaserJet II driver. And I managed to leave solitaire on it too. I used to give them to guys who were going on travel before laptops became commonplace. There is usually a lot of bloat in any OS or software package.
You can also grab a stage 3 tarball for gentoo- basically it's everything precompiled. You lose the benefits of targeting your specific architecture, but gentoo has a lot of nice other stuff going for it too.
There is a flavor of linux that runs on the iPaq, the name of the distro is Familiar. There is also a GUI for it, named Opie. I had both of these on mine, but the difficulty I had syncing it with either my Win2K at work or my Linux box at home was disappointing. And it was slow. And I had a lot of freeze-ups (don't know whether to blame Opie or Familiar for that though).
As a side note, installing Linux on an x86-based machine is much different than installing it on a PDA, which uses a variety of different chips. The memory sticks don't have the same speed as conventional memory, too. And then there's the fact that people use PDA's differently than handhelds - putting a desktop OS on a handheld makes the handheld harder to use. Not that that argument has stopped people from installing Linux on a Dreamcast...
-- I really hate signatures, but go to my website.
I thought you needed a 100Mhz to play mp3s?
by
emil
·
· Score: 2
From man mpg123:
MPEG audio decoding requires a good deal of CPU perfor-
mance, especially layer-3. To decode it in realtime, you
should have at least a Pentium, Alpha, SuperSparc or
equivalent processor. You can also use the -singlemix
option to decode mono only, which reduces the CPU load
somewhat for layer-3 streams. See also the -2 and -4
options.
The LD I got (used but in the orignial box!), came with a 150 Pentium and a CD ROM which you had to swap out the floppy to use. All hardware was recognized automatically by the vanilla kernel, and irronically it's one of the few machines I have with working audio. PCMCIA has got to be one of the coolest things ever. The only PC card I've ever had a problem with was a combined modem ehternet card that I could only see the ethernet on. A seperate modem card fixed that nicely. The IDE floppy might throw some for a loop until they realize its a/dev/hd_something. As a terminal, it's very nice. If I had wireless in house, it would be awsome.
does a fileserver really need http, ftp, and mail daemons running?
I have proftpd running on it to get files off easily when I go someplace that does not have an ftp server. I suppose that I could run NFS but the places I got that don't have ftp are likely not to have NFS either.
As for my 486 gateway, I'd love to run mail and http daemons on it. Exim, a nice little mail server IS running on it but COX blocks the inbound requests. One day they will block everthing but digital cable TV and call it convergence, but that is a different rant. There are several light http deamons that would do just fine for serving the few static pages I try to share over ftp. One day, I'll configure one to run on something besides port 80 to see if I can get around Cox.
That was my first Linux server back in '94. (Yes really 5 megs memory, I had 4 1M SIMMs and 4 256K SIMMs) One 40M Seagate 251 for/usr and some old 30 meg full-height beast for/. I had an RLL card and I think maybe I had converted the drives to RLL by then, but I forget exactly... I also had an ISP which was tolerant of my 24/7 connection, and even gave me a subdomain (ecloud.goodnet.com) so I could run a web server. Ah the memories...
While I applaud the author's work in finding the newest tools to do what he wants, I must point out that he didn't HAVE to do it that way.
Go find yourself an *OLD* slackware distribution. When I first started getting into linux, it was with slackware, and it was running on a then-shiny-new 486/33 with 4 Megs of RAM and a giant 400Meg hard drive. Installation was via floppy, and an NE2000 was added later.
So, it's not that no prime-time distributions can be installed on small hardware.. no CURRENT ones can. In that respect, Linux has (to some degree) forgotten its roots and I applaud those who are trying to find their way back. I'm happy that Microsoft has bloated things so much that I have a 1.5GHz cpu on my desk, but I'd sure love to see what it can really do with the kind of efficient small code we had back when 100MHz was uber-fast!
My grade 10 math teacher dropped this one on us. He started with A=B which makes the 0/0 thing a bit less obvious. It actually
got me into doing some real thinking.
The interesting thing about this proof is the step that
goes from
(a+a)(a-a)=a(a-a) to
(a+a)=a
You essentially have to divide both sides by a-a.
(this proof is more interesting if you start with A=B because you end up dividing by A-B)
In any case, you end up with 0/0.
X=0/0
Ignoring, for a moment, that your math teacher always tells you to never play with '0/0', and pull the 0 over to the other side....
It turns out that you're looking for a value of X that satisfies the equation:
X*0=0
Anything satisfies this equation... Real numbers imaginary numbers, etc.
That's actually why this mess of a proof 'works'.
When I took an honors calculus course, the whole thing fell together. Calculus spins around the concept of getting as close as possible to 0/0 without actually being there. More specifically:
Calculus is based on the premise that 0/0 can be anything you want, depending on how you approach it.
-- OS Software is like love: The best way to make it grow is to give it away.
Xenix (a Microsoft/SCO product) was a System III unix derivative that was used quite regularly on 16b hardware (I've seen it running on ancient (IE 8in floppy) Tandy Minicomputers and 286s, as well as running an entire 32 user lab (via multi-IO serial cards on Wyse Terminals) on a 386/25 w/ 16MB of RAM.
Aditionally, the PDP-11 was one of the first machines where a usuable Unix system ws worked on and it was 16b.
Well this looks like something that might give my old PCs some new life. I would suspect with the scaled-back interface, it is as geeky as older releases.
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
run feather weight Linux on my brand new hardware. Imagine how fast that would be !!!
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.,
...how can I "light-weight-o-fy" my existing Debian installation? It's running on a POS Compaq Presario with an AMD K6 233 and 32mb of ram, and even a few copies of spamassassin running will thrash the drive for a good minute and a half. KDE actually "runs", but only in the most comical sense of the term. :-|
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.
What's wrong with using an older OS on older hardware?
MS-DOS etc all had X-servers that used little memory + other useful tools.
You'll find little advantage in squeezing linux on really old machines.
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 think it would be really nice if for once, operating systems tried for a lighter approach to their installs. I know most unixes provide base, custom and full installs, but perhaps someday MS would like to try a light install. Give me XP w/o the Fisher Price colors, w/o the various menu display methods. Stop trying to sell your OS based on features that should be optional. Start trying to sell your OS because its good, not because it has 300+ ways of displaying the same thing. Do something and do it right damnit.
-- AcquaCow
up 12 days, 22:30, 2 users, load averages: 993.20, 994.21, 994.56
*makes note to limit user processes...
Real sys admins use a command line anyway (JOKE).
The simple truth is that interstellar distances will not fit into the human imagination
- Douglas Adams
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!
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.
My first linux install was a 486DX2, witn a 66Mhz chip, 4Mb of ram, and I was installing onto an 80Gb hard drive.
Before this sounds like a "When I was a Boy" story, I could install X and gcc, but not at the same time. When I say I could install X, it would run
Just because something is possible, doesn't mean you want to do it.
Democracy isn't about no one telling you what to do. It's about everyone telling you what to do.
Why can't Busybox be used for regular, 24/7 server use? It seems to provide all the necessary building block utilities one would expect in any Unix distribution; I'm up for it replacing /bin/* completely.
"The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
http://www.linuxfromscratch.org
Also includes a CowboyNeal load of documentation!
Anyone remember Windows for Workgroups 3.11? It could run in "enhanced" mode which was 32-bit pmode, or "standard" mode--you guessed it, 16-bit pmode. Since I assume 32- and 16-bit protected mode are similar in intent but varying in widths, does this mean FreeBSD can be slightly modified to run on a 16-bit 80286? What about Linux? (No, I don't want to run Minix.)
"The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
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.
"I was introduced to both uClibc and BusyBox, both of which I ended up using."
I spent several months with a small group of people putting together an embedded system, which used both uClibc and Busybox. While these are undoubtedly excellent pieces of open source software which are great for embedded systems, I find their use questionable for everyday desktop computing.
For example, many features you take for granted, say, with bash (such as compound commands, the full featured command execution environment) are not available with the smaller, simpler shells in Busybox.
The small size does come at a price... after all, the reason they are smaller is because along with the bloat, some of the less frequently used functionality has been removed.
This question actually comes up every once in a while. The answer from the developers is that AT&T Unix (and therefore BSD) was always 32-bits. Thus the first PC port of BSD was on a 386 (in protected mode). It would be almost impossible to re-write the kernel to 16-bits, unless they were re-writing the OS from scratch.
In Soviet Russia, articles before post read *you*!
Huh? Those are really light requirements and with some additional RAM, that laptop could run X without a problem. Debinate it!
My 760LD has only 24M of RAM. It felt a little crammped with the 800 MB hard drive that came with it, but the only thing tedious about the installation of 2.2 potato was making the base install floppies. Once that was on, I could put the CD ROM in and zippy, no problem. The same har drive then worked with a much older Toshiba 468 with 8 or 16 MB or RAM. Yes, it does ssh. I got a bigger hard drive to feel less cramped and get more window managers. Using OLVWM I was able to make it display more than 256 colors, but it was stable with all the window managers I tried was stable with 256 colors. I probably boned up the ammount of RAM the card actually has, or missed some kind of shared memory thingy, shrug, it works.
For the lighter requirements this guy has, he should have loads of extra space and it should work just snappy. My 486 gateway runs a little ftp, ssh and most of the standard distro. It takes less than 150 MB of system files to do that, leaving 350 MB for temproary files.
Indeed, this fellows low expectations for his hardware should make the insalation much easier. I recenlty built a debian box on a 33MHz 486 with 8 or 12 MB RAM. It was painful, but you can just drop your hard disk into a nicer box and just put on the few things you want from a vanilla i386 binary install disk. If all you put on is i386, just put it all on in something with a little more RAM and pep, then drop it into your target. The kernel should adapt to it's new environment.
Apt-get upgrade was a little painful last time, with the new OpenSSH stuff but it did, finally, work. I had to manually dpkg the new packages and read the error messages and it took a day, grrrr! I should have left it alone, but I'm glad it's done.
Oh well, the man's effort is not wasted. His site is great for those who wish to really cut out the fluff and have a beautiful Spartan install. For the rest of you, I recomend the much easier Debian apt-get path.
Friends don't help friends install M$ junk.
Or install linux on an AMD Hammer.
Same computing power.
That said, Mark Williams used to have Coherent 286. Proprietary, but not bad for its day. The company is long gone, but someone might have a copy. I used Coherent 386 for a few years until MWC died and Linux stablized.
One line blog. I hear that they're called Twitters now.
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.
I started with tomsrtbt on floppies, then installed it onto the hard drive. Once I had a working system I compiled a kernel with the sound card and network drivers and copied that over. Everything works great. There's something surreal about using a kernel that was just updated last week with hardware that hasn't been sold in almost 10 years.
I'm having trouble statically linking sshd, so I'm looking forward to the next installment. Shouldn't be too hard to set up dynamic libraries, but advice from someone who has done it already always helps.
This space intentionally left blank.
LFS was a great tool for me. Before LFS, I didn't really understand how to customize my bash prompt, controll where software was installed to, edit runlevel and startup scripts, or a thousand other things that any Linux user SHOULD be able to do.
But, alas, what killed it for me was the complexity of the modern desktop. KDE was easy to compile and install, but a thousand neat little features of KDE (like the audio cd to mp3 interface) never worked right. Any time I saw something cool, I needed to go back and recompile some new flag into some library...and then recompile everything thay used that lib. It was a major PITA.
LFS should be everyone's first distro. The ammount of knowledge you gain from struggling with something as simple as getting 'ls' to output in colors will help tremendously in the rest of your linux journey. That being said, the LFS community probably isn't up to the task of supporting hundreds (thousands) of newbies. Especially if they bombard the IRC channels with even a tenth of the questions I laid on those guys.
LFS is awesome for a learning tool, and I want to thank the LFS community for their project/product.
I'd rather you do it wrong, than for me to have to do it at all.
but arent most distros pretty much lightweight in the first place, its is mostly during the install that you can choose whether or not to install bloat
I hate sigs.
Now I can run this operating system without one byte of GNU software. But I'll still have to call it GNU/Linux. That's progress!
A Government Is a Body of People, Usually Notably Ungoverned
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!
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'm highly amused by some of the comments in this thread; from my own perspective anything better than a P100 w 32M ram is a perfectly acceptable system. My main machine right now is a P166 with 64M and as well as using it for browsing, programming, etc it provides NAT, DNS, dhcp, apache.. I'm planning to upgrade sometime (probably to a P233, I had one last year but it died :( ). I'm in no hurry; this machine does everything I need for now.
My first linux machine was a 386 with 4M ram. I had to upgrade to 8M fairly quickly because it would totally thrash when I tried to compile the kernel (or almost anything else bigger than hello.c) and I couldn't run X at all until I got a 486..
Kids these days.. bah!!
I'll bookmark the link though; I have a spare P100 with 8M on it that I'd like to turn into a dedicated mp3/ogg player.
455fe10422ca29c4933f95052b792ab2
Well, just pull up a console, kill all your services and boggie. It does make a difference. Your nasty math problems will be able to suck up all your memory and little will interrupt. You can go down from there if you wish. Boot up with grub to ye new Spartan kernel, and define a run level that's just like you want it and kick some ass. Spend a few more bucks to set up as many machines as you have projects. SSH into it to start your problem and then get your answer.
Pitty all OS are not so easy to configure. You want more, you got it. You want less, OK. You want to throw everything you got at one thing, go for it. A box that you have to leave your chair to mess with is a pain, and should be fixed with a new OS.
Friends don't help friends install M$ junk.
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.
Always looking for an excuse to post my personal HOWTO for using uClibc & busybox to make a single floppy linux disk. I also have a few example floppy images here. My firewall is running from a linux floppy right now.
We may need new C library implementations, especially if the GNU lunatics ever decide to change future versions of glibc to GPL licensing rather than LGPL.
You may laugh at this as a crazy notion, or even a troll. But looking at the near-hysterical rants from the head of the GNU project regarding the whole "GNU/Linux" issue, I'd say that it is a definate possibility.
Conformity is the jailer of freedom and enemy of growth. -JFK
Ah hell, "Coherent version 3.2 operating system uses the 286 protected mode." I gave my copy of 3.2 away long ago, otherwise it'd be free for the asking.
There's still a little traffic on comp.os.cohoerent: Interesting thread.
One line blog. I hear that they're called Twitters now.
Just in case people are not aware, in addition to the BusyBox and uClibc websites, there is also a #uclibc channel on irc.openprojects.net (irc.freenode.net). I often show up there, and as time permits, I try and help people with their BusyBox and uClibc problems. It makes a nice resource, and helps take the load off of my Inbox a little bit.
:-)
Also, I'd like to stress that we do have mailing lists, and people are encouraged to use them. I get _way_ too much email to answer it all. It bugs me when I get "I was too busy to check the mailing list or the FAQ, and just thought I'd ask you directly" type emails. Sorry, but I just have to ignore such people. Use the mailing lists. Try to catch me on irc if you can. But please don't sent me personal email unless you are also sending donations...
-Erik -- --This message was written using 73% post-consumer electrons--
You can drool all you want over these things, but I'm waiting for a version of Linux that doesn't even need a CPU, let alone a computer.
One of these was a version of OS/2, complete with gui, 4os2 and cdburner, that lived in 10 megabytes.
The installation was not hard - sysintx and rar did it.
So I could use the main version of OS/2 without having to worry about chewing up memory for the cd-burner. OS/2 breaks the 504 barrier for HPFS partitions. So does Linux, and Windows NT, the former installed but never booted.
OS/2 has a considerably smaller footprint, given that a lot of it can be installed on another drive.
The idea of having a small footprint is not bad at all. You can make a boot cd that runs the desired OS off the cdrom and ramdisk. This is how eComStation installs.
In fact, the notion of one OS for all tasks is quite unecconomical, especially if the machine is to run unattended, or in a specific activity.
You can burn cdroms off in 20 mb of ram. There are utilities that unload dlls to expediate the process.. (eg allocmem)
.
OS/2 - because choice is a terrible thing to waste.
If you use a busybox shell then you can make the commands built into the shell
/etc/profile though, check the $0 of your shell, and if it supports aliases,
Interesting. I haven't heard of this (my work is a pretty big solaris shop, so I don't use busybox much). I don't see this much different than having aliases in
alias ls='busybox ls'
alias mount='busybox mount'
and so on, and doesn't force a shell choice on you.
zsh has very cool configurable shell completion. You could configure it to give you all the options for any given command. You could program this for busybox, have it give you the possibilities "ls, dd" and so on once you type busybox.
This doesn't solve the "everything in one binary so if I make one change someplace I essentially have to test 10 or so utilities" problem tho, but I think you were just mentioning the shell thing, not implying it was a complete solution.
As an aside, ksh93 has many more builtins than other shells, and has them loaded as shared libs. yeah you can do this with basha as well, but the defaut bash doens't have dd as a buoltin, ksh93 does. In fact this is one of the reasons ksh93 isn't in cygwin yet; ksh93 is more of an environment than a shell, with many utilities stuck in it.. the cygwin folks don't want to add that on top of other tools.
I'm not saying it couldn't be done in theory, but I will say that in practice, you don't want to try it. I'd say that your options are to start from somewhere else: Minix, Xenix, Coherent 3.2 if you can find a copy.
One line blog. I hear that they're called Twitters now.
A little googling came across Small Linux. It looks like it includes a few pre-compiled programs and TinyX as well.
"I assumed blithely that there were no elves out there in the darkness"
AT&T Unix (V5, V6, V7) and BSD Unix (2.X) started out as 16-bit operating systems. They weren't ported to 32-bit systems (VAX, 370) until later. Even after they were running on 32-bit machines, there were still releases that supported 16-bit systems. I used to run AT&T System V Unix on an 80286 based computer.
Mea navis aericumbens anguillis abundat
Basically you start the install from a DOS partition (I used FreeDOS sucsessfully) using loadlin, a Slackware kernel, & the initrd.img from the isolinux dir - you can turn the DOS partition into a Linux swap (or whatever) partition after you've booted the install.
Full plate and packing steel! -Minsc
I switched from Mandrake to Gentoo last summer, and although I won't make any statements as to how much of a difference having all the software on my computer optimized for my architecture (PIII) made, I will say that I have still noticed a speed difference. For the most part, I attribute that to the fact that basically anything that is running on my system is something I put there, meaning I don't have any unused krap on my machine, nor did I have to spend a lot of time removing that krap to get rid of it. (Instead, I spent the time watching movies while Portage did its thing - sounds more fun to me ;-)
I now go from BIOS to X in about a quarter the time it took to get my computer booted when I was using Mandrake 8.1.
Future installments in the "breaking the cycle" series include:
Maintaining your 1932 Pierce Arrow
Connecting cable to your Philco Predicta
Making ice last through the summer
Rolling your own condoms
It's based on FreeBSD 3.0-Current and needs only a 386SX, 8MB RAM and boots off a floppy (HDD optional ;)
Join the TWIT army now!
He ruled out slackware because it was a tight fit for the amount of RAM the computer had, ~12mb.
Having run Slackware on a 486dx/33 with 8mb of RAM and set it up as a fileserver, I believe him. Even with the most bare-minimum shrinky-dink install Slack offers, it still took a lot of time with a meat cleaver to get the system pared down enough that I could do much of anything without forcing the system to swap.
Had I known about uClibc at the time, I would have used it - I don't know how much space it saves, but if the difference is signifigant, I think it might easily improve performance on older machines despite the sacrifice in speed of the code. The less RAM you have to devote to libc, the less the computer is going to have to swap.
which is already set up to run on old hardware, has some really great configuration tools, but really outdated software (2.0.x kernel, libc5, X 3.3.1), such that I shuddered when connecting it to the internet.
Full plate and packing steel! -Minsc
120 MHz K5, 32 MB RAM, 3 GB Hard Drive. OK, I regret using such a large hard drive for this...
;)
;)
The real impressive thing isn't the low hardware, it is the fact that I run TinyDNS as my external DNS server on it, use SSH for remote access (only from the internal network), handle log-file parsing and management, on the box (in the middle of the night), and many other tasks. In fact, I could do all this on a 80486, but the RAM is the big commodity with all these things. But additional performance tuning will help. Additionally it is running FreeS/WAN though we will eventually be setting up a virtual router behind the NAT for handling GRE-tunneled IPSEC between offices
In fact the thing is so highly automated I sometimes forget that it is in the corner (reports of activity are happily directed to me every morning and I don't have to access the box myself).
Had almost 90 days uptime when I had to replace the CPU fan. Now I am thinking about drop-in redundency
LedgerSMB: Open source Accounting/ERP
Um, gentoo (1.4 anyway) defaults to gcc 3.2. On my 2GHz P4 with 640MB of RAM, it's already a several day installation (KDE takes a full 8 hours). I really don't want to imagine it on a P133 much less a 386 :)
A deep unwavering belief is a sure sign you're missing something...
ROCK Linux?
;)
ROCK Linux is a distribution-build-kit, with which you can easily create targets, for example a "small" target. Everything is compiled from source, optimized to your wish (gcc{2,3}, glibc{2.2.5,2.3.1},dietlibc...) once you start a build.
The download of the source tar.bz2/gz's is done by a script, too.
We are currently working on integrating uClibc, and already use dietlibc for the "bootdisk"/ "rescue system" target.
maybe worth a look
FAKE
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.
I'm using both FreeBSD and NetBSD on my machines. But as you guessed, FreeBSD needs more ressources than NetBSD. While NetBSD 1.5 runs fine on my 486SX33 /w 8MB RAM (7.8 MB are usable), FreeBSD needs 12MB or more at least for installation. NetBSD even installs with 4MB RAM. I even tried to install it with 3.8 MB RAM usable but that was not possible (fdisk ran out of memory).
As a matter of fact I'm using FreeBSD on my FASTEST machine - mainly because building the ports needs a lot CPU power - and NetBSD on my slowest (it's a good "SpartaniX").
All the other machines (4) in between are Linux, mostly Debian. A 486/DX66, now with 16MB RAM, is running Slackware 8 with X on top.
But it's not true - as stated in the article - that the lastest Slackware needs 12MB RAM. It installed fine with 8 MB RAM.
However, for the slowest of the slow I would suggest NetBSD - it's the least demanding, while I don't think FreeBSD is really great for minimal installs. Compare the defaults. NetBSD has less than half of the programs in [/usr/s]bin compared to FreeBSD. And even less than OpenBSD:
--- censored
Hey, it wouldn't do much, but it's linux, it boots from a 386 without hard disk, and most of all it doesn't require a keyboard. Obviously, if you want a decent performance you need a P4 2.8 GHz.
Signatures are for stupids.
Hey, it wouldn't do much, but it's linux, it boots from a 386 without any hard disk, and most of all it doesn't require a keyboard. Obviously, if you want a decent performance you need a P4 2.8 GHz with SCSI RAID (the world could get upset if I don't greet it properly only for a disk failure).
Signatures are for stupids.
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.
Until the Microsoft Command Line Interpreter is finished.
Warezing games of course! Although one still needs a util that can crack the boobytrap sectors on the floppy..... Oh wait? What years this?
Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
A featherweight OS for my paperweight PC!
Many moons ago I made a 31/2" disk bootable to a stripped down version of Windows 3.1 with a stripped down WordPerfect 5.1, and it even included a HP LaserJet II driver. And I managed to leave solitaire on it too. I used to give them to guys who were going on travel before laptops became commonplace. There is usually a lot of bloat in any OS or software package.
You can also grab a stage 3 tarball for gentoo- basically it's everything precompiled. You lose the benefits of targeting your specific architecture, but gentoo has a lot of nice other stuff going for it too.
There is a flavor of linux that runs on the iPaq, the name of the distro is Familiar. There is also a GUI for it, named Opie. I had both of these on mine, but the difficulty I had syncing it with either my Win2K at work or my Linux box at home was disappointing. And it was slow. And I had a lot of freeze-ups (don't know whether to blame Opie or Familiar for that though).
As a side note, installing Linux on an x86-based machine is much different than installing it on a PDA, which uses a variety of different chips. The memory sticks don't have the same speed as conventional memory, too. And then there's the fact that people use PDA's differently than handhelds - putting a desktop OS on a handheld makes the handheld harder to use. Not that that argument has stopped people from installing Linux on a Dreamcast...
I really hate signatures, but go to my website.
From man mpg123:
MPEG audio decoding requires a good deal of CPU perfor- mance, especially layer-3. To decode it in realtime, you should have at least a Pentium, Alpha, SuperSparc or equivalent processor. You can also use the -singlemix option to decode mono only, which reduces the CPU load somewhat for layer-3 streams. See also the -2 and -4 options.does a fileserver really need http, ftp, and mail daemons running?
I have proftpd running on it to get files off easily when I go someplace that does not have an ftp server. I suppose that I could run NFS but the places I got that don't have ftp are likely not to have NFS either.
As for my 486 gateway, I'd love to run mail and http daemons on it. Exim, a nice little mail server IS running on it but COX blocks the inbound requests. One day they will block everthing but digital cable TV and call it convergence, but that is a different rant. There are several light http deamons that would do just fine for serving the few static pages I try to share over ftp. One day, I'll configure one to run on something besides port 80 to see if I can get around Cox.
Friends don't help friends install M$ junk.
That was my first Linux server back in '94. (Yes really 5 megs memory, I had 4 1M SIMMs and 4 256K SIMMs) One 40M Seagate 251 for /usr and some old 30 meg full-height beast for /. I had an RLL card and I think maybe I had converted the drives to RLL by then, but I forget exactly... I also had an ISP which was tolerant of my 24/7 connection, and even gave me a subdomain (ecloud.goodnet.com) so I could run a web server. Ah the memories...
While I applaud the author's work in finding the newest tools to do what he wants, I must point out that he didn't HAVE to do it that way.
Go find yourself an *OLD* slackware distribution. When I first started getting into linux, it was with slackware, and it was running on a then-shiny-new 486/33 with 4 Megs of RAM and a giant 400Meg hard drive. Installation was via floppy, and an NE2000 was added later.
So, it's not that no prime-time distributions can be installed on small hardware.. no CURRENT ones can. In that respect, Linux has (to some degree) forgotten its roots and I applaud those who are trying to find their way back. I'm happy that Microsoft has bloated things so much that I have a 1.5GHz cpu on my desk, but I'd sure love to see what it can really do with the kind of efficient small code we had back when 100MHz was uber-fast!
My grade 10 math teacher dropped this one on us. He started with A=B which makes the 0/0 thing a bit less obvious. It actually got me into doing some real thinking. The interesting thing about this proof is the step that goes from
(a+a)(a-a)=a(a-a)
to
(a+a)=a
You essentially have to divide both sides by a-a. (this proof is more interesting if you start with A=B because you end up dividing by A-B) In any case, you end up with 0/0.
X=0/0
Ignoring, for a moment, that your math teacher always tells you to never play with '0/0', and pull the 0 over to the other side....
It turns out that you're looking for a value of X that satisfies the equation:
X*0=0
Anything satisfies this equation... Real numbers imaginary numbers, etc.
That's actually why this mess of a proof 'works'.
When I took an honors calculus course, the whole thing fell together. Calculus spins around the concept of getting as close as possible to 0/0 without actually being there. More specifically:
Calculus is based on the premise that 0/0 can be anything you want, depending on how you approach it.
OS Software is like love: The best way to make it grow is to give it away.
Xenix (a Microsoft/SCO product) was a System III unix derivative that was used quite regularly on 16b hardware (I've seen it running on ancient (IE 8in floppy) Tandy Minicomputers and 286s, as well as running an entire 32 user lab (via multi-IO serial cards on Wyse Terminals) on a 386/25 w/ 16MB of RAM.
Aditionally, the PDP-11 was one of the first machines where a usuable Unix system ws worked on and it was 16b.
my sig's at the bottom of the page.
Well this looks like something that might give my old PCs some new life. I would suspect with the scaled-back interface, it is as geeky as older releases.
--- have you healed your church website?