old-www/HOWTO/Ext2fs-Undeletion-4.html

42 lines
2.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Linux Ext2fs Undeletion mini-HOWTO: So, how do I undelete a file?</TITLE>
<LINK HREF="Ext2fs-Undeletion-5.html" REL=next>
<LINK HREF="Ext2fs-Undeletion-3.html" REL=previous>
<LINK HREF="Ext2fs-Undeletion.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="Ext2fs-Undeletion-5.html">Next</A>
<A HREF="Ext2fs-Undeletion-3.html">Previous</A>
<A HREF="Ext2fs-Undeletion.html#toc4">Contents</A>
<HR>
<H2><A NAME="s4">4. So, how do I undelete a file?</A></H2>
<P>The procedure principally involves finding the data on the raw partition
device and making it visible again to the operating system. There are
basically two ways of doing this: one is to modify the existing file system such
that the deleted inodes have their `deleted' flag removed, and hope that the
data just magically falls back into place. The other method, which is safer
but slower, is to work out where the data lies in the partition and write it
out into a new file on another file system.
<P>There are some steps you need to take before beginning to
attempt your data recovery; see sections
<A HREF="Ext2fs-Undeletion-5.html#sec-umount">Unmounting the file system</A>,
<A HREF="Ext2fs-Undeletion-6.html#sec-prep-chg">Preparing to change inodes directly</A> and
<A HREF="Ext2fs-Undeletion-7.html#sec-prep-wrt">Preparing to write data elsewhere</A> for details.
To find out how to actually retrieve your files, see sections
<A HREF="Ext2fs-Undeletion-8.html#sec-finding">Finding the deleted inodes</A>,
<A HREF="Ext2fs-Undeletion-9.html#sec-obtain">Obtaining the details of the inodes</A>,
<A HREF="Ext2fs-Undeletion-10.html#sec-recover">Recovering data blocks</A> and
<A HREF="Ext2fs-Undeletion-11.html#sec-modify">Modifying inodes directly</A>.
<P>
<P>
<HR>
<A HREF="Ext2fs-Undeletion-5.html">Next</A>
<A HREF="Ext2fs-Undeletion-3.html">Previous</A>
<A HREF="Ext2fs-Undeletion.html#toc4">Contents</A>
</BODY>
</HTML>