Results 1 to 5 of 5
Hello everybody.
I deleted accidentally /etc. I am trying to restore it with a Knoppix CD, which tool could it resolve me the problem
is a XFS partition.
Thanks...
- 09-13-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 17
Help, I need to restore /etc
Hello everybody.
I deleted accidentally /etc. I am trying to restore it with a Knoppix CD, which tool could it resolve me the problem
is a XFS partition.
Thanks
- 09-13-2010 #2
You could try this: Linux or UNIX Recover deleted files – undelete files but since you're using an XFS file system I don't think there are any chances to get all your data back.
The only other tool which could at least restore some of your data is photorec from program package testdisk but that does almost the same as the manual solution above. With both solutions you can't recover the filenames.
If you did not reboot and had still files open in another process you also could have tried this, but, yep, you can't anymore: Linux.com :: Bring back deleted files with lsof
But be aware that it's very unlikely to be able to recover data when you already wrote some data back to disk since the deallocated inodes and harddrive blocks will be reused. Therefore you MUST restore data to another partition. Otherwise you'd make it impossible to recover more data since the new files overwrite the not already recovered blocks.
- 09-14-2010 #3
First unmount the partition and try Carlo woods ext3grep. It should recover the files ,if ext3grep finds correct journal entries
HOWTO undelete removed files and directories on an ext3 file system- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 09-14-2010 #4
is ext3grep going to work on xfs partition? based on the name I'd say no, but I could be wrong
- 09-14-2010 #5
No,you are correct ! Sorry I didn't read the post completely
ext3grep works only for ext3 file system.It won't work for XFS.
I read upto this
and missed the final line .I deleted accidentally /etc. I am trying to restore it with a Knoppix CD, which tool could it resolve me the problem
Sorry for the confusion
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote
