Recovering Partition/Disk on CentOS 7
Hello CentOS User! This Tutorial Shows You Step-by-Step How-to Install and Getting Started with TestDisk Partitions Scan and Disk Recovery Tools on CentOS 7.x 32/64bit GNU/Linux.
TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software: certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.
- Fix partition table, recover deleted partition
- Recover FAT32 boot sector from its backup
- Rebuild FAT12/FAT16/FAT32 boot sector
- Fix FAT tables
- Rebuild NTFS boot sector
- Recover NTFS boot sector from its backup
- Fix MFT using MFT mirror
- Locate ext2/ext3/ext4 Backup SuperBlock
- Undelete files from FAT, exFAT, NTFS and ext2 filesystem
- Copy files from deleted FAT, exFAT, NTFS and ext2/ext3/ext4 partitions.
Inside the Article You’ll Find also a Link to Detailed Guide on How Getting-Started Scanning and Recovering Partitions on CentOS Linux.
Open a Shell Terminal emulator window
(Press “Enter” to Execute Commands)
Or Login into the Server Shell.
Download Latest TestDisk for Linux:Get TestDisk 32/64bit tar.bz2
Get the Latest TestDisk Distribuition Archive 32/64bit.
Double-Click/Right-Click on Archive and Extract into /tmp
Or from Command Line:
tar xvf $HOME/Downloads/testdisk*.tar.bz2 -C /tmp/
Relocate TestDisk for CentOS Linux
su -c "mv /tmp/testdisk* /opt/testdisk"
Making TestDisk Symlinks
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"
Getting-Started Recover Disk Partitions on CentOS:Step-by-Step Recovering Example
This recovery example guides you through TestDisk step by step to recover a missing partition and repair a corrupted one.