LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   corrupted tar.gz... (https://www.linuxquestions.org/questions/linux-software-2/corrupted-tar-gz-429992/)

jsheffie 03-30-2006 08:16 AM

corrupted tar.gz...
 
Hi,

I have a corrupted tar.gz file (I checked that it worked before transfering to a windows box -won't do that again-). Anyway, So now I receive an "unexpected end of file" when attempting to extract it.

Ark is able to show me and extract about 292MB of 315MB, however, the remaining 23megs is more important than the whole 292 it extracts (contains all my personal notes.)

I downloaded and tried the gzip recovery toolkit, but it only pulled about a meg of extra files.

I just wiped my OS and reinstalled, but I only reinstalled onto my first hard drive, where my previous OS was spanned across two. That second drive was formatted by the installer, but I used grep to look at the drive and it clearly contains text information.

1. Is there another gzip extraction tool I can look at to repair this file?

2. If not, are there any good sites or software that detail the process of resurrecting a once reiser 3.6 filesystem -now formatted blank- on a completely separate drive (This drive has not been touch since the format)?

Old OS: SuSE 10.0
New OS: SuSE 10.1 Beta 8

thanks,

bigrigdriver 03-31-2006 07:45 AM

There is a package called tarfix which claims to fix damaged tar archives. Never tried it, so I can't say if it works.

You might download the tar.gz of tarfix and read the documentation.

You can also google up a SuSE rpm to install.

jomen 03-31-2006 01:08 PM

If you just formatted the drive - meaning you just made changes to the patrition table and did not yet create a filesystem on it, then you could recover it by making the exact same partitions (same size and locatio) on it again.
the linux programs "parted" "gpart" "gparted" could be able to assist you - don't know exactly which one it is - it has been a long time since I used it for a similar task. "partimage" could also be a candidate.
If you made a filesystem you _may_ still get lucky for that one file.


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