PDA

View Full Version : dbload Needed


cognac
03-08-2007, 12:33 PM
I have the 6.2 slices download for my ptvupgrade hacked HR10-250 but could not get Alpha Wolfs tivotools utility to untar from DD. I read that it contains "dbload" which I need to load the slices. Does anyone have a working copy? The plan is to use slicer to upgrade.

Thanks

DIDS
03-08-2007, 01:39 PM
I have the 6.2 slices download for my ptvupgrade hacked HR10-250 but could not get Alpha Wolfs tivotools utility to untar from DD. I read that it contains "dbload" which I need to load the slices. Does anyone have a working copy? The plan is to use slicer to upgrade.

Thanks

What is the problem you are having getting Tivotools to untar? You should be able to issue the following command to untar.

tar –x –f tivotools.tar

cognac
03-08-2007, 03:21 PM
You would think so, but that's not AlphaWolf's instructions for his file.

It's the file that is corrupted. I've downloaded sit everal times and will not unpackcorrectly.

AlphaWolf's instructions:
mkdir /tivo-bin
mv tivotools.tar /tivo-bin
cd /tivo-bin
cpio -i -H tar < tivotools.tar

TivoHD-TiVo# rw
mounting read write
TivoHD-TiVo# cpio -i -H tar < tivotools.tar
cpio: invalid header: checksum error
cpio: premature end of file

Reference link: http://www.dealdatabase.com/forum/showthread.php?t=37602&highlight=tivotools.tar

Jamie
03-08-2007, 04:17 PM
You would think so, but that's not AlphaWolf's instructions for his file.
...
tar isn't installed on a stock tivo; cpio is. That's why AlphaWolf's instructions have you use cpio.

Are you sure the file didn't get corrupted in transfer? Did a windows machine ever touch it (e.g. for the uncompress step)? If I had to guess, I'd guess windows line endings corrupted the tar file at some step in the transfer. Be sure you ftp in binary mode and turn off any "smart line ending" processing in your zip/rar/7z handling. See the first question in this (http://www.dealdatabase.com/forum/showthread.php?p=202772#post202772) newbie mini-FAQ.

cognac
03-08-2007, 06:08 PM
Yes, No, and No, thanks all for the suggestions. I don't use a windows machine, just because of that reason. Unix is the only way. I have tried to tar on 2 different tivos and failed. I've used different machines to download the file and all are corrupted. This makes me believe the source is corrupted. I don't even need everything in tivotools just dbload.

Jamie
03-08-2007, 07:24 PM
Yes, No, and No, thanks all for the suggestions. I don't use a windows machine, just because of that reason. Unix is the only way. I have tried to tar on 2 different tivos and failed. I've used different machines to download the file and all are corrupted. This makes me believe the source is corrupted. I don't even need everything in tivotools just dbload.I just downloaded tivotools.tar.7z and verified that it is not corrupted. This means that either it is getting corrupted in transfer, or you have a bad cpio executable on your tivo.

Here's a complete transcript with md5sums at each step. Perhaps that can help you determine where your corruption is happening:
~ % md5sum tivotools.tar.7z
b8a1564c28547b2658bfc8743cff07e1 tivotools.tar.7z
~ % 7za e tivotools.tar.7z

7-Zip (A) 4.44 beta Copyright (c) 1999-2007 Igor Pavlov 2007-01-20
p7zip Version 4.44 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: tivotools.tar.7z

Extracting tivotools.tar

Everything is Ok
~ % md5sum tivotools.tar
c22ecf3b0f12124477e70a3fbd3197f7 tivotools.tar
~ % lftp tivo3
lftp tivo3:~> cd /tmp
cd ok, cwd=/tmp
lftp tivo3:/tmp> put tivotools.tar
6543360 bytes transferred in 4 seconds (1.71M/s)
lftp tivo3:/tmp> quit
~ % telnet tivo3
Trying 192.168.1.108...
Connected to tivo3.home.lan (192.168.1.108).
Escape character is '^]'.
bash-2.02# cd /tmp
bash-2.02# md5sum tivotools.tar
c22ecf3b0f12124477e70a3fbd3197f7 tivotools.tar
bash-2.02# mkdir tmp.hacks
bash-2.02# cd tmp.hacks
bash-2.02# cpio -i -H tar < ../tivotools.tar
12779 blocks