PDA

View Full Version : /var/hack gone....


dood1
09-21-2004, 08:04 PM
ok folks, I tried pulling down a few shows this a.m.
I got the response.....no such directory when I typed cd /var/hack

seems from reading the many threads on here that I lost it either to
a. too many log files or
b. an update from TIVO

either way it was missing. After looking through the MANY threads, I can't seem to find a coherent answer.....things seem to have changed since I was last here....talk of something called extreme 2.5 and many other things I'm clueless about

I put all the stuff on the S1 tivo back in December, so my memory is a little shoddy.

I remembered after looking at the steve jenkins site how to add a directory.

so now I've got var/hack back in place, but since I don't have FTP on there anymore, I'm unsure how to transfer files to the directory.

I had tytools extraction tools, spaceused, and FTP on there...that I remember....possibly there was more. basically I followed Steve's upgrade instructions to the letter. I also added the extraction tools that were posted here.

I've got these files on my computer ready to re-install, but I'd rather not pull the drive from the tivo to do it. Is there a way to add them through Telnet? Please understand that I need to be spoon fed here.

exact commands would be great.


oh, and by the way I've never been able to get LS -l to work.....can someone walk me through adding this option to the kernel or whatever.

pmn1
09-21-2004, 11:40 PM
Is your /etc/rc.d/rc.sysinit.author file there?

dood1
09-22-2004, 12:57 AM
ok. found the file using

echo *

dood1
09-22-2004, 11:12 PM
nevermind, I just pulled the drive and reinstalled everything....
I would like to keep this from happening in the future though...any tips?

NutKase
09-22-2004, 11:34 PM
nevermind, I just pulled the drive and reinstalled everything....
I would like to keep this from happening in the future though...any tips?

Yes. Don't put anything in /var.

Don't use .tpm files as they put things in /var.

Install all your software manually to /dev/partition_that_I_can_write_too...

In other words, be able to 'write' to another partition, through killhdinitrd or monte hacking methods... and put everything somewhere else.

I have never allowed ANYTHING to be placed automatically, or otherwise, into /var... simply because TiVo can decide, arbitrarily, to delete it as has happened in your case.


NutKase

Lost Dog
09-23-2004, 12:16 AM
Yes. Don't put anything in /var.

Don't use .tpm files as they put things in /var.

Install all your software manually to /dev/partition_that_I_can_write_too...

In other words, be able to 'write' to another partition, through killhdinitrd or monte hacking methods... and put everything somewhere else.

I have never allowed ANYTHING to be placed automatically, or otherwise, into /var... simply because TiVo can decide, arbitrarily, to delete it as has happened in your case.


NutKase

Out of curiosity NutKase, which partition do you use to keep your hacks in?

dood1
09-23-2004, 12:30 AM
yeah...mine hack are in var/hack

partition 9

I don't have a partition 7....

I got it all working again...even pulling shows off to burn to DVD!!

I tried using terraterm this a.m. but couldn't get it to even send ftp. It would stop at 74% and lock of the tivo.

isn't there some script or something I can run to keep it from overwriting?

NutKase
09-23-2004, 12:42 AM
Out of curiosity NutKase, which partition do you use to keep your hacks in?

I have ALL my hacks in the active /root partition. Once the tivo is hacked to not overwrite the active /root partition... whichever method you use...

You should be able to keep them anywhere. I also archive them with tar to a .tgz file to facilitate installing them again to another tivo, or partition after an upgrade.

I just untar my /hack directory to the 'new place' at will, and never have to reinstall ANYTHING like mfs_ftp, tivowebplus, tivowebftpd, etc....

This also has the benefit of making my .author automatically working, since the paths are the same and everything. :)


NutKase


NutKase