Traditional Linux distributions carry decades of legacy GNU userland baggage and rely on unstructured text streams (grep, awk, sed) to pass data between processes.
To explore a cleaner, modern alternative, I started building MacroMag OS — an experimental, modular, zero-telemetry Linux distribution written from the ground up in Rust and C (licensed under GPL-3.0).
Core Philosophy
Instead of reinventing hardware drivers from scratch, MacroMag OS uses a stripped-down Linux kernel strictly as a Hardware Abstraction Layer (HAL). Everything above the kernel is built for determinism, low resource usage (fighting e-waste on older 64-bit hardware), and strict security.
1. Virtualized Object Shell (VOS) as PID 1
In MacroMag OS, the kernel boots directly into VOS (/init, PID 1), bypassing traditional init systems and POSIX text shells.
In VOS, commands do not pass raw strings over pipes. Instead, they pass strongly-typed objects directly in memory with native awareness of units (like MB or GB) and built-in kernel-level sandboxing right in the shell syntax:
// Filter running processes using native memory units and select specific fields
sys.ps() | where memory > 256MB && status == "running" | select pid, name, memory
// Execute a pipeline inside an isolated sandbox without heavy container runtimes
sandbox(net: false) -> sys.ps() | select pid, name
2. MUR (MacroMag User Repository)
Inspired by the Arch User Repository (AUR), MUR is a lightweight, git-free package manager written in Rust. It fetches package definitions and source archives via curl and tar, verifies SHA-256 checksums, and integrates cleanly with VOS commands:
mur sync
mur install <package>
3. Minimal Footprint & Hardware Support
- Static Binaries: Core Rust components like VOS compile down to tiny static binaries (~400 KB), keeping RAM usage minimal.
-
Architectures: Built for standard
x86_64PCs, older laptops, and openRISC-Vboards. - Zero Telemetry: No background cloud polling, telemetry daemons, or hidden network calls.
Try the MVP (Bootable x86_64 ISO)
MacroMag OS is currently in its MVP stage with a pre-built bootable ISO available for testing in VMware or on bare metal:
- Download
MacroMag-x86_64.isofrom the GitHub Releases page (or build it yourself using./buildiso.sh). - Set up a 64-bit Linux VM with at least 512 MB – 1 GB RAM and a 2–4 GB SATA/IDE disk.
- Ensure the firmware is set to Legacy BIOS (UEFI/GPT support is currently in progress).
- Once booted into VOS, explore built-in modules like
sys.cpu(),disk.list(), or test installing to disk viasys.install("/dev/sda").
Source Code & Roadmap
The project is completely open-source and actively evolving. Check out the repository, explore open issues (such as UEFI boot support and persistent storage), or test the ISO:
- GitHub Repository: https://github.com
- Project Website: https://macromag-os.github.io
Feedback, architectural critiques, and contributions from fellow Rust and Linux enthusiasts are always welcome!
Top comments (0)