Building & Running

Build from Source (x86_64)

git clone https://github.com/MacroMag-os/MacroMag-os && cd MacroMag-os
chmod +x buildiso.sh && ./buildiso.sh

ARM64 (aarch64)

Running MacroMag OS on Android (Termux)

You can boot the aarch64 build of MacroMag OS directly on Android without root access using QEMU inside Termux.

1. Install Dependencies

Open Termux and install the headless ARM64 QEMU emulator along with p7zip and wget:

pkg update -y && pkg install -y qemu-system-aarch64-headless p7zip wget
mkdir -p ~/macromag && cd ~/macromag

2. Download ISO and Extract Boot Files

Fetch the v0.2.0-arm64 ISO image and extract the Linux kernel (boot/vmlinuz) and initial RAM filesystem (boot/initramfs.img):

wget -O MacroMag-aarch64.iso https://github.com/MacroMag-os/MacroMag-os/releases/download/v0.2.0-arm64/MacroMag-aarch64.iso
7z x MacroMag-aarch64.iso boot/vmlinuz boot/initramfs.img -y

3. Boot in QEMU

Start the virtual machine with serial console output (ttyAMA0) and user-mode networking enabled (required for mur sync):

qemu-system-aarch64 \
  -M virt \
  -cpu cortex-a57 \
  -m 2G \
  -nographic \
  -netdev user,id=net0 \
  -device virtio-net-pci,netdev=net0 \
  -kernel boot/vmlinuz \
  -initrd boot/initramfs.img \
  -append "console=ttyAMA0 rdinit=/init"

Useful Controls & Optional Disk