DigestAI news desk

Cut through the AI noise.

Generative AI & Models2 min read

Krlntn builds neural network that boots PC from 512‑byte MBR

The project is a neural network that runs in 16‑bit real mode on a 386, loaded from a 512‑byte MBR. The author, krlntn, writes hand‑crafted assembly that loads an 11.5‑KB int8 model from the next 23 sectors. The model is a single‑hidden‑layer char‑level net trained on fake dmesg logs. The boot sector prints a simulated Linux boot log, including timestamps, PCI bars, ACPI events, and a command…

1 source primary source HN 43

Key points

  • krlntn loads an 11.5‑KB int8 model from 23 sectors and runs it in 16‑bit real mode on a 386.
  • The boot sector prints a simulated Linux boot log with timestamps, PCI bars, ACPI events, and a command line.
  • Scripts include corpusgen.py for fake logs, train.py for training, boot.asm for runtime, and record.py to capture a demo GIF from QEMU.

The author provides scripts: corpusgen.py creates 3 MB of fake logs, train.py trains and quantizes the model, boot.asm contains the runtime, and record.py captures a demo GIF from QEMU. The project references earlier boot‑sector AI demos such as sectorllm, sectorlisp‑nn, and bootgpt, and cites Oscar Toledo’s 512‑byte games. The demonstration shows that a tiny neural net can run on bare hardware without an OS, highlighting the limits of inference on constrained devices.

Full story from github.com · via Hacker News primary sourceOpen source ↗

Show HN: A language model that lives in a boot sector

github.com · 31 October 2026

Loading the full article…

This text was published by github.com. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗

Coverage and discussion

1source
Topics · follow one to build your own front page
krlntnOscar Toledo

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Generative AI & Models

All →

Related stories