Data recovery of deleted files from the FAT filesystem | Linux Today

Data recovery of deleted files from the FAT filesystem

Written By
Web Webster
Web Webster
Jul 9, 2010

[ Thanks to linuxconfig for this link.
]

“1. Introduction

“Although FAT32 or FAT16 are very old file systems, which
reflects on their poor performance in comparison with other file
system alternatives they are still widely used by many electronic
devices. Usually, these devices include USB stick’s, digital
cameras , camcorders and etc. Chances are that you own and store
personal data on a device with FAT flesystem is very high as is a
likelihood of an accidental deletion of your important data. In
this article we will use testdisk utility to undelete files from
FAT file system.

“OOPS.. I have accidentally removed a video file from my
camcorder ! The first thing before we start panic is to unmount USB
device and create a low level backup of the device partition with a
dd command.

“If from any reason you cannot unmount your device, remount it
with read-only permissions:

# mount -o remount,ro /dev/sdX

“Any data written or file manipulation after accidental file
removal will weaken our chances for deleted file recovery. On the
other hand creation of a low level backup with dd command gives us
an opportunity for unlimited recovery attempts since we are always
able to put the entire partition back bit by bit exactly as it was
right after accidental file deletion.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.