LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trying to resotre a ext2 partition with e2fsck (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-resotre-a-ext2-partition-with-e2fsck-680354/)

htamayo 10-31-2008 05:00 PM

trying to resotre a ext2 partition with e2fsck
 
Hi, for different reasons my ext2 partition got corrupted:
EXT2-fs: corrupt root inode, run e2fsck
EXT2-fs: corrupt root inode, run e2fsck

now, I'm using e2fsck to fix those problems, I've been for a long long time scanning my device, a flash drive, but I'm still far far away to rich the last inode and finish this.

My question is:

1. is there a way to use e2fsck /dev/sdb1 with an auto answer? because I always have to respond yes at question like: fix length?, erase? fix?

2. is there a package that can do this scanning with better results? I've already used testdisk but nothing.

3. when I've finished to scan my flash with e2fsck -or other tool- is there a good percentage to save my data?

regards

osvaldomarques 10-31-2008 05:40 PM

Use "e2fsck -y /dev/sdb1"; read "man e2fsck" for more options.


All times are GMT -5. The time now is 06:14 PM.