Are there any distros that could run on a pentium 2?

Nicht BurningTurtle@feddit.org to Linux@lemmy.ml – 71 points –

Edit: I am trying to put linux on a compaq armada 1700.

76

Tiny Core has a minimum CPU of i486DX.

antiX might also work but I couldn't find a minimum CPU requirement listed, just that it has an x86 version.

Is nobody gonna ask?!? Why do you have a pentium 2? I like old hardware as much or more than the next guy but man that’s old. And this from a guy who has a working Commodore 64 🤣

Some time ago I scalvanged some old hardware my old school was gonna throw out.

Oh I get it. I hate to see hardware that could be useful being thrown out. Hence the reason I have stacks of 1TB hard drives with no real use.

I have a long term goal of running my home automation system on that commodore for no other reason than it’s weird. So I get it.

I've got a 500mhz Celeron from the P3 days, it runs OS/2 and has an ISA EPROM burner card in it.

retro enthusiast community has been growing a lot in recent years, especially with youtube channels like 8-bit guy, LGR, MVG and such

I mean I guess. Just in my opinion a Pentium 2 is too new to be old and too old to be new. Something like 386 or a Coco2, that’s cool.

I deal with a lot of old hardware in my lab but sometimes it’s just too much trouble. But whatever floats your boat. Last thing I’ll be is judgey about what brings you happiness. I mean I’m currently playing with Proxmox on a 2013 Mac Pro because I think it’s fun. And some people (cough ..cough.. my wife) wonder why 🤣

Shit, I’ve thrown out stuff several generations newer than that because it was too old.

The Linux kernel works fine. How much ram do you have? I personally would build a custom image with buildroot.

Other option is Debian

32MB

I think that's going to be more of a limitation than your CPU. Any chance of getting 256+ MB of ram?

Buildroot as that is to small for anything else. However, it can run small programs like vi and nano. You probably could even run neofetch.

I have Tiny Core running on a PII 333MHz machine with 128MB of RAM

Fli4l should. Back when it was new it was meant to fit on a floppy and run on 3'86 machines. It's for running a home router.

Fli4l is still around?! Crazy. I used that back in 2002 or so to turn an old i386 with 3 ISA HP 100Mbit network cards into a router + fileserver combo. Good times.

NetBSD

Won't work with much hardware

Works with plenty of hardware, especially something that would run on such a platform.

With 32MB of RAM you can't go far. The Linux kernel barely runs on it, and that's just the kernel. NetBSD also has a minimum requirement of 32GB of RAM. One other thing you can do is try to run BeOS (not Haiku, but BeOS). It could run on 32MB of RAM (it still preferred 64 MB, but it could run on 32 too).

With 48 MB, you can, though. That’s what I booted 5.17 on a Pentium II with once to get a basic busybox terminal. I think I did an experiment once with qemu and found the minimum to be somewhere in the high 30s or low 40s.

Frankly the power consumption of that thing x performance delivered will be just bad. Take for example this example, a more modern Pentium D vs a Pi:

If you don't have any kind of attachment to the machine, just trash it, get a Pi or a second hand 8th Gen i5 HP Mini for around 80$ and enjoy. If you do have an attachment to the machine you may as well run some OS from the same era. https://winworldpc.com/library/operating-systems

That's interesting, I've never heard of anyone actually concerned about the power consumption of their PC before, but I guess it makes sense if you live somewhere that it's quite expensive or just don't have much money... or want to be greener I guess.

I don't live in a place with particularly high energy prices, but I've been reading about countless complaints about home labbers changing to new hardware because of that.

The thing is that, even if the power is cheap a Pi when you're comparing a PII to a RPi 4 or a modern machine with a "T" CPU if you've the money to spend on the new thing you'll way better, faster CPU, faster RAM, less noise, less power, more modern features, less software issues... at certain point it makes no sense to run that old hardware. Did you ever try to SSH into a Core Duo machine with a Ed25519 key? The CPU doesn't have the modern crypto extensions making the login unbearably slow, similar happens with other SSL stuff.

As others have suggested, the only option I can think of is Tinycore but you’ll need to get the Microcore version (aka Core ISO with no GUI). This should run on 32MB RAM but leaves you very little headroom with a very barebones install, and obviously no GUI of any kind. [Source]

I looked up the Compaq Armada 1700 and saw that it came with 32MB soldered with one slot available to expand up to 160MB. It’s a long shot, but if you can find a working 32MB, 64MB or 128MB memory module for this you should be able to run TinyCore with a GUI. Adding more RAM would also open up options like Slackware.

It’s not clear to me if Debian will work or not, even with maxing out the RAM in this computer. There is a low memory install mode you could try but I think even that requires at least 256MB which is beyond the theoretical maximum this computer supports.

If all you want to do is prove to yourself that you can install Linux on this computer then Microcore might be worth a try. If you want a usable system with a GUI then you’re probably going to have to add more RAM.

This could be a long shot, but so long as you do NOT connect it to the internet, you could try sourcing a Linux distribution from back when this computer was released, I’m thinking Redhat Linux (before RHEL and Fedora was a thing) or Debian a very old version of Debian. However even if you do succeed in this it’s probably not going to be usable.

Good luck!

i didnt see anyone mentioning puppy linux, its an option.

you might even be able to run a twm or openbox style GUI if you have enough ram.

I run puppy Linux 4.20 on a p3 laptop with 192 mb of ram. It's fine. It feels as heavy as windows me. A p2 with 32 mb of ram might be a bit tough.

gentoo. i'm not even gonna look this up but i'd be surprised if immolo hasn't installed in that platform yet ;)

I installed gentoo on a pentium D it took 5 days to compile and to setup, with distcc.

Why not cross-compile it?

Cause i wanted to see how long it would take

There was also a competition (long ago) to see who could build a computer that would successfully boot Windows 95. The goal was to boot the slowest possible time (no arbitrary delays allowed).

The winner wrote a shim that emulated a floating point unit of the i486 so it would boot on a i386 (no floating point). The result was... booting after many weeks. They won big time.

I did some similar stuff on a Raspberry Pi. I had to NFS mount my desktop and make a swapdisk on the NFS mount to have enough RAM to build. It wasn't fast, but it did eventually work.

I wonder if there's a Gentoo binpkg host for i486 specifically, since it might almost be practical then. (Or you could set up your own.)

Hasn't that been unmaintained for years? Puppy is the spiritual successor.

It was updated this year. They moved on from the mini-CD limit (50MB?) to a regular CD (700MB). Spiritual successor, newer target.

@nichtburningturtle I run Arch Linux on a Pentium 2 E5300 and with some system tweaks like using Dwm/St, less than 1000 packages and args on some software it run smoothly.

not this P2, I think OP is talking about the P2 from 1997, I had a P2 266MHz and was running it at 300 (75x4), 32MB of RAM, 4GB HD, it was the shit in 97

Did you use an archlinux32 i486 iso?

@nichtburningturtle nah, amd64 official arch linux

Didn't know there were 64bit pentium 2 cpus.

I can't find anything to anything to support their assertion that a E5300 is a "Pentium 2", but the chip is from 2008, so it's not relevant to your situation. Maybe they meant it was a Pentium from the Core2Duo time, but that's still not a "Pentium 2".