- VyshOS - Bare-Metal UEFI Microkernel & Graphical OS in Rust
VyshOS - Bare-Metal UEFI Microkernel & Graphical OS in Rust
πΏ DOWNLOAD BOOTABLE ISO:
Micro-OS.iso(4.48 MB)Direct Download from Hugging Face: Click above to download the bootable ISO file directly to your laptop! Ready to run in Oracle VirtualBox, VMware, QEMU, or write to a USB drive with Rufus.
A standalone, bare-metal 64-bit UEFI graphical operating system written completely in Rust (no_std). VyshOS boots directly from UEFI firmware, initializes a 1080p high-resolution linear framebuffer via UEFI GOP, interacts directly with x86 hardware I/O ports, and provides a multi-tasking graphical desktop environment with interactive applications and smooth touchpad/mousepad integration.
π Academic Information
- Author: Yeddula Vyshnavi
- USN:
25BTRCL294(SectionE) - Institution: JAIN (Deemed-to-be University), Faculty of Engineering and Technology (FET Campus)
- Course:
25PCCS201: Operating Systems
π Key Features & Architecture
1. Bare-Metal UEFI Runtime (x86_64-unknown-uefi)
- Completely freestanding
#![no_std]and#![no_main]Rust implementation. - Directly invokes UEFI Boot Services and Runtime Services via native EFI ABI function pointers.
- Queries and sets the highest supported display mode (1920Γ1080 Full HD) via UEFI Graphics Output Protocol (GOP).
2. Native x86 Hardware PS/2 Mouse & Touchpad Driver
- Direct inline assembly communication (
in al, dxandout dx, al) with the motherboard 8042 PS/2 controller at I/O ports0x60and0x64. - Decodes 3-byte standard mouse packets for
(dx, dy)movement and left/right clicks. - Compatible with VirtualBox
--mouse ps2and physical laptop touchpads.
3. Flicker-Free Dirty-Rect Hardware Cursor Buffer
- Employs a dedicated
MouseCursorBuffer(saving/restoring 256 pixels) under a high-visibility 16Γ16 arrow pointer. - Eliminates 100% of display tearing, smearing, and screen flicker by repainting only the cursor region during motion rather than redrawing the 2-million-pixel desktop background.
4. Real-Time Hardware Clock (RTC)
- Synchronizes time and date directly with the PC hardware CMOS / UEFI Runtime Services
GetTime. - Dynamically updates the taskbar clock every minute without UI freezing.
5. Built-in Desktop Applications
- Interactive Shell (
vysh-sh): An interactive command-line terminal supporting real keyboard typing, command history, and utilities:help- List available commandswifi scan&wifi connect- Wireless network discovery and hotspot tetheringwifi status&ping- Network diagnosticsipconfig- Network adapter detailswhoami- Student and college credentialsls/dir- Virtual file directorytime&date- Hardware RTC clock readoutuname -a- Microkernel architecture infoclear- Clear terminal screen
- Scientific Calculator: Full 4-function mathematical engine with interactive on-screen click buttons and physical number pad support.
- Wi-Fi Hotspot Center: 802.11 network management with one-click hotspot connection.
- Laptop / This PC: Hardware diagnostics and CPU/RAM resource overview.
- Settings: System configuration and workstation preferences.
- Research Paper Viewer: Operating system scheduling and microkernel architecture paper.
πΏ Bootable ISO & Virtual Machine Images
You can download the bootable image directly from this repository to test or install Micro-OS:
- πΏ Download Bootable UEFI ISO (
Micro-OS.iso) (4.48 MB - Bootable on VirtualBox, VMware, QEMU, Rufus, or physical UEFI PCs) - π» VirtualBox VDI: Built automatically using
cargo run --bin builderto outputkernel.vdi.
π Repository Structure
uefi_kernel/
βββ .gitignore # Ignores build artifacts and disk images
βββ Cargo.toml # Rust package manifest
βββ Cargo.lock # Dependency lockfile
βββ README.md # Project documentation
βββ Micro-OS.iso # Bootable UEFI Hybrid ISO (4.48 MB)
βββ ISO/ # Dedicated bootable ISO directory
β βββ Micro-OS.iso
βββ build_iso.py # Automated UEFI ISO builder (El Torito + FAT16)
βββ push_to_hf.py # One-click Hugging Face repository uploader
βββ 25BTRCL294_Y_Vyshnavi_Linux.pdf # Linux Systems Engineering Empirical Report
βββ 25BTRCL294_Y.VYSHNAVI_investigation_report.pdf # OS Investigation & CPU Scheduling Research
βββ 25BTRCL294_Y.VYSHNAVI_research_writeup.pdf # Workload-Aware Scheduling Research Paper
βββ 25BTRCL294_Y.VYSHNAVI_lab report.pdf # Comprehensive OS Laboratory Report
βββ docs/ # Academic reports folder
β βββ 25BTRCL294_Y_Vyshnavi_Linux.pdf
β βββ 25BTRCL294_Y.VYSHNAVI_investigation_report.pdf
β βββ 25BTRCL294_Y.VYSHNAVI_research_writeup.pdf
β βββ 25BTRCL294_Y.VYSHNAVI_lab report.pdf
βββ src/
βββ main.rs # Complete microkernel, GOP graphics, drivers, & apps
βββ bin/
βββ builder.rs # Disk builder: creates FAT16 EFI partition, VDI image, & ISO
π Academic Research Papers & Continuous Assessment Reports
All reports submitted by the author (Yeddula Vyshnavi, USN: 25BTRCL294, Section E, JAIN FET Campus) are included directly in the repository:
- π 25BTRCL294_Y_Vyshnavi_Linux.pdf
Investigating the Impact of Workload Characteristics on CPU Scheduling Policy Selection: A Linux Systems Engineering Empirical Study (CA-5 Report, 27 pages). - π 25BTRCL294_Y.VYSHNAVI_investigation_report.pdf
Workload-Aware Scheduling: Can Workload Characteristics Be Used to Select a More Suitable CPU Scheduling Strategy? (CA-4 Investigation Report). - π 25BTRCL294_Y.VYSHNAVI_research_writeup.pdf
OS Continuous Assessment Extended Research Writeup: Empirical CPU Scheduling Simulation & Policy Selection. - π 25BTRCL294_Y.VYSHNAVI_lab report.pdf
Comprehensive Operating Systems Laboratory Report and Practical Implementations (12.4 MB). - π 25BTRCL294_Yeddula_Vyshnavi Design_Debugging.pdf
Continuous Assessment CA-3: Design & Debugging Analysis Report (409 KB).
π οΈ How to Build and Run
Prerequisites
- Rust Toolchain:
rustup target add x86_64-unknown-uefi - Oracle VM VirtualBox:
Installed at default location (
C:\Program Files\Oracle\VirtualBox\VBoxManage.exe).
Step 1: Compile the UEFI Kernel
cargo build --target x86_64-unknown-uefi
This compiles the kernel binary to target/x86_64-unknown-uefi/debug/uefi_kernel.efi.
Step 2: Build the VirtualBox Disk Image (kernel.vdi)
cargo run --bin builder
The builder tool:
- Creates a 32 MB disk image (
disk.img). - Formats an MBR partition table with an EFI System Partition (FAT16).
- Copies
uefi_kernel.efito\EFI\BOOT\BOOTX64.EFI. - Automatically calls
VBoxManage convertfromrawto producekernel.vdi.
Step 3: Run in Oracle VirtualBox (Using ISO or VDI)
Option A: Booting from Micro-OS.iso
- Open Oracle VM VirtualBox and create a new VM:
- Type: Other
- Version: Other/Unknown (64-bit)
- RAM: 512 MB or 1024 MB
- In Settings -> System:
- Check Enable EFI (special OSes only)
- Set Pointing Device: PS/2 Mouse (or USB Tablet)
- In Settings -> Storage:
- Attach
Micro-OS.isoto the Optical Drive (SATA / IDE Controller).
- Attach
- Click Start to boot Micro-OS directly from the ISO!
Option B: Booting from kernel.vdi
- Follow the steps above, but attach
kernel.vdito the SATA Hard Disk controller. - Click Start.
π€ Hugging Face Repository
Micro-OS and its bootable ISO image are also hosted on Hugging Face:
- π Hugging Face Model Page: https://huggingface.co/vyshnavi511/Micro-OS
- πΏ Direct ISO Download from Hugging Face: https://huggingface.co/vyshnavi511/Micro-OS/resolve/main/Micro-OS.iso
β¨οΈ Desktop Shortcuts
[T]: Open Terminal (vysh-sh)[C]: Open Calculator[W]: Open Wi-Fi Center[L]: Open Laptop / This PC[S]: Open Settings[R]: Open Research Paper[Esc]: Close active window[Tab]: Toggle Start Menu[Arrow Keys]: Move mouse pointer (backup to touchpad)[Space]: Click under cursor