2011年11月5日 星期六

HOWTO : 救回Linux上被刪除的檔案 for ext3,ext4

Step1:
準備Ubuntu光碟並 使用光碟開機

Step2:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential libtool e2fslibs-dev autoconf automake autotools-dev m4 e2fslibs e2fsprogs


wget http://sourceforge.net/projects/extundelete/files/extundelete/0.2.0/extundelete-0.2.0.tar.bz2/download

tar -xvjf extundelete-0.2.0.tar.bz2
cd extundelete-0.2.0
./autogen.sh
./configure
make
sudo make install



Step3:
救回檔案:
extundelete /dev/sda3 --restore-file /home/samiux/test.png

救回路徑下的資料:
extundelete /dev/sda3 --restore-directory /home/samiux/test
救回檔案:
extundelete /dev/sda3 --restore-all

沒有留言:

張貼留言