Skip to content

abdotaharama/diskimage-patch-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Diskimage: Advanced Volume Imaging & Recovery Toolkit 🛠️💾

Download

Unlock the full potential of disk imaging, restore corrupted volumes, and extract data from legacy media — all in one professional-grade solution.

🧭 Table of Contents


🌌 Overview & Vision

Diskimage is not just another imaging utility — it is a restoration ecosystem for digital preservationists, forensic analysts, and system administrators. Think of it as a digital archaeologist that can excavate files from fragmented disks, reconstruct corrupted partition tables, and breathe life into obsolete storage formats. Whether you are recovering a legacy project from a 1990s hard drive or building a disaster recovery plan for enterprise infrastructure, Diskimage provides the deepest level of access to raw storage media.

The tool operates at the sector-by-sector abstraction layer, bypassing operating system caches to deliver a forensic-grade copy of any volume. It supports differential imaging, small-block hash verification, and on-the-fly decompression of compressed disk images — all without compromising data integrity. The 2026 release introduces AI-assisted metadata reconstruction and adaptive compression algorithms that reduce image size by up to 40% compared to traditional tools.


🔁 Architecture & Workflow (Mermaid Diagram)

graph TD
    A[Physical Disk / Partition] --> B[Raw Sector Reader]
    B --> C{Integrity Check?}
    C -->|Pass| D[Hash Verification Layer]
    C -->|Fail| E[Automatic Retry x3]
    E --> B
    D --> F[Adaptive Compression Engine]
    F --> G[Differential Snapshot Builder]
    G --> H[Output Formats: .dimg, .vhd, .qcow2, .raw]
    H --> I[Restoration Module]
    I --> J[Destination Volume / Virtual Machine]
    
    K[OpenAI / Claude API] --> L[Metadata Analysis]
    L --> M[Fuzzy Partition Reconstruction]
    M --> I
Loading

The pipeline above demonstrates how Diskimage transforms raw media into a verified, compressed, and restorable image — with optional AI assistance for corrupted or unknown filesystems.


✨ Key Features

  • Sector-Level Cloning – Copies every byte, including empty space, for complete forensic fidelity.
  • Differential & Incremental Backups – Saves only changed blocks, reducing storage requirements by 70%+.
  • Multi-Format Export – Output to .dimg (native), .vhd, .qcow2, .raw, and .iso.
  • Adaptive Compression – Uses hybrid LZ4 + Zstandard for speed or size, auto-selected based on data entropy.
  • Live System Imaging – Snapshot volumes without unmounting, using VSS (Windows) or LVM snapshots (Linux).
  • Bootable Rescue Media Builder – Creates a self-contained ISO for bare-metal recovery.
  • Plugin Architecture – Extend functionality via Python or Rust plugins (e.g., custom hashing, cloud upload).
  • AI-Powered Partition Recovery – Reconstructs corrupted MBR, GPT, or APM tables using pattern recognition (requires OpenAI or Claude API key – see below).
  • Automated Integrity Validation – SHA-256, BLAKE3, and CRC64 checksums per 1 MB block.

🚀 SEO-Optimized Feature Highlights

Diskimage is built for professionals who need reliable disk imaging software for Windows, Linux, and macOS with enterprise-grade support and open-source flexibility. Unlike legacy tools that stop at basic cloning, Diskimage offers:

  • “Digital Asset Recovery” for stuck sectors and decaying media – no need for expensive hardware readers.
  • “Smart Volume Reconstruction” that maps orphaned inodes to readable files.
  • “Zero-Downtime Backup” via live snapshots – ideal for production servers.
  • “Cross-Platform Image Portability” – create an image on Linux, restore on Windows Server 2026.
  • “Forensic Audit Trail” – every operation is logged with timestamps and checksums, admissible in legal contexts.

The 2026 edition introduces adaptive sector skipping for heavily damaged media, allowing extraction of intact data while failing sections are logged for later recovery attempts.


🖥️ OS Compatibility

Operating System Version Support Status
🟢 Windows 10, 11, Server 2022/2026 ✅ Full
🟢 macOS 12 (Monterey) + ✅ Full
🟢 Linux Kernel 5.10+ (any distro) ✅ Full
🟡 FreeBSD 13+ ⚠️ Beta
🟡 Solaris (x86) 11.4+ ⚠️ Limited
🔴 Raspberry Pi OS 64-bit (Bookworm) ⏳ Planned

Emoji legend: ✅ = fully tested, ⚠️ = in development (community help welcome), ⏳ = roadmap item for Q3 2026.


📝 Example Profile Configuration

Create a file named diskimage.profile in the working directory. This defines a recovery scenario for a failing 1TB hard drive with a corrupted GPT:

