OpenSuperClone

Commits Last Commit Release License

A powerful disk cloning utility for Linux with many advanced features based on Scott Dwyer's HDDSuperClone.

Features💾 Installation✏️ Changelog💵 Credits📄 License

Size Limit CLI

Features

  • Advanced drive cloning capability akin to that of ddrescue
  • Virtual drive mode for targeted data extraction
  • Direct AHCI and IDE capability to circumvent OS drivers completely
  • USB relay control for automatic power cycling of drives

📋 Planned Changes

  • Refactoring of codebase (get rid of -fcommon flag)
  • Remove requirement for running as root
  • Add configuration files and presets for settings

💾 Installation

Pre-built DEB and RPM packages for OpenSuperClone can be found on the Release page.

Note that OpenSuperClone requires a kernel module to be installed for the virtual drive functionality and direct AHCI/IDE access. If DKMS is present, the module will be automatically built and installed. Otherwise, the module can be built and installed manually.


# Build and install the kernel module manually (substitute x.x.x with the version number)
$ cd /usr/src/OSCDriver-x.x.x
$ make
$ sudo make install

# Alternatively, build and install the kernel module using DKMS
# after the package has been installed (requires DKMS to be installed)
$ sudo dkms install OSCDriver/x.x.x

Compiling from Source

💡 OpenSuperClone requires the following packages to be installed for a successful project build:

  • cmake
  • gcc
  • gettext
  • libconfig-dev
  • libgtk-3-dev
  • libusb-dev
  • pkg-config

Building and running locally

# Build OpenSuperClone and OSCViewer for Release and install to ./Release
$ ./build.sh

# If you want to install the kernel module with DKMS, copy the source to the DKMS directory
# and install the module (substitute x.x.x with the version number)
sudo cp -r ./Release/src/OSCDriver-x.x.x /usr/src/OSCDriver-x.x.x
sudo dkms install OSCDriver/x.x.x

# Run OpenSuperClone
$ sudo ./Release/bin/opensuperclone

# Run OSCViewer
$ ./Release/bin/oscviewer

Building and installing to /usr/

# Build OpenSuperClone and OSCViewer for Release and install to /usr/
# This will also attempt to install the kernel module if DKMS is installed
$ ./install.sh

# Run OpenSuperClone
$ sudo opensuperclone

# Run OSCViewer
$ oscviewer

✏️ Changelog

OpenSuperClone 2.5 [Work-In-Progress]

  • Implemented DKMS for driver installation
  • OSCDriver 2.6.2: add support for kernel 5.19.12 to 6.1.1 (thanks to piernov)

OpenSuperClone 2.4.1

  • Fixed a bug where the UI labels would show bogus strings

OpenSuperClone 2.4

  • Removal of licensing related code
  • Implemented CMake as build system
  • Switched from GTK2 to GTK3
  • Replaced localization system with gettext
  • OSCDriver 2.6.1: add suport for kernel 5.15 to 5.19.11 (thanks to piernov)
  • Minor improvements to OSCViewer (color picker, minor graphical changes)

💵 Credits

All credit belongs to Scott Dwyer with his work on HDDSuperClone.

This project makes use of the following libraries/programs:

📄 License

This software is licensed under the GPLv2.

S
Description
No description provided
Readme GPL-2.0 18 MiB
Languages
C 99.1%
CMake 0.5%
Shell 0.4%