CentOS 8 Recovery Partition with TestDisk

September 26, 2019 | By the+gnu+linux+evangelist | Filed in: Tutorial.

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 8.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"


Tags: ,

QuickChic Theme • Powered by WordPress