<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MacroMag OS]]></title><description><![CDATA[MacroMag OS]]></description><link>https://macromag.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 23:33:03 GMT</lastBuildDate><atom:link href="https://macromag.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[MacroMag OS]]></title><description><![CDATA[MacroMag OS – A Zero-GNU Linux distribution powered by a Rust PID 1 object-oriented shell (VOS) & custom package manager (MUR) for x86_64 & ARM64]]></description><link>https://macromag.hashnode.dev/macromag-os</link><guid isPermaLink="true">https://macromag.hashnode.dev/macromag-os</guid><category><![CDATA[Rust]]></category><category><![CDATA[Linux]]></category><category><![CDATA[Linux distribution]]></category><dc:creator><![CDATA[Adrian Morawski]]></dc:creator><pubDate>Fri, 27 Nov 2026 19:21:19 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b09d6d52ff4b1e911b71311/32e2cd49-9495-42d2-8290-1613773775b9.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hi everyone!</p>
<p>Over the past month, I’ve been building **MacroMag OS** — an experimental, Linux distribution that replaces the legacy GNU userland and traditional text-based shells with a cohesive, memory-safe userspace written from scratch in **Rust** (with minimal C glue).</p>
<p>Instead of building just another standalone CLI tool or a Debian derivative, my goal was to design an integrated operating system where **init (PID 1)**, **shell execution**, **sandboxing**, and **package management** share a unified, strongly-typed architecture.</p>
<p>### Core Architecture</p>
<p>1. **VOS (Virtualized Object Shell) as PID 1 (`/init`)**</p>
<p>* Runs directly as the system's init process (`PID 1`), mounting virtual filesystems (`/dev`, `/proc`, `/sys`, `/tmp`), reaping orphaned processes, and initializing networking.</p>
<p>* **Typed Memory Pipelines:** Instead of serializing data to raw ASCII streams and parsing them with `grep`/`awk`/`sed`, VOS commands pass strongly-typed structs (`Vec&lt;VosObject&gt;`) directly in memory with native unit awareness (`B`, `KB`, `MB`, `GB`).</p>
<p>* **First-Class Kernel Sandboxing:** Process isolation is built directly into the shell grammar using Linux namespace syscalls (`CLONE_NEWNET`, `CLONE_NEWNS`, `CLONE_NEWPID`):</p>
<p>```rust</p>
<p>// Query processes using &gt; 256MB RAM inside an isolated network namespace</p>
<p>sandbox(net: false) -&gt; <a href="http://sys.ps">sys.ps</a>() | where memory &gt; 256MB &amp;&amp; status == "running" | select pid, name, memory | limit 10</p>
<p>```</p>
<p>* **Dual-Mode Execution:** Automatically routes VOS object pipelines to the internal AST executor while delegating legacy POSIX redirections to `/bin/sh -c` when needed.</p>
<p>2. **MUR (MacroMag User Repository)**</p>
<p>* A lightweight, zero-git package manager written in Rust (`userspace/mur`) integrated directly into VOS (`mur.sync()`, `mur.install()`, `mur.list()`).</p>
<p>* Fetches manifests, verifies `sha256` checksums, and installs static binaries cleanly without dependency bloat.</p>
<p>3. **Multi-Architecture Support (x86_64 &amp; ARM64)**</p>
<p>* Bootable ISOs are available for both **x86_64** (bare-metal/VM) and **ARM64/AArch64** (tested on Raspberry Pi, Apple Silicon via UTM, and Android via Termux/QEMU without root).</p>
<p>* Static Rust workspace compiled against `musl` (~400 KB core binary), designed to run smoothly on 512 MB RAM and older hardware to fight e-waste.</p>
<p>### Links &amp; Documentation</p>
<p>* **GitHub Repository:** <a href="https://github.com/Macromag-os/Macronag-32">https://github.com/Macromag-os/Macronag-32</a></p>
<p>* **Project Website:** <a href="https://macromag-os.github.io">https://macromag-os.github.io</a></p>
<p>* **License:** GPL v3</p>
<p>### Looking for Architectural Feedback &amp; Contributors</p>
<p>The system is currently in its MVP stage (20+ milestones completed, automated ISO builds working). As I move toward the next phases — specifically **UEFI/GPT installer support**, a **TOML-based Rust service supervisor**, and designing a **native object-oriented GUI** that maps VOS memory objects directly to screen elements — I’d love to hear your thoughts!</p>
<p>* How would you approach designing a zero-copy IPC layer if we expand VOS objects across separate user processes?</p>
<p>* If anyone is interested in low-level Rust, `no_std`/musl userspace, or OSDev, check out our open **Issues** on GitHub — feedback, critiques, and PRs are very welcome!</p>
]]></content:encoded></item></channel></rss>