Results 1 to 5 of 5

Thread: Photo recovery after disk wipe

  1. #1
    Join Date
    Mar 2011

    Photo recovery after disk wipe

    I recently installed ubuntu and completely wiped the disk with windows and everythingelse on it and now it seems I forgot to save a few important photos.
    If anyone could help instruct me on how I can recover those it would be greatly appreciated. Unfortunately, I am a beginner so laymans terms would be the best.
    Thanks guys I'll love you forever

  2. #2
    Join Date
    Aug 2009
    United States
    Ubuntu Development Release

    Re: Photo recovery after disk wipe

    In ubuntu live cd (install cd using Try UBuntu)
    install a package called testdisk:
    sudo apt-get install testdisk
    Below is package description:
    Package: testdisk                        
    New: yes
    State: installed
    Automatically installed: no
    Version: 6.11-2
    Priority: optional
    Section: universe/admin
    Maintainer: Ubuntu Developers <>
    Uncompressed Size: 4,735 k
    Depends: e2fslibs (>= 1.41.0), libc6 (>= 2.11), libcomerr2 (>= 1.01), libjpeg62
             (>= 6b1), libncursesw5 (>= 5.7+20100313), libntfs10 (>= 2.0.0),
             libuuid1 (>= 2.16)
    Description: Partition scanner and disk recovery tool
     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 and 3.6 
     * 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 searchs for following files and is able to undelete them :
     * 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)
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:

  3. #3
    Join Date
    Mar 2010
    Ubuntu Mate

    Re: Photo recovery after disk wipe

    Photorec, which comes bundled with Testdisk, should help:
    Be aware though that it often recovers files but not with the original file name so you will need to sort them out afterwards.

  4. #4
    Join Date
    Mar 2011

    Re: Photo recovery after disk wipe

    Forgive me for my ignorance, but could someone give me a walkthrough of how to install this testdisk.
    I tried before I started this thread but do not understand

  5. #5
    Join Date
    Jun 2006
    Ubuntu 20.04 Focal Fossa

    Re: Photo recovery after disk wipe

    Quote Originally Posted by thelastprimate View Post
    Forgive me for my ignorance, but could someone give me a walkthrough of how to install this testdisk.
    In Ubuntu? Simply open Ubuntu software centre or System > Admimistration > Synaptic and mark it for installation. The package manager will do the rest. Thereafter both testdisk itself (which you do not need for file recovery) and photorec are started from the terminal. If you look at Rubi1200's link, there is a link within it to "Photorec step by step", under the "Other topics" heading.
    Ubuntu 18.04 Desktop Guide - Ubuntu 20.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags - IRC #ubuntuforums

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts