Total Pageviews

Saturday, 20 May 2023

磁盘分区恢复工具TestDisk



TestDisk是一款磁盘分区恢复工具,由于有缺陷的软件,病毒或人为误操作(如不小心删除分区表)导致的分区丢失后,用户可以借助TestDisk恢复丢失的分区。

支持功能:
    修复分区表, 恢复已删除分区
    用FAT32备份表恢复启动扇区
    重建FAT12/FAT16/FAT32启动扇区
    修复FAT表
    重建NTFS启动扇区
    用备份表恢复NTFS启动扇区
    用MFT镜像表(MFT Mirror)修复MFT表
    查找ext2/ext3/ext4备份的SuperBlock
    从FAT,NTFS及ext2文件系统恢复删除文件
    从已删除的FAT,NTFS及ext2/ext3/ext4分区复制文件.

支持的操作系统平台:
    DOS (实模式 或Windows 9x DOS模式)
    Windows (NT4, 2000, XP, 2003, Vista)
    Linux
    FreeBSD, NetBSD, OpenBSD
    SunOS
    MacOS

------------------

TestDisk & PhotoRec

www.cgsecurity.org/ 

TestDisk checks the partition and boot sectors of your disks. It is very useful in recovering lost partitions.

It works with:

  • DOS/Windows FAT12, FAT16 and FAT32
  • NTFS (Windows NT/2K/XP)
  • Linux Ext2 and Ext3
  • BeFS (BeOS)
  • BSD disklabel (FreeBSD/OpenBSD/NetBSD)
  • CramFS (Compressed File System)
  • HFS and HFS+, Hierarchical File System
  • JFS, IBM's Journaled File System
  • Linux Raid
  • Linux Swap (versions 1 and 2)
  • LVM and LVM2, Linux Logical Volume Manager
  • Netware NSS
  • ReiserFS 3.5, 3.6 and 4
  • Sun Solaris i386 disklabel
  • UFS and UFS2 (Sun/BSD/...)
  • XFS, SGI's Journaled File System

PhotoRec is file data recovery software designed to recover lost pictures from digital camera memory or even hard disks. It has been extended to search also for non audio/video headers.

It searches for:

  • Sun/NeXT audio data (.au)
  • RIFF audio/video (.avi/.wav)
  • BMP bitmap (.bmp)
  • bzip2 compressed data (.bz2)
  • Source code written in C (.c)
  • Canon Raw picture (.crw)
  • Canon catalog (.ctg)
  • FAT subdirectory
  • Microsoft Office Document (.doc)
  • Nikon dsc (.dsc)
  • HTML page (.html)
  • JPEG picture (.jpg)
  • MOV video (.mov)
  • MP3 audio (MPEG ADTS, layer III, v1) (.mp3)
  • Moving Picture Experts Group video (.mpg)
  • Minolta Raw picture (.mrw)
  • Olympus Raw Format picture (.orf)
  • Portable Document Format (.pdf)
  • Perl script (.pl)
  • Portable Network Graphics (.png)
  • Raw Fujifilm picture (.raf)
  • Contax picture (.raw)
  • Rollei picture (.rdc)
  • Rich Text Format (.rtf)
  • Shell script (.sh)
  • Tar archive (.tar)
  • Tag Image File Format (.tiff)
  • Microsoft ASF (.wma)
  • Sigma/Foveon X3 raw picture (.x3f)
  • Zip archive (.zip)

TestDisk and PhotoRec run on:

  • DOS, Win 9x
  • Windows
  • Linux
  • FreeBSD, NetBSD, OpenBSD
  • SunOS

Both are licensed under the GNU General Public License.

See the latest documentation To build from source, read INSTALL.

Christophe GRENIER grenier@cgsecurity.org https://www.cgsecurity.org/

from https://github.com/cgsecurity/testdisk

-----------------------------------------------------

Documentation for TestDisk & PhotoRec

www.cgsecurity.org/testdisk.pdf 

from https://github.com/cgsecurity/testdisk_documentation

-------------------------------------------------------------------

Compilation

Compilation from source archive

Once you have downloaded the source archive from https://www.cgsecurity.org/wiki/TestDisk_Download, run

tar xjf testdisk-7.2-WIP.tar.bz2
cd testdisk-7.2-WIP
./configure && make

Compilation from git repository

git clone https://git.cgsecurity.org/testdisk.git

If you have already cloned the project, to update your local copy, run :command:`git pull` from the :file:`testdisk` directory.

cd testdisk
mkdir config
autoreconf --install -W all -I config
./configure
make

Compiling a static version

Once you have been able to build a "normal" version, you can try to build a static version.

make static

A static build is a compiled version of a program which has been statically linked against libraries. A static binary does not depend on library availability of the computer it's running on, usually you can copy this binary on another computer and it will work. It is still architecture specific (i.e. CPU) and may be kernel (OS version) dependent, so static binaries may be used for portable applications. For the build to be successful, you may have to install static version of libraries.

from https://github.com/cgsecurity/testdisk_documentation/blob/master/compilation.rst

--------------------------------------------------------------------------------------------------

 文件恢复软件PhotoRec


PhotoRec是一款免费开源、跨平台的数据恢复软件,  用于恢复硬盘、光盘中丢失的视频、文档、压缩包等文件,或从数码相机存储卡中恢复丢失图片的数据恢复软件,  PhotoRec忽略文件系统,能直接从介质底层恢复数据,因此,在介质的文件系统严重破坏或被重新格式化后,它也能进行数据恢复。支持的文件系统包括: FAT,NTFS,exFAT,ext2/ext3/ext4,HFS+ 。  多操作系统包括:DOS/Win9x, Windows NT 4/2000/XP/2003/Vista,Linux,FreeBSD, NetBSD, OpenBSD,Sun Solaris,Mac OS X。 软件遵循GPLV v2开源协议。


 

 

 

 

 

 

No comments:

Post a Comment