]> code.bitgloo.com Git - clyne/linux-486.git/summary
 
descriptionModified Linux kernel for i486 computers
ownerClyne Sullivan
last changeSun, 1 Jan 2023 23:11:21 +0000 (18:11 -0500)

linux-486

This repo provides the files necessary to build a modern Linux-based "operating system" for old i486 systems with at least 8MB of RAM. Build scripts for all components of the system are provided. An i486-linux toolchain is also built, enabling you to compile other programs for use with the system.

The generated boot floppy disk provides you with a Busybox system that is kept entirely in memory. uClibc's shared library files are also loaded into memory, allowing other programs to save on memory (as opposed to using static binaries).

A second floppy containing additional kernel modules can also be generated. Both floppies are ext2 formatted.

Build requirements

Build steps

Run the build scripts in this order:

  1. build-toolchain.sh (after this script, add ~/i486-linux/bin to your PATH)
  2. build-linux.sh
  3. build-busybox.sh
  4. build-floppy.sh
  5. build-modules.sh

On my machine (Ryzen 1700x, 16GB RAM), building the toolchain takes around ten minutes; building Linux takes around a minute, and the remaining steps take less than a minute each.

After successful execution of all scripts, you should have floppy.img (boot image) and modules.img (modules). These can be dd'd to a 1.44M 3.5" floppy disk.

Booting the system

The system requires an i486 or better processor, a 3.5" floppy drive, and at least 8MB of RAM (8320K for QEMU).

Notes:

shortlog
2023-01-01 clyneadd note on linux versions master
2022-11-01 clyneadd note of disk space requirement
2022-11-01 clyneUpdate README.md v0.1
2022-11-01 Clyne Sullivanlinux: force our config, busybox: don't link m/crypt
2022-10-31 clyneUpdate README.md
2022-04-30 Clyne Sullivanadd complete build system
2022-04-21 Clyne Sullivaninitial commit
2022-04-21 clyneInitial commit
tags
2 years ago v0.1
heads
2 years ago master