[opensuse] recover multi-volume rar archive?
hello. I got several discos form a friend who packaged a big video file into 9-volume RAR archives on his Windows PC. That is, 9 discos each contain only one file. When I receive the discos, the first of the 9 discos are lost. So I only have 8 files now copied to my hard-disk. Furthermore my friend did not keep a copy himself, thus the 8 files are everything we have so far. unrar complain a file is missing and quit, as expected. So is there a way to recover this video file, even partly? I know player like mplayer can play the video as much as is left. I would be happy to see if only a fragment of the video is preserved. It would be easier to recover if he did it with gzip, as I am more knowledgeable with that format, but he uses WinRAR... I tried to google a bit only finding some Windows sharewares that supposed to recover RAR file, no Linux solution mentioned. I managed to reboot to Windows and try one of the sharewere, which I found it report any file (tested a few) to be recoverable and ask me to pay to recover it, so I hesitate to buy it. What do you recommend me to do? Thanks in advance. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi; On Tue, Nov 16, 2010 at 11:42 AM, Zhang Weiwu <zhangweiwu@realss.com> wrote:
hello. I got several discos form a friend who packaged a big video file into 9-volume RAR archives on his Windows PC. That is, 9 discos each contain only one file. When I receive the discos, the first of the 9 discos are lost. So I only have 8 files now copied to my hard-disk. Furthermore my friend did not keep a copy himself, thus the 8 files are everything we have so far.
unrar complain a file is missing and quit, as expected.
So is there a way to recover this video file, even partly? I know player like mplayer can play the video as much as is left. I would be happy to see if only a fragment of the video is preserved.
It would be easier to recover if he did it with gzip, as I am more knowledgeable with that format, but he uses WinRAR...
I tried to google a bit only finding some Windows sharewares that supposed to recover RAR file, no Linux solution mentioned. I managed to reboot to Windows and try one of the sharewere, which I found it report any file (tested a few) to be recoverable and ask me to pay to recover it, so I hesitate to buy it.
What do you recommend me to do?
Try this; unrar -kb file.part2.rar Regards, ismail -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 11/16/2010 05:53 PM, İsmail Dönmez wrote:
Try this;
unrar -kb file.part2.rar
Regards, ismail
Strange. I tried this in the first place, and thought it not for this purpose, because I got this: almustafa@jamaica:/mnt/nfs/belly/punch/western/video/movie/Vendetta_1986$ unrar -kb e 86VHS.part8.rar UNRAR 3.93 freeware Copyright (c) 1993-2010 Alexander Roshal Extracting from 86VHS.part8.rar Calculating control sums of all volumes. WARNING: You need to start extraction from a previous volume to unpack 86.avi No files to extract Reading your post I start to realize I should try this command on the 2nd rar file instead of the 8th rar file. And, it really worked. So it works if I issue the command on the first available archive, not on the last. Thanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi; On Tue, Nov 16, 2010 at 12:06 PM, Zhang Weiwu <zhangweiwu@realss.com> wrote:
On 11/16/2010 05:53 PM, İsmail Dönmez wrote:
Try this;
unrar -kb file.part2.rar
Regards, ismail
Strange. I tried this in the first place, and thought it not for this purpose, because I got this:
almustafa@jamaica:/mnt/nfs/belly/punch/western/video/movie/Vendetta_1986$ unrar -kb e 86VHS.part8.rar
UNRAR 3.93 freeware Copyright (c) 1993-2010 Alexander Roshal
Extracting from 86VHS.part8.rar
Calculating control sums of all volumes. WARNING: You need to start extraction from a previous volume to unpack 86.avi No files to extract
Reading your post I start to realize I should try this command on the 2nd rar file instead of the 8th rar file. And, it really worked.
So it works if I issue the command on the first available archive, not on the last.
I am glad it worked. RAR index is sequential from part1 to partN. So you will always have to start with the smallest index. Regards, ismail -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 11/16/2010 05:53 PM, İsmail Dönmez wrote:
unrar -kb file.part2.rar oh no, this doesn't work:
$ unrar -kb e file.part2.rar It asked me the password, make me think it works (and posted the previous message). But in the end I got asked password for every rar file (to all I answered same as before) and at the last file, par8.rar, it fail with this: (sorry I messed up numbers in original post, it's 8 files in total instead of 9) almustafa@jamaica $ unrar -kb e 86VHS.part2.rar UNRAR 3.93 freeware Copyright (c) 1993-2010 Alexander Roshal Extracting from 86VHS.part2.rar Calculating control sums of all volumes. WARNING: You need to start extraction from a previous volume to unpack 86.avi Extracting from 86VHS.part3.rar Enter password (will not be echoed) for 86.avi: Extracting from 86VHS.part4.rar 86.avi - use current password ? [Y]es, [N]o, [A]ll a Extracting from 86VHS.part5.rar Extracting from 86VHS.part6.rar Extracting from 86VHS.part7.rar Extracting from 86VHS.part8.rar No files to extract So, it seems to me, -kb means, that if a file start from archive 3, then it recover the file when it process part3.rar. But if the file start from archive 1, and unrar is asked to process from archive 2, then the file cannot be recovered. Or am I wrong? I hope I could be wrong. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 11/16/2010 07:33 PM, Zhang Weiwu wrote:
So, it seems to me, -kb means, that if a file start from archive 3, then it recover the file when it process part3.rar. But if the file start from archive 1, and unrar is asked to process from archive 2, then the file cannot be recovered.
Can there be a trick? For example, I could $ unrar l 86VHS.part2.rar UNRAR 3.93 freeware Copyright (c) 1993-2010 Alexander Roshal Volume 86VHS.part2.rar Name Size Packed Ratio Date Time Attr CRC Meth Ver ------------------------------------------------------------------------------- 86.avi 733784064 103808909<-> 22-01-08 16:25 .....A. 0003B3E2 m3g 2.9 ------------------------------------------------------------------------------- 0 0 103808909 0% volume 2 The strange 0% hint me the person who sent the file to me is smart enough to asked RAR to make a non-compressed RAR file, knowing he cannot squeeze more out of the AVI files. The rest become suddenly simple! 1. I just make a dummy file named 86.avi, from /dev/zero, of the same size, and make 8 volumes of non compressing archive the same way as he does with same password 2. pick my generated part1.rar to fill in the blank of the lost file 3. and ask unrar to uncompress it (unrar -kb e) This method worked very well! unrar warned the CRC failed verification. I wouldn't know what I would do if he didn't explicitly ask RAR not to compress the volume (thus making facking part1.rar more difficult). Thanks for all the info. Now the remaining problem is how to recover part of the AVI file, which would be a separate problem. I only worry one thing related to rar now, that is, it seems there is no way to tell if the password is correct. I got the password from others, but he is not confident he used that password in the beginning. Even worse, unrar would not say anything and just happily roll out data even if I intentionally type in random character as password, a true garbage-in-garbage-out system. If it is a full unrar, I can tell whether or not the encryption password is correct by output of file(1), but with this headless file I cannot do so. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Now the remaining problem is how to recover part of the AVI file, which would be a separate problem.
by any chance is/are there any files with the extension .par2 or something like that coupled with the archive ? if so they can be used to recover a rar archive . i usually see them on files downloaded from usenet and it's unlikely that you have them but if you do it's worth looking into. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2010-11-16 at 17:42 +0800, Zhang Weiwu wrote:
When I receive the discos, the first of the 9 discos are lost.
Damaged or missing? :-? I read you managed to recover the rest, but perhaps the first disk can be partly recovered, if it is only damaged :-? - -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkzihd8ACgkQtTMYHG2NR9UzQQCcDjZ0IjO/uv+moay87gdrREP0 11cAn2omJidCOZ4oomCpZJI6rx4y2A+c =b5Mz -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 11/16/2010 09:23 PM, Carlos E. R. wrote:
I read you managed to recover the rest, but perhaps the first disk can be partly recovered, if it is only damaged :-?
Thanks for the info. No it is literately lost in this "When I receive the discos, the first of the discos is lost." A disco is completely missing :( -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Tue, 16 Nov 2010, Zhang Weiwu wrote:
unrar complain a file is missing and quit, as expected.
Generally: try using 'rar2' (it's on packman), it's usually more robust and also can do some stuff unrar can't. It e.g. has a 'r' (repair) command. HTH, -dnh -- When a woman who has much to say says nothing, her silence can be deafening. -- King Mongkut, to Anna, in "Anna and the King" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Carlos E. R.
-
David Haller
-
İsmail Dönmez
-
michael getachew
-
Zhang Weiwu