Gray386Linux – Linux for 386 Machines
github.com
github.com
On support, it's odd no one tested Alpine Linux on a 486, necause Alpine will run perfectly on it. No, Nix, no complex setup, a huge repo of packages.
Alpine Linux with a patched X for VLB/ISA:
Nix is used to preserve development environment of linux kernel. Without nix, setup would be much, much more complex.
Thank you for info about avc-edge-linux. Going to take a look :).
From provided page:
Processors All CPUs compatible with the Intel Pentium or later, with Intel-compatible hardware floating point support should work.
So no support for real 386 CPU.
Guess my 386sx-40 will stay DOS5 + WFW 3.11 + CalmiraXP + Win32s etc lol
The arch name i386 doesn't actually mean 386.
I don't know of any architectural differences that would require a Pentium over a 386 or 486 (besides a FPU.) The Pentium runs the same software in the same memory and address space, just faster. Unless something requires Pentium MMX or SSE instructions.
It’s just a SX 40 with 12mb of ram tho. I need to get a 387 for it and more memory.
This is great!
edit
Crap just saw the actual cpu compat list. Dammit.
edit again
Ok wait I was confused by someone else. This /will/ work on my 386. Yessss
Also, booting real 386 via network... My childhood dreams come true ;P.
BTW: only few ethernet cards are supported now (3com fan here ;)). Maybe I can enable support for NE2000 compatible clones, because it was very common.
Basically, main goal has been: make machine with 3COM card with lanworks proprietary boot rom boots from network on old machine... but what do I going to boot? As a side effect of this effort were gray486linux born (yep. It was first). After some issues (CET instructions emited by gcc aka multinop instructions not supported by i486) it finally booted. Then... how hard it can be to do the same on 386 machine ;P. It was harder and I learned tons of stuff during the process.
Also. I would like to have something small which still can be booted over network and I can deploy prepared base images with DOS/Windows 3.11 etc... just that easy (with help of Ontrack or XTIDE bios). Or I can deploy prepared Windows NT 4.0, because it looks like my SCSI cdrom died on one of my machines.
But if you have some ideas what to do with it, don't hesitate and let me know.
i386 doesn't support cmpxchg instruction for example and I'm not able (maybe someone can help) to force gcc 12 not to emit these instructions. So I added some kind of emulation of cmpxchg (code is very straightforward and stupid. Only few combinations are supported because it just works for me now).
And linux itself it's another story. 3.7.10 should be last with real i386 support, but it's not that much true :). Because I wasn't able to compile 3.7 kernel without some hacks.
Main goals were: 1) use as newest software as possible 2) be able to boot from network with 4 MB RAM (8 MB RAM is much better) on real hardware.
Also, this distro can be used to bootstrap machines with prepared dos images or other operatin systems. Don't get me wrong. I love floppy disks however I'm too lazy to install systems from them.
Perhaps consider writing "what problem does this solve" and "how does it solve it" and "why is this approach a good one" at the top of your repo. It would help to generate interest.
What's the cause? Incompatible/missing peripheral or some breaking changes in instruction set?
Also it's not my goal to run gray386linux on i486 machines because I have another distribution: gray486linux, which aims specially to systems with 486 CPUs.
But seriously this stuff is very subtle. An issue (probably different) from a HN thread on similar matters: https://news.ycombinator.com/item?id=30801836
The RapidCAD is pretty amusing since it’s literally just a castrated 486 (no L1! Eek!)
The Cyril gray top FastMath FPU is the best bet for an upgrade and still being a real 386 (I’m hunting for one for mine ) - https://www.vogons.org/viewtopic.php?t=65991
Older businesses and factories. I saved tons of 386/486/pentium stuff form my workplace. Though I was lucky because my predecessor was a pack rat and never threw anything out.
It's also much faster than 86box in my experience.
The UI I'm talking about is the configuration manager where you create and configure virtual machines. When you start a machine there's not much UI except for menu bar at the top.