Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/damianiglesias/amnesiaOS/llms.txt

Use this file to discover all available pages before exploring further.

AmnesiaOS is built around one uncompromising principle: the operating system must leave no trace after shutdown. At boot, GRUB loads the Linux kernel and a self-contained initramfs image directly into RAM. From that moment forward, every read, write, and execution happens exclusively in memory. No persistent root filesystem is ever mounted, no swap partition is touched, and when the machine loses power the hardware clears RAM — taking every bit of the running system with it.

Core components

Linux Kernel 6.16.1

Compiled from source with a minimal configuration. Includes initramfs/initrd support, tmpfs, USB storage drivers, ext4, and SquashFS — and nothing else.

Initramfs

A CPIO archive compressed with gzip, weighing in at approximately 10 MB. It is loaded entirely into RAM by GRUB before the kernel executes a single line of /init.

BusyBox 1.35.0

A single statically-linked binary (~1 MB) that provides over 300 Unix utilities — sh, ls, ip, vi, tar, ping, and more — with no external library dependencies.

GRUB 2.12

Supports both BIOS and UEFI firmware. Reads grub.cfg from the boot medium and loads vmlinuz plus initramfs.img into RAM before handing off to the kernel.

/init script

A minimal shell script that bootstraps the system: mounts the virtual filesystems (proc, sysfs, devtmpfs), brings up the loopback interface, runs udhcpc for DHCP on each detected network interface, then drops into an interactive BusyBox shell.

tmpfs

The RAM-backed virtual filesystem used as the root filesystem for the entire running OS. All filesystem operations — including creating, editing, and deleting files — are purely in-memory operations.

Why no disk writes?

  • Everything is tmpfs. The kernel mounts the initramfs as a tmpfs root. There is no block device involved — the “disk” is RAM.
  • No swap partition. Configuring swap would let the kernel page memory out to disk, leaving recoverable data. AmnesiaOS deliberately omits any swap configuration.
  • No persistent storage mounted by default. External drives and internal disks are never mounted automatically. Accessing them requires an explicit user action.
  • RAM is cleared on power-off. When the machine shuts down or loses power, DRAM loses its charge and all data is irrecoverably destroyed — this is the zero-trace guarantee.

Design trade-offs

Everything stored in RAM is lost the moment the machine powers off. Files you created, configuration changes you made, and any data you downloaded during the session vanish completely — this is intentional and is the core security property of AmnesiaOS. There is no way to recover data after a shutdown.
Not in the current version (v0.2.0). Because no persistent storage is mounted by default, there is nowhere for files to survive a reboot. A future release will explore network-backed storage (e.g. NFS or SFTP) as an opt-in mechanism that keeps the local disk completely untouched.
The kernel occupies approximately 15 MB and the initramfs tmpfs uses approximately 10 MB, for a combined overhead of roughly 25 MB. On a machine with 512 MB of RAM, you have around 487 MB free for processes and data. On a machine with 1 GB, you have roughly 999 MB free. See the RAM Layout page for a full breakdown.

Boot Sequence

Step-by-step walkthrough from firmware power-on through GRUB, the kernel, /init, and the BusyBox shell.

RAM Layout

How physical RAM is divided at runtime: kernel, initramfs tmpfs, and the memory available for your workloads.

Build docs developers (and LLMs) love