AeroOS: Modern 64-bit Desktop Operating System in Rust

AeroOS is a modern, lightweight, bootable desktop operating system engineered from scratch in 100% Rust (no_std). It blends the visual elegance and usability of Windows 11 (acrylic/mica materials, centered Start Menu, Task Manager) and macOS (frosted glass top menu bar, floating pill dock, traffic light window controls) into an independent, bare-metal desktop experience.

πŸ’Ύ Download Bootable ISO

Zero Browser / Electron Dependencies: AeroOS renders its entire graphical user interface directly to a UEFI GOP linear framebuffer through a custom 32-bit software rasterizer and compositor. It includes a real TCP/IP network stack (smoltcp) communicating over a virtual virtio-net PCI adapter.


πŸ› System Architecture

+-----------------------------------------------------------------------+
|                    AeroAqua Desktop Compositor & Shell                 |
|  (macOS Topbar, Win 11 Dock, Start Menu, Wallpapers, Mouse Cursor)    |
+-----------------------------------------------------------------------+
|                        Native Applications Layer                      |
|  [AeroShell]   [Network Manager]   [Task Manager]   [Files]   [Calc]  |
+-----------------------------------------------------------------------+
|                       Window Manager & 2D Rasterizer                  |
|  - Z-Order Stack, Window Dragging, Traffic Lights (Close/Min/Max)      |
|  - Alpha Blending, Rounded Rectangles, Drop Shadows, 8x16 Bitmap Font |
+-----------------------------------------------------------------------+
|                       Real TCP/IP Networking Stack                    |
|   smoltcp 0.14: Ethernet II | ARP Cache | IPv4 (10.0.2.15) | ICMP Ping|
+-----------------------------------------------------------------------+
|                      Virtual File System (VFS / RamDisk)              |
|   Hierarchical paths: /system, /user, /docs (read/write/browse)       |
+-----------------------------------------------------------------------+
|                      Hardware Abstraction Layer (HAL)                 |
|  GDT & TSS IST  |  IDT & IRQs  |  4-Level Paging  |  PIC 8259 Remap   |
|  PS/2 Mouse     |  PS/2 Keys   |  VirtIO-Net PCI  |  UEFI GOP Framebuf|
+-----------------------------------------------------------------------+
|                    Bootloader: bootloader_api v0.11                    |
|   Dual-Mode: UEFI GPT Disk Image & BIOS MBR Disk Image                |
+-----------------------------------------------------------------------+

✨ Features Breakdown

1. Visual Design (Windows 11 + macOS Hybrid)

  • Top Menu Bar (macOS): 28px translucent frosted acrylic bar with system logo, active window title, dropdown menus, Wi-Fi status indicator, volume control, battery gauge, and real-time digital clock.
  • Floating Dock (Windows 11 / macOS): Frosted pill dock centered at the bottom of the screen with drop shadows, icons, and active running indicator dots.
  • Start Menu (Windows 11): Centered acrylic launcher with search bar, pinned application grid, user profile badge, and reboot/shutdown controls.
  • Modern Wallpaper: Atmospheric deep-space gradient with royal blue and violet ambient glow bloom.
  • Window Management: Smooth window title dragging, z-order focus switching, macOS traffic light buttons (Red: Close, Yellow: Minimize, Green: Maximize), and soft drop shadows.

2. Networking Capabilities (virtio-net + smoltcp)

  • Real Ethernet packet transmission and reception via virtio-net-pci.
  • Standard QEMU user-mode network integration:
    • IPv4 Address: 10.0.2.15 / 24
    • Gateway: 10.0.2.2
    • DNS: 10.0.2.3
  • Full ARP protocol handling and ICMP Echo Reply synthesis.
  • Built-in Network Center desktop application with live packet counters and an interactive gateway ping tool.
  • Interactive ping and ifconfig commands in the terminal shell.

3. Native Desktop Applications

  1. AeroShell (Terminal): Command prompt with interactive keyboard input, command history, and utilities (ping, ifconfig, ls, cat, neofetch, clear, reboot).
  2. Network Center: Diagnostic dashboard showing adapter link status, IP/Gateway configuration, live packet throughput, and a one-click Ping test.
  3. Task Manager & SysInfo: Real-time CPU sparkline activity graph, memory usage bar (16 MiB heap), and kernel details.
  4. File Explorer: Dual-pane directory navigator with sidebar favorites (/user, /system, /docs) and instant text preview.
  5. Calculator: Interactive acrylic calculator with numeric keypad and math operators.
  6. Text Editor: Notepad for viewing and modifying text documents.
  7. System Settings: Theme status, display resolution (GOP), and hardware details.

πŸ“ Repository Structure

rust-desktop-os/
β”œβ”€β”€ Cargo.toml                  # Cargo workspace definition
β”œβ”€β”€ Makefile                    # One-click make build and run targets
β”œβ”€β”€ README.md                   # System documentation
β”œβ”€β”€ scripts/
β”‚   └── run_qemu.sh             # UEFI / BIOS QEMU launch script with virtio-net
β”œβ”€β”€ runner/                     # Host builder: generates bootable UEFI & BIOS disk images
β”‚   β”œβ”€β”€ Cargo.toml
β”‚   └── src/main.rs
└── kernel/                     # Bare-metal x86_64 Rust Kernel (no_std)
    β”œβ”€β”€ Cargo.toml
    β”œβ”€β”€ .cargo/config.toml      # x86_64-unknown-none target configuration
    └── src/
        β”œβ”€β”€ main.rs             # Kernel entry point & main compositor loop
        β”œβ”€β”€ arch/               # GDT, TSS, IDT, PIC 8259, CPU interrupts
        β”œβ”€β”€ memory/             # 4-level paging & 16 MiB LinkedListHeap allocator
        β”œβ”€β”€ drivers/            # Serial COM1, Framebuffer, PS/2 Mouse, PS/2 Keyboard, VirtIO-Net
        β”œβ”€β”€ graphics/           # Color blending, 2D rasterizer, 8x16 font, icons, wallpaper
        β”œβ”€β”€ fs/                 # Virtual File System (RamDisk VFS)
        β”œβ”€β”€ net/                # smoltcp stack & virtio-net device adapter
        β”œβ”€β”€ window_manager/     # Window abstractions, z-order compositor, mouse dragging
        β”œβ”€β”€ desktop/            # Topbar, dock, start menu, desktop shortcuts
        └── apps/               # Terminal, Network Manager, Task Manager, File Explorer, Calc, Editor

πŸš€ Building and Running

Prerequisites

  1. Rust Nightly Toolchain with x86_64-unknown-none target:
    rustup target add x86_64-unknown-none
    
  2. QEMU x86_64 emulator (for running the virtual machine):
    • macOS: brew install qemu
    • Linux: sudo apt install qemu-system-x86

1. Build the Kernel & Disk Images

make build

This automatically compiles the bare-metal kernel and generates:

  • UEFI GPT Disk Image: target/x86_64-unknown-none/debug/aero-kernel.uefi.img
  • BIOS MBR Disk Image: target/x86_64-unknown-none/debug/aero-kernel.bios.img

2. Boot in QEMU

make run

Or run QEMU directly:

qemu-system-x86_64 \
    -drive format=raw,file=target/x86_64-unknown-none/debug/aero-kernel.bios.img \
    -serial stdio \
    -m 512M \
    -vga std \
    -device usb-mouse \
    -netdev user,id=net0,hostfwd=tcp::8080-:80 \
    -device virtio-net-pci,netdev=net0
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support