Live data from Hacker News

An Embedded Linux on a Single Floppy

github.com

41–50 of 61 posts

Re: An Embedded Linux on a Single Floppy

#41

I wonder why the 486 DX is supported but not the SX. How is the math coprocessing unit necessary for kernel and basic system tools?

The distro would have to include FP emulation software for the 486 SX, which is a big chunk of code if a floppy disk is all you have to work with.

Also, some system tools need FP support (like df).

Re: An Embedded Linux on a Single Floppy

#42

I wonder why it needs 20MB minimum. Back in the day linux 2.0.33 would boot happily into a GUI and everything on an 8MB machine. Or maybe I misremember... I know my machine at the time got upgraded to 24MB so maybe it was that machine I was running. Anyway it's neat this can still be done.

This floppy decompresses the entire initrd image into memory at boot, which "wastes" memory compared a proper install on a HDD. You can also lower memory requirements further by enabling swap.

A floppy distro (especially one relying on a compressed initrd) will inherently require more memory. And I suspect the maker of this distro is using a different definition of "minimum" than we would have used back in the 90s (closer to "recommended").

However, it looks like modern linux kernels just require more memory; The kernel binary is certainly larger, floppinux is spending an entire 888KB on it's very stripped down modern linux (doesn't even have networking enabled), while older floppy distros using 2.2/2.4 kernels keep it under 512KB (with networking, and a bunch of other features.

Re: An Embedded Linux on a Single Floppy

#43

I wonder why it needs 20MB minimum. Back in the day linux 2.0.33 would boot happily into a GUI and everything on an 8MB machine. Or maybe I misremember... I know my machine at the time got upgraded to 24MB so maybe it was that machine I was running. Anyway it's neat this can still be done.

I had 2.2.x running on my 386 last year in 4MB. Not enough for a full GUI though but enough to set up TCP/IP and Samba to image a drive over the network. 8MB, at least in an emulator, can run a basic Xterm but not a lot else (though it'll happily run as a remote X frontend for a more powerful machine over Ethernet, it was fun to see it try to render Gimp 3 running on my desktop lol) My 16MB 486 had no issues with a f…

if you have an X server running then maybe you can exploit Xorg/X11's network transparency and run heavier apps on a beefier machine.

Re: An Embedded Linux on a Single Floppy

#45

I remember around 2002 running my home router without any hdd on fli4l - a single floppy linux router distribution. I slept in the same room as the router was, hence I wanted a solution without a noisy hdd from that era.

I remember some people booting firewalls off CD-R's. Burn a new one when it needed an update. Booting with no writable media at all, truly an immutable distro.

Re: An Embedded Linux on a Single Floppy

#46

This is straining my geriatric memory, but I'm pretty sure my first install of Slackware in 1994 involved 18 floppy disks

It was something like that. I can't recall if my first was Yggdrasil or SLS/Slack but it was a stack of floppies in a folder.

Re: An Embedded Linux on a Single Floppy

#47

See also https://distro.ibiblio.org/baslinux/ , http://www.tinycorelinux.net/

I built a somewhat updated baslin for CD-equipped systems https://github.com/queenkjuul/basiclinux-lcars

Aww, it wasn't https://en.wikipedia.org/wiki/LCARS (though thankfully it wasn't the b-word either).

Re: An Embedded Linux on a Single Floppy

#48
post #16

Earlier quoted context omitted.

And a Javascript capable HTML4 browser, and a decent-looking and performant GUI desktop too. It's a shame QNX (desktop) died, used to be way more performant and stable compared to Linux or anything else back in the day.

The problem is it wasn't really compatible with anything else, at a time when DOS/Windows and Unix-likes were the most common.

It was compatible with the radio and crypto equipment aboard my coast guard ship!

Re: An Embedded Linux on a Single Floppy

#49

Earlier quoted context omitted.

That's not even big enough to hold a single 1080p framebuffer.

Not at 24bpp, but maybe at 8bpp?

Indeed. So far as I recall I had a greyscale monitor that couldn't do more than 800x600. I think it was a 486sx and I probably still had a 32GB MFM hard disk at that point so it was a very underwhelming machine.

I think 1MB of RAM in a simm was about £100 at that point, but it's been a while!

Re: An Embedded Linux on a Single Floppy

#50
post #46

This is straining my geriatric memory, but I'm pretty sure my first install of Slackware in 1994 involved 18 floppy disks

It was something like that. I can't recall if my first was Yggdrasil or SLS/Slack but it was a stack of floppies in a folder.

Yggdrasil started off as an 18+ floppy distribution, but it was the first distro to allow booting a full rootfs from a CD .. and man, was that ever amazing back in 1994! Was worth the upgrades to turn my 486 into a functioning X server ..
Post reply on HN