The accidental RM command will upset you, because the command deletion in Linux does not go through the recycle bin. blinux introduces the data recovery method of the Linux ext3 file system.
1. preparation: First, you need to save the site. if you have the conditions, remove the hard disk and connect it to another computer. This is the safest option. To improve the data recovery success rate, I think it is necessary.
2. now you have mounted the hard disk that requires data recovery to another computer (Linux system). Note that you do not need to mount it or double-click the drive letter. Now the Linux Desktop is doing a great job, double-click to mount the disk.
3. Now let's show our leading role -- ext3grep
Install here is not much said, if there is a dependency can consider Yum localinstall, blinux here is the use of the version of the ext3grep-0.6.0-2mdv2008.0.
4. Now the main character ext3grep should work.
(1) fdisk-L identifies the drive letter for data recovery, which is assumed to be/dev/sda7.
(2) scanning from the root of the partition, that is, the second inode, displays information about all files. If you know that the file name is deleted by mistake, you can omit this step.
# Ext3grep/dev/sda7 -- ls -- inode 2
(3) restored data
From the shortcut menu, we can get the file name for restoring data to china.txt.
Ext3grep/dev/sda7 -- restore-file china.txt
Remember, the restored data is stored in the restored_files/directory under the current directory, that is, a directory named restored_files/is generated under the PWD directory.
(4) Want to know more please visit: http://www.xs4all.nl /~ Carlo17/howto/undelete_ext3.html
Extension: If the partition where the file is accidentally deleted is ext4, what should I do,
In fact, when restoring the ext3 file system data for analysis, consider the data recovery software in Linux and the data recovery software in windows. Today, blinux introduces the ext3 data recovery software ext3grep in Linux, in fact, in windows, ext3 and ext4 data recovery software is still available, which is r-Linux. you can just mention it here.