$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

CentOS 7.x Partition Recovery With TestDisk

January 29, 2017 | By the+gnu+linux+evangelist.

Setting Up

  1. 2. Downloading

    Download Latest TestDisk for Linux

    TestDisk 32/64-bit tar.bz2

    Get the Latest TestDisk Distribuition Archive 32/64-bit.

  2. 3. Extracting

    Then Extract into /tmp
    Possibly Double-Click/Right-Click and Open with Archive Manager:

    CentOS 7.X Recovering Partition/Disk with TestDisk - Extract Archive
    Or from Command Line:

    tar xvf $HOME/Downloads/testdisk*.tar.bz2 -C /tmp/
  3. 4. Installing

    Then to Install TestDisk on CentOS
    Relocate it with:

    su -c "mv /tmp/testdisk* /opt/testdisk"

    And finally, Make TestDisk Symlinks for Easy Launching:

    su -c "ln -s /opt/testdisk/testdisk_static /usr/bin/testdisk"
    su -c "ln -s /opt/testdisk/photorec_static /usr/bin/photorec"
    su -c "ln -s /opt/testdisk/fidentify_static /usr/bin/fidentify"

Contents