TiVoCommunity.com
(c)opyright 1995-2005 All rights reserved
indexcheckTC
This area is a static history of posts in the TiVo Community Forum Archive.
This archive history was made for the simple indexing of search sites like
Google.
Pages:1
TAR issues with tivo-bin.tar
(Click here to view the original thread with full colors/images)
Posted by: stevejenkins
I'm having trouble getting the tivo-bin.tar file to untar on my TiVo. I'm hacking another SVR-2000, and with the previous 2 TiVos I've hacked, I had created a /var/hack/bin dir, untarred the tivo-bin.tar file on my Windows client with WinZip, then FTP'd the binaries over one by one.
This time, I copied the tivo-bin.tar.gz file (as well as the joe tar.gz file) from a floppy to /var/hack while the A drive was mounted in a PC.
Now that I'm telnetted into the TiVo, I've been able to unzip and untar joe no problem, and I've unzipped tivo-bin.tar.gz no problem. The tar binary is in /var/hack, as is the tarball I'm trying to untar. But when I try to do "./tar -xv tivo-bin.tar" it just hangs - for a LONG time, until I hit CTRL-C to break out of it.
Anyone seen this before? Ideas?
Posted by: demark
Does "tar vfx tivo-bin.tar" work?
Posted by: stevejenkins
nope - it doesn't like the "f" in there.
TiVo1: {/var/hack} % tar vfx tivo-bin.tar
tar: Hmm, this doesn't look like a tar archive
tar: Skipping to next file header
TiVo1: {/var/hack} %
and "tar vx tivo-bin.tar" just hangs....... for-ev-er.... and ev-er.....
Posted by: v8q
quote:
Originally posted by stevejenkins
nope - it doesn't like the "f" in there.
TiVo1: {/var/hack} % tar vfx tivo-bin.tar
tar: Hmm, this doesn't look like a tar archive
tar: Skipping to next file header
TiVo1: {/var/hack} %
and "tar vx tivo-bin.tar" just hangs....... for-ev-er.... and ev-er.....
If you do not give the "f" key, tar does not know what you want to untar.
Your command appears to be telling tar to read the default device - which is usually a tape drive.
tar -xvf tivo-bin.tar should be the command you want.
Posted by: stevejenkins
v8q: I agree. That SHOULD be what I want. But it doesn't work. That's the first command I tried this morning. Here's what happens:
TiVo1: {~} % tar -xvf tivo-bin.tar
tar: Hmm, this doesn't look like a tar archive
tar: Skipping to next file header
TiVo1: {~} %
And I've verified that the tarball is good by ftp-ing it FROM the TiVo to my PC and opening it with WinZip.
Anyone see something simple I'm missing?
Posted by: demark
Are you FTPing the file as a binary or ascii file? If you don't transfer the file as binary, you could corrupt the file.
- Tony
Posted by: stevejenkins
Binary, of course. I send the .gz file over as binary, and then gunzip -d it, then try to untar it. I send the joe2.8.tar.gz file over during the same FTP session, and everything was FINE with it.
Strange!
Posted by: MighTiVo
have you tried cpio -H
Posted by: stevejenkins
TiVo1: {~} % cpio -H tivo-bin.tar
cpio: invalid archive format `tivo-bin.tar'; valid formats are:
crc newc odc bin ustar tar (all-caps also recognized)
TiVo1: {~} %
I KNOW the tarball is good! To verify again, I ftp'd to my TiVo, dl'd tivo-bin.tar, and was able to open it with WinZip. I then uploaded the exact same file to a BSDI box, and was able to untar it there with tar -xvf.
What gives?
BTW - this same thing happens on BOTH my Sony SVR-2000s.
Posted by: stevejenkins
BINGO! We have a winner.
Thanks, MuscleNerd. That worked. But I wonder why it didn't work with the tar command, when I have been unable to untar other stuff using that syntax (tar -xvf tarball.tar).
Anyway, this worked great, and I'll use it in my new howto. Thanks!
Posted by: philhu
Hi
Where is tar for native use on tivo?
It is not in the tivo-bin tarball....
Pointer for it would be appreciated
Thanks!
Posted by: kazymyr
quote:
Originally posted by philhu
Hi
Where is tar for native use on tivo?
It is not in the tivo-bin tarball....
Pointer for it would be appreciated
Thanks!
Check my homepage, verified to work, in various formats for download, whichever floats your boat. :)
Posted by: stevejenkins
Kaz:
Yours is the one I was using, but it chokes on the tivo-bin.tar on both my systems. Works great with a bunch of other tarballs. Are you able to get it to untar with your tar?
Posted by: MighTiVo
I use the one here:
http://pvrhack.sonnik.com/tivo/down...ols-1.12.tar.gz
Posted by: kazymyr
quote:
Originally posted by stevejenkins
Kaz:
Yours is the one I was using, but it chokes on the tivo-bin.tar on both my systems. Works great with a bunch of other tarballs. Are you able to get it to untar with your tar?
Huh... I'm pretty sure it worked the last time I used it. Is there something special about your tarball? I'm not sure, but I think I compiled this one myself, long, long ago.
vBulletin Copyright ©2000 - 2009,
Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2009
- Created by Stefan "Xenon" Kaeser
Modified by Adam J. de Jaray