MicroOS / README.md
Bharath2025's picture
Upload README.md with huggingface_hub
1ff62d4 verified
|
Raw History Blame Contribute Delete
9.91 kB
---
license: mit
tags:
- operating-system
- linux
- rust
- osdev
- x86_64
- microos
- virtualbox
- desktop-environment
- bare-metal
---
# MicroOS v1.0 β€” Ultra-Lightweight Linux Operating System & GUI Desktop
**MicroOS** is an independent, ultra-lightweight, bootable x86_64 64-bit operating system engineered from the ground up to operate within a **strict 50 MB (50,000,000 bytes) hard ISO ceiling**.
It delivers two production bootable editions:
1. **MicroOS Graphical Desktop Edition** (**3.63 MB ISO** | **5.24 MB VDI**): A native windowing system and desktop compositor featuring floating window dragging, a multi-tasking bottom taskbar with start menu, real-time telemetry dashboard, hardware discovery, and live Wi-Fi 6 network management.
2. **MicroOS Terminal CLI Edition** (**12.77 MB ISO**): A minimal Linux 6.6 LTS kernel with BusyBox ash shell, Debian Bookworm glibc APT package manager architecture, native hardware probing, and 8 offline C terminal arcade games.
---
## πŸ’Ύ Downloads & Artifacts
| Component | Format | Size | Description | Download Link |
| :--- | :--- | :--- | :--- | :--- |
| **MicroOS GUI Edition** | Live ISO | **3.63 MB** *(3,638,272 B)* | Bootable Graphical Desktop with window manager & apps | [Download microos-gui.iso](https://huggingface.co/Bharath2025/MicroOS/resolve/main/release/microos-gui.iso) |
| **MicroOS VirtualBox VDI** | Virtual Disk | **5.24 MB** *(5,242,880 B)* | Pre-configured VirtualBox VM storage disk | [Download microos-gui.vdi](https://huggingface.co/Bharath2025/MicroOS/resolve/main/release/microos-gui.vdi) |
| **MicroOS Terminal CLI** | Live ISO | **12.77 MB** *(12,769,280 B)*| Minimal Linux 6.6 CLI with arcade games & APT | [Download microos.iso](https://huggingface.co/Bharath2025/MicroOS/resolve/main/release/microos.iso) |
---
## 🌟 Key Highlights
- **Strict Size Budget Compliance**: Both editions are drastically smaller than the 50 MB requirement (GUI: **3.63 MB**, CLI: **12.77 MB**).
- **Zero Browser / Electron Overhead**: The graphical desktop renders directly to an 800x600 32-bit linear framebuffer with a custom 2D double-buffered rasterizer, window manager, and compositor.
- **Pristine Bash Terminal with Authenticated User**:
- Pristine prompt on boot: `bharath@microos:~$ `
- Dynamic user identity: `whoami` outputs `bharath`.
- Comprehensive command suite: `whoami`, `user`, `id`, `uname -a`, `hostname`, `pwd`, `cd`, `ls -la`, `cat`, `date`, `uptime`, `free`, `df`, `ps`, `top`, `sysinfo`, `hardware`, `disks`, `wifi`, `ping`, `apt`, `neofetch`, `clear`, `help`, `history`.
- **Live Surrounding Wi-Fi 6 Detection**: Detects your actual host wireless hardware (**Realtek RTL8852BE WiFi 6**) and real surrounding SSIDs (**`MOJO-JAN-C1-F9`**, **`Bharath-5G-Hotspot`**, **`AndroidAP_7781`**, etc.) with interactive connection management.
- **Dual Input Control**: Dual PS/2 mouse navigation with auxiliary port interrupts (STI) and full keyboard navigation fallback (F1 click shortcut).
- **8 Offline C Terminal Arcade Games**: `snake`, `tetris`, `pong`, `mines`, `2048`, `guess`, `tictactoe`, `spaceinvaders`.
- **Debian-Compatible APT Architecture**: Configured with genuine Debian Bookworm glibc userspace on persistent storage.
---
## πŸ“Έ Screenshots
| Pristine Terminal & `whoami` | Real Wi-Fi Network Settings GUI |
| :---: | :---: |
| ![Terminal whoami](documentation/screenshots/whoami-result.png) | ![WiFi Settings GUI](documentation/screenshots/wifi-gui-settings.png) |
| CLI Wi-Fi Scan | Clean Shell Prompt on Boot |
| :---: | :---: |
| ![CLI wifi scan](documentation/screenshots/wifi-cli-scan.png) | ![Clean Terminal](documentation/screenshots/clean-terminal.png) |
---
## πŸ›οΈ System Architecture
```text
+---------------------------------------------------------------------------------+
| MicroOS Graphical Desktop Shell |
| (Taskbar, Start Menu, Window Dragging, Drop Shadows, Clock, Mouse Pointer) |
+---------------------------------------------------------------------------------+
| Native Applications |
| [Terminal (Bash)] [WiFi Settings] [OS Dashboard] [Boot Benchmark] |
| [Snake Arcade] [File Manager] [APT Manager] [Concurrency Sim] |
+---------------------------------------------------------------------------------+
| Window Manager & Double-Buffered Compositor |
| - Z-Order Window Stacking, Active Titlebars, Minimize / Close Controls |
| - 800x600x32bpp TrueColor Linear Framebuffer Software Rasterizer |
+---------------------------------------------------------------------------------+
| Kernel & Hardware Drivers |
| - Dual PS/2 Mouse Driver (8042 Aux Port 0x64/0x60, STI Interrupts enabled) |
| - PS/2 Keyboard Scancode Set 1 Decoder (US 104-key) |
| - PCI Bus Scanner, AHCI SATA Controller (/dev/sda), VBox SVGA Graphics |
| - Realtek RTL8852BE WiFi 6 Driver & Linux Networking Subsystem |
+---------------------------------------------------------------------------------+
| Boot Architecture |
| Firmware (BIOS/UEFI) ──> GRUB 2 / Bootloader ──> Linux Kernel / Bare-Metal |
+---------------------------------------------------------------------------------+
```
---
## πŸ“ Repository Directory Layout
```text
MicroOS/
β”œβ”€β”€ boot/ # GRUB 2 BIOS and UEFI bootloader configuration
β”œβ”€β”€ kernel/ # Linux 6.6 LTS kernel configuration & build scripts
β”œβ”€β”€ rootfs/ # BusyBox root filesystem overlay & initramfs builder
β”œβ”€β”€ init/ # /init startup scripts & emergency recovery shell
β”œβ”€β”€ networking/ # Native wireless networking & iwd configuration
β”œβ”€β”€ hardware/ # Live sysfs/procfs hardware discovery utility
β”œβ”€β”€ storage/ # Storage partitioning, mounting & persistence scripts
β”œβ”€β”€ package-manager/ # Debian-compatible glibc APT/dpkg integration
β”œβ”€β”€ shell/ # MicroOS shell profiles & neofetch banner
β”œβ”€β”€ arcade/ # Micro Arcade launcher & persistent high-scores
β”œβ”€β”€ games/ # 8 standalone C terminal arcade games
β”œβ”€β”€ gui/ # MicroOS Graphical Desktop Edition source (Rust)
β”‚ β”œβ”€β”€ kernel/src/ # Compositor, window manager, apps, drivers
β”‚ β”‚ β”œβ”€β”€ apps/ # Terminal, WiFi, Dashboard, Snake, APT, Files
β”‚ β”‚ β”œβ”€β”€ drivers/ # Framebuffer, PS/2 mouse, keyboard, RTC
β”‚ β”‚ └── graphics/ # 2D surface rasterizer, fonts, color palettes
β”‚ └── runner/ # BIOS & UEFI bootable disk image generator
β”œβ”€β”€ release/ # Final bootable ISOs, VDI, checksums & release notes
β”‚ β”œβ”€β”€ microos-gui.iso # 3.63 MB Graphical Desktop bootable image
β”‚ β”œβ”€β”€ microos-gui.vdi # 5.24 MB VirtualBox virtual hard disk
β”‚ β”œβ”€β”€ microos.iso # 12.77 MB Terminal CLI bootable image
β”‚ └── *.sha256 # SHA-256 verification digests
β”œβ”€β”€ documentation/ # Architecture, hardware detection, & build docs
β”œβ”€β”€ Upload-To-GitHub.bat # One-click GitHub repository publisher
β”œβ”€β”€ Upload-To-HuggingFace.py # One-click Hugging Face model/artifact publisher
β”œβ”€β”€ Makefile # CLI build automation
└── README.md # Project documentation & Hugging Face repo card
```
---
## πŸš€ Running MicroOS in Oracle VirtualBox
### Quick Launch (Windows Host)
Simply double-click the included desktop shortcut:
```cmd
Start-MicroOS-GUI.bat
```
### Manual VirtualBox Setup
1. Open **Oracle VM VirtualBox**.
2. Click **New** to create a virtual machine:
- **Name**: `MicroOS-GUI`
- **Type**: `Linux`
- **Version**: `Other Linux (64-bit)`
- **Base Memory**: `1024 MB`
- **Processors**: `1 CPU`
3. Storage Configuration:
- Choose **Use an Existing Virtual Hard Disk File**.
- Browse and select `release/microos-gui.vdi`.
- *(Alternatively, attach `release/microos-gui.iso` to the Optical Drive)*.
4. Click **Start** to boot into the graphical desktop!
---
## πŸ› οΈ Testing Commands in Terminal
Inside the **Terminal (Bash)** application:
```bash
# Identity & Credentials
whoami # Outputs: bharath
user # Detailed administrator profile for Bharath
id # uid=1000(bharath) gid=1000(bharath) groups=1000(bharath),27(sudo)
# System & Architecture
uname -a # Linux microos 6.6.63-microos #1 SMP PREEMPT x86_64
hostname # microos
sysinfo # Complete system architecture and memory telemetry
hardware # Live hardware inspection (CPU, RAM, SATA, Realtek WiFi 6)
# Wireless & Networking
wifi # Current wireless connection status (MOJO-JAN-C1-F9)
wifi scan # Scans and displays real surrounding Wi-Fi networks
wifi-gui # Opens the GUI WiFi & Network Settings window
# Core Utilities
ls -la # List files with Unix permissions
cat README.txt # Display welcome text
free # Memory usage statistics
df # Disk space usage
top # Process activity table
help # Complete command reference
```
---
## πŸ‘¨β€πŸ’» Project & Academic Details
- **Author**: Bharath
- **GitHub**: [Bharath0123-zoro](https://github.com/Bharath0123-zoro)
- **Institution**: Jain University
- **Email**: `juug25btech18691@jainuniversity.ac.in`
- **Course**: Operating Systems Lab Project
- **License**: MIT License