Recently saw the group mentioned how to restore Linux under the Ext4 mistakenly deleted files, before heard of ext3 partition recovery tool ext3grep, but restore EXT4 has no concept, and the current line of the system partition format is EXT4, So on the Internet to find a file recovery tool called Extundelete, the tool's most important point is to support EXT3/EXT4 dual-format partition recovery, for us to carry the Victoria Siege Lion is an artifact level of software, here collated the following documents for your reference.
Virtual machine: VMware Workstation 9.0.2
Operating system: CentOS6.3 x64
extundelete:extundelete-0.2.4
I. Simulation Environment
1. First Close SELinux
# Setenforce 0
# Vi/etc/sysconfig/selinux
---------------
Selinux=disabled
---------------
2. Create a 2G disk on the virtual machine
3. Enter the system and create a 2G primary partition
# FDISK/DEV/SDB
---------------------
n+p+1+ Carriage return + carriage return +w
---------------------