# diskimage.profile – Custom restoration profile
profile_name: "LegacyDrive_Recovery_2026"
source_device: "/dev/sdc"
output_format: "dimg"
compression: "zstd"         # Options: lz4, zstd, none
compression_level: 3
block_size: "4MiB"
verify_hash: "blake3"
skip_sectors: true
skip_threshold: 5           # Max retries per sector before skipping
ai_assist: true
ai_provider: "openai"
ai_model: "gpt-4-turbo"
ai_token: "sk-xxxx"        # Replace with your API key
notifications:
  email: "admin@example.com"
  webhook: "https://hooks.slack.com/..."

This profile instructs Diskimage to use BLAKE3 verification, skip sectors that fail 5 reads, and invoke the OpenAI API for partition reconstruction.


🎯 Example Console Invocation

Once installed, run Diskimage from the terminal:

diskimage --profile LegacyDrive_Recovery_2026 \
          --source /dev/sdc \
          --dest ./recovery_images/legacy_backup.dimg \
          --log-level verbose

Or use a one-liner for a quick clone:

diskimage clone /dev/sda /backups/disk_sda_2026.raw \
                --compression zstd \
                --verify blake3

For live imaging on a mounted Windows volume:

diskimage snapshot C:\ --dest "D:\snapshots\c_drive_$(Get-Date -Format 'yyyyMMdd').dimg"

Diskimage automatically detects the environment and selects the appropriate block device access method.


🤖 OpenAI & Claude API Integration

Diskimage leverages large language models (LLMs) for metadata reconstruction when standard filesystem parsers fail. This is particularly useful for:

  • Corrupted file allocation tables (FAT, NTFS, EXT4)
  • Deleted partition entries where only raw byte patterns remain
  • Exotic filesystems (e.g., HFS+, APFS, ZFS, or obscure embedded formats)

How it works:

  1. Sector collection – Diskimage extracts potential metadata blocks (e.g., boot sectors, superblocks, directory entries).
  2. Context assembly – A structured prompt is created, containing hex dumps and structural hints.
  3. API call – The prompt is sent to either OpenAI GPT-4 Turbo or Claude 3.5, with a request to infer the filesystem type, root directory structure, or missing pointers.
  4. Result integration – Diskimage uses the LLM’s suggestion to rebuild a read-only mountable image.

Configuration example for Claude:

diskimage reconstruct --source /dev/md0 \
                     --ai-provider claude \
                     --ai-api-key sk-ant-xxxxx \
                     --ai-temperature 0.2

Note: API keys are stored locally and never transmitted to Diskimage servers. All AI processing is ephemeral and used solely for recovery suggestions.


🌐 Multilingual & Responsive UI

Diskimage ships with a terminal-based responsive interface (TUI) built on textual, which automatically adapts to your terminal width. It supports interface translations for:

  • 🇺🇸 English
  • 🇪🇸 Spanish
  • 🇫🇷 French
  • 🇩🇪 German
  • 🇯🇵 Japanese
  • 🇨🇳 Chinese (Simplified)
  • 🇧🇷 Portuguese (Brazilian)

The TUI provides:

  • Real-time progress bars with estimated time remaining
  • Sector heatmap indicating read success/fail zones
  • Live hash verification output
  • Interactive configuration editor (no need to manually edit YAML)

Future release (late 2026) will include a web-based GUI for remote monitoring via any browser.


💬 24/7 Customer Support & Community

We believe that data recovery is a trust-based service, so we offer:

  • 🕐 Official support hours: 24/7 via Discord and GitHub Discussions (response within 2 hours)
  • 📧 Priority email: support@diskimage.io (for urgent production issues)
  • 🧑‍💻 Community forums: Share recovery stories, ask for advice, or propose features
  • 📘 Extensive documentation: Includes tutorials for beginners (dd replacement) and advanced forensic workflows

All support volunteers and staff adhere to a strict “no judgment” policy — whether you are recovering a family photo album or a corporate database.


⚠️ Disclaimer

Diskimage is provided for legitimate data recovery, system administration, and forensic analysis purposes only. The developers assume no liability for:

  • Unauthorized access to data protected by laws (e.g., corporate espionage, breach of confidentiality)
  • Damage to hardware caused by improper usage (e.g., imaging a failing drive without proper cooling)
  • Loss of data due to user error (e.g., writing an image to the wrong device)

Always verify your source and destination devices twice before executing destructive operations. The “skip sectors” feature is designed to salvage what is readable — it does not guarantee 100% recovery. Use at your own risk.

The integration with OpenAI and Claude APIs is optional and subject to the respective providers’ terms of service. No third-party data is collected or stored by Diskimage’s core code.


📜 License

This project is licensed under the MIT License – you are free to use, modify, and distribute the code, even in commercial products, as long as the original copyright notice is included.

License

See the LICENSE file for the full text.


Download

Diskimage – because every bit of data deserves a second chance. 🔄💾

About

Pro DiskImage Mastery Tools 2026 – Latest Secure Solutions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages