Stories
Slash Boxes
Comments
typodupeerror delete not in

Comments: 507 +-   Installing Linux On Old Hardware? on Friday October 30, @05:18PM

Posted by Soulskill on Friday October 30, @05:18PM
from the where-are-those-old-telegraph-drivers dept.
linux
cptdondo writes "I've got an old laptop that I've been trying to resurrect. It has a 486MHz CPU, 28 MB of RAM, a 720 MB HD, a 1.44MB floppy drive, and 640x480 VESA video. It does not have a CD drive, USB port, or a network port. It has PCMCIA, and I have a network card for that. My goal is to get a minimal GUI that lets me run a basic browser like Dillo and open a couple of xterms. I've spent the last few days trying to find a Linux distro that will work on that machine. I've done a lot of work on OpenWRT, so naturally I though that would work, but X appears to be broken in the recent builds — I can't get the keyboard to work. (OK, not surprising; OpenWRT is made to run on WiFi Access Point hardware which doesn't have a keyboard...) All of the 'mini' distros come as a live CD; useless on a machine without a CD-ROM. Ditto for the USB images. I'm also finding that the definition of a 'mini' distro has gotten to the point of 'It fits on a 3GB partition and needs 128 MB RAM to run.' Has Linux really become that bloated? Do we really need 2.2 GB of cruft to bring up a simple X session? Is there a distro that provides direct ext2 images instead of live CDs?"
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by NaCh0 (6124) on Friday October 30, @05:21PM (#29929537)

    Find a distro from the same era. Redhat 2.1 (and I'm not talking redhat enterprise 2.1) circa 1995 will install and give you an X environment. Maybe even good old 3.03 would fit the bill.

    • Re: (Score:3, Interesting)

      Older than it needs to be. I ran Slackware 4 (just about contemporary with Redhat 6.0) on a laptop with lower specs than that, no problem.

    • by rouge86 (608370) on Friday October 30, @06:10PM (#29929993)
      Actually, I would consider using new software. Gentoo excels in the area of customized builds that meet only the needs of the hardware. When I used to build my system, my idea of bloat is anything that required GTK or QT. I installed Evilwm, and Ratpoison works really well too. I would also compile Enlightenment's Engage dock. The dependencies were fairly small. If you need a file browser, there are some that don't need GTK or QT, but I would prefer xterm as a file browser over those graphical versions. You may need to experiment some with the system to see what works for you as opposed to just taking someone's suggestion. Debian distros probably would work since they tend to support older hardware.
      • by Anonymous Coward on Friday October 30, @07:57PM (#29931017)

        The MAIN problem I see with using old now unsupported distribution versions of BSD / LINUX is that security patches for such versions and their packaged applications are no longer generally being offered / maintained, and there will be dozens or hundreds of potentially trivially remotely exploitable code execution, DOS, and other security vulnerabilities in the OS, the services, and the applications, and there will be nothing you can easily do to fix these problems lacking official maintenance and contemporary patch package releases for the version you are running. Even some of the "long term support" versions of products are only supported for a few years, and the oldest of which that are still supported are still often too new for the type of hardware the OP refers to. If the OP wanted to compile her/his own BSD/LINUX distribution, there would be better hope of using modern version / patched software but configured to run on that old hardware, but that is probably way too much work just for an "appliance" in search of a convenient distribution.

        The problem with non mainstream distributions like Damn Small Linux, Puppy Linux, LTSP, et. al. seems to be either still insufficient portability to old CPUs with little RAM, or an infrequently updated monolithic distribution model that isn't really based on individually freshly updated packages / patches such that the most recent overall distribution is probably months or a year or more out of date with respect to security patches and bug fixes.

        I've got an old 64MB Pentium based laptop with a fine KB / screen / HDD / CD but a slow CPU and not much RAM that I've also
        been looking to turn into a basic web/email terminal for very basic internet access (e.g. no flash, no silverlight, not even AJAX sites, et. al.).

        I've failed to boot the most appropriate known Debian Live CD version on it. I've failed to boot Linux Mint 6 & 7 on it. I've failed to boot Fedora Live CD and Ubuntu Live CD on it as well. It seems like most modern LINUX distributions don't like running on 64 MBy RAM, or with CPUs with these kinds of limitations.

        I've run into similar problems with a Pentium based Fujitsu laptop with 256MBy RAM too.

        I believe part of the problem is likely something that I started running into with LINUX and BSD distributions several years ago with my Mini ITX VIA EPIA C7 / EDEN based motherboards. They don't support the platform OPTIONAL X86 CMOV instruction, but for a long time there was (and maybe still is) a GCC bug that emitted code that uses CMOV but doesn't do the mandated run time check to see if the instruction is supported and provide a work-around. Further some of these are not "i686" class CPUs and may lack other features that some kernels are built to rely upon, whatever those are.. SSE, SSE2, whatever. Because of the CMOV GCC / kernel problem and the transition from "i386" compatible kernels to "i686" compatible kernels being commonplace / the minimum supported by the distribution media, I started to have to compile custom BSD (OpenBSD / FreeBSD) and LINUX kernels on some machines as of several years ago.

        Now I would assume the GCC bug relating to CMOV is fixed or well known, but AFAICT the distribution maintainers just mostly stopped caring about old CPUs and limited RAM configurations and turned on optimizations for e.g. i686, i586+CMOV or whatever by default for their packaged binaries / media, hence perpetuating the incompatibilities with old i386 / i486 CPUs.

        I wish there was either an embedded version of something like VNC / RDP / X that could act as a graphic / audio / mouse terminal to a remote PC/VM that actually ran the OS and applications. AFAIK most of those things need a fairly respectable OS distribution and X11 and so on to run on top of, thus making the problem of having a secure terminal almost as hard as having a secure PC with a small general purpose distribution.

        Otherwise I wish there was some kind of BSD / LINUX distribution that was geared to handle hardware with old i386 / i486 class

  • Older Distros (Score:5, Informative)

    by MightyMartian (840721) on Friday October 30, @05:22PM (#29929547) Journal

    You'll be looking at older distros. I certainly had X running on that kind of hardware back in the day through Slackware, and all its versions can still. We're talking a machine from the mid-1990s, so you'd be looking at Slackware 3 or 4 or something like that. You could try the older versions of Debian if they're still around, too.

  • Personal Experince (Score:5, Informative)

    by Jean-Luc Picard (1525351) on Friday October 30, @05:25PM (#29929571)
    I can attest to BasicLinux on old hardware like yours, at 2 Floppys worth of space, X and Links pre-iinstalled http://distro.ibiblio.org/pub/linux/distributions/baslinux/ [ibiblio.org]
  • by Jeremiah Cornelius (137) * on Friday October 30, @05:25PM (#29929575) Homepage Journal

    A Trove of these things:
    http://www.linuxlinks.com/Distributions/Floppy/ [linuxlinks.com]

    Promising:
    http://atomic.eyedropvideo.com/remote1.shtml [eyedropvideo.com]

    Non-X woth graphical browsing:
    http://blueflops.sourceforge.net/ [sourceforge.net]

  • Try Debian (Score:3, Interesting)

    by wiredlogic (135348) on Friday October 30, @05:25PM (#29929587)

    Older versions of Debian supported floppy installs. The last time I tried it (with etch I think) I had some issues that annoyed me and the response I got is that nobody on the dev. team wanted to suffer with a kernel image that doesn't have the kitchen sink loaded so they crippled/dropped floppy install support. Still once you have an older system running it is trivial to upgrade if you have some connectivity.

  • by eronysis (928181) on Friday October 30, @05:28PM (#29929631)
    I have an ancient Toshiba satellite running a pretty current version of desktop-BSD. Full graphical desktop extremely small footprint etc...
  • I have a similar laptop, although mine only has 16 MB or RAM. I've got a better processor, though. Anyway, I see several people have suggested run a distro from that era. Indeed that works--sort of. My old laptop runs fine with a Redhat from that era, or a Slackware (or whatever Windows it came with, for that matter).

    The reason I say it works "sort of" is that if you just run a distro from that era, you have a browser of that era. I had hoped to use my old laptop as basically a terminal for configuring routers and other things like that which have web interfaces.

    The problem is, all my routers have web interfaces that assume browser features that are too new for that era. I was not able to find a browser that was new enough to actually work with my typical consumer home router and still run acceptably on the old system. I think I got Konqueror to work once--but it took something like an hour for it to start.

    I think the browser is going to be the determining factor as to whether or not this is feasible for you.

  • by John Hasler (414242) on Friday October 30, @05:36PM (#29929705)

    ...and install Debian. Install only the base system: select no "tasks". Then put the drive back in the old machine, configure the network, and install what you need.

  • by Bleek II (878455) on Friday October 30, @05:39PM (#29929735) Homepage
    486MHz? You mean an Intel 486?
    • by ibmman85 (643041) on Friday October 30, @05:48PM (#29929809) Homepage
      I'm surprised no other comments (well, that I saw) picked up on that. While it's not impossible for a 486MHz machine to have shipped with those specs, it sounds more like a late high-end 486 system- especially the video. Well, I guess all of it actually. 486MHz would have been K6-2/3 (overclocked) or (overclocked) P2 or P3, and most of those systems shipped with hard drives over 1gb, and more than 32MB RAM. I think not having a CD-ROM and especially NO USB points toward it being actually a 80486... If it's a 486 CPU, even if it's something 'nice' like a DX4, it's probably not worth it. Unless you really have a very good reason... Redhat 6 or earlier works pretty well, I used to have a really decent Redhat 6 server setup on a P100 with 64 MB RAM but considering how cheap you could get other hardware for, unless it's for some proof of concept of the re usability of hardware from past eras, it's really going to be a pain.
  • by zx2c4 (716139) <SlashDotNO@SPAMzx2c4.com> on Friday October 30, @05:40PM (#29929747) Homepage
    A lot of posts here claim that Linux now a days is bloated, has too many lines of code, too many dependencies, requires too many resources, bla bla bla... These posts conclude that an older linux distro is necessary. But what about the various embedded systems that have even slimmer resources than what we have here, and run Linux fine? It may be that most distros now a days are meant for new hardware and the kernel defaults to more demanding settings. But all of this can be tweaked and customized at ease. Play with Gentoo. If this doesn't fare well, investigate Linux distros for embedded systems.
      • Re: (Score:3, Insightful)

        Ok Slackware. I can netboot install it. I can embed it on tiny stuff. Whole OS on a single floppy with busybox.

        Also I can make it work on a 386. you know you are allowed to recompile the kernel to take out all that you dont want. In fact anyone that wants to run a fast machine typically does that.

  • by R2.0 (532027) on Friday October 30, @05:42PM (#29929757)

    Win95. I believe that the original install CD had a utility to create floppies for a full install. Do that on your main machine, install Win95 on the laptop, then download what you need. I know it sounds stupid, but I'm guessing that Win95 will recognize all of your hardware and actually get you on line faster than trying to sort out the linux drivers for the hardware. Then do a dual boot install and keep Win95 until you get the linux install hashed out - it will beat downloading stuff on your main machine and then copying it to floppies.

  • by Philodoxx (867034) on Friday October 30, @05:42PM (#29929761)
    You're using hardware that is close to twenty years old. I don't think it's fair to say that because linux has kept up with current technologies (CD-ROMs and USB drives) that it has become bloated. Some other people have pointed out, correctly, that you should be looking for distros from the era if you expect it to install easily on your hardware.
    • SRSLY the hardware in question was state of the art in 1994, which was when I bought a spiffy new DX266 instead of a then-dodgy P75. If you think 2009-1994=20 then I suspect you're using one of those dodgy early Pentiums.
  • by miknix (1047580) on Friday October 30, @05:48PM (#29929807)

    I know most of the /. crowd is not Gentoo friendly, we even have a Gentoo meme :)

    But seriously.. You can use emerge, with portage et all, to build a small and optimized/dedicated Gentoo based distribution for that laptop. You don't even need to put portage on the laptop, just use emerge on somewhere else to build packages for it. Emerge will take care of cross-compiling, etc..
    As simple as I can put it, think on it as a Box with a repository-toolchain capable of building packages for *other* Box, while still keeping track of package updates and dependencies.

    NOTE: A "full install" of Gentoo is not required for building gentoo based distros, you can setup a Gentoo chroot (you only want portage and emerge afterall, don't you?) on your debian/fedora/whetever box, or even setup a Gentoo prefix on MacOSX.

    • Seconded (Score:5, Informative)

      by oGMo (379) on Friday October 30, @05:57PM (#29929883)

      Some people may still have misconceptions about Gentoo. The negative stereotype has long passed, though. Gentoo is, really, a meta-distribution: a dist that lets you make your distribution based on what you want and need.

      You could do what some folks have suggested and get a really ancient dist, and that may be fine .. but it will have all the limitations it had back in the day, and nothing new without a lot of manual compilation and work. (No newer shells, html renderers, etc.) Gentoo just automates the process, and since you're building for x86, you could easily build on another box as the parent suggests. (It's actually not trivial to truly cross-compile a dist between architectures last I checked, but I haven't really done a lot of research. However it is trivial to build for a different architecture which the build machine supports.)

      This way you get all the stuff you want anyway, and all the work to do so is streamlined. Building a boot disk should be easy (as long as you can find a disk drive for your current box!). Check the wiki [gentoo-wiki.com] for details on how to do a lot of specialized things.

  • 3.11 (Score:5, Funny)

    by heffrey (229704) on Friday October 30, @05:49PM (#29929821)

    for workgroups

    • Re: (Score:3, Insightful)

      Pfft. Why do that when he can run something more secure and network-aware, like NT 3.51 or OS/2 Warp? *whistles in the dark*
  • by jim_v2000 (818799) on Friday October 30, @05:57PM (#29929881)
    No, your hardware has become that obsolete.
  • by nurb432 (527695) on Friday October 30, @06:04PM (#29929957) Homepage Journal

    Go for NetBSD instead.

  • by doodleboy (263186) on Friday October 30, @06:06PM (#29929963)
    If so, I'd have a look at LTSP [ltsp.org]. At work we're re-purposing a bunch of old thin clients at our branch offices to PXE boot into a modern Ubuntu server. The setup is very easy under Debian/Ubuntu and you'll get a modern OS on every screen.
      • Re: (Score:3, Insightful)

        The time saved would be more than worth the $30-$40, unless the person asking the question is completely broke.

        That seems like the high end of the cost curve to me too. 5-6 months ago I was drowning in free Pentium 3 laptops that I picked up from the junk pile at work, to the point that I had to give most of them away for recycling/resale by the recycling company just because I knew I was never going to make effective use of another eight of them beyond the three I'd already found purposes for (in-car navig

        • Re:too old (Score:5, Interesting)

          by bigstrat2003 (1058574) * on Friday October 30, @07:04PM (#29930593)

          Hell I bought a new iPhone 3GS today for $100 -- at that price point it's a disposable item.

          WTF!?

          Sorry, but something that costs $100 isn't a disposable item, it still costs a reasonable amount of effort to earn that much money. Our currency hasn't become that inflated yet...

        • Re: (Score:3, Insightful)

          Please turn in your geek card on your way out the door.

          If you don't understand why he would want to make use of existing hardware, then Slashdot really isn't the web site for you.

    • Re: (Score:3, Interesting)

      I have to also agree with some other people that suggest getting a newer laptop, at least one with a CD drive.

      Or at least a network card that supports PXE-boot.

      • Re:seriously? (Score:5, Insightful)

        by shentino (1139071) on Friday October 30, @06:30PM (#29930211)

        With Ask Slashdot, you get a bit deeper than you can on a mere google search.

        Plus, you get peer reviewed statements vetted by each other's karma, something you can't get on google.

    • Re: (Score:3, Interesting)

      Fedora provides Appliance OS [fedoraproject.org] spins for recent versions (F10 and up), which are highly stripped down Fedora images, coming in at 100-200 MB of disk. The OS is shipped as an ext3 image, not an ISO image.

      However, it's still pointless to do what the submitter is attempting. 486 machines weren't even interesting targets 9 years ago. Any recent version of Fedora won't boot on a 486, since Fedora is now compiled for i686 and up. Even if you got it to boot, it would be too slow for a modern X, and nearly too

    • Re: (Score:3, Insightful)

      WHY WOULD YOU EVER CONSIDER INSTALLING ANYTHING ON THIS HARDWARE?

      Because he doesn't want to be wasteful? Because it's fun and interesting. Because he is of limited means? Because he enjoys a challenge? Because he lives in the third world? Because he's sending it to someone who's dirt poor or retarded or a charity? Put down the Wii and try to think.

      Throw it out the window and visit the local flee-markets.

      I guess they don't sell dictionaries at flee-markets.
      Coincidentally, there are software dictionari

Your computer account is overdrawn. Please see Big Brother.