|
|
|
05-28-2004, 03:57 PM
|
#1
|
|
Registered User
Join Date: Aug 2002
Location: Herts
Posts: 19
|
Help! My /var/hack's gone
As per te title - my /var/hack (together with tivoweb, tivowebplus, ...) has gone!
Still got telnet, ftp. Help! what's gone wrong??
SMART was ok a couple of days ago (according to tivoweb+).
Help!
|
|
|
05-28-2004, 04:30 PM
|
#2
|
|
Registered User
Join Date: Oct 2002
Location: Leicstershire, UK
Posts: 222
|
Don’t worry! The problem with using the /var/ directory is that if Linux finds a problem with it or it becomes too full it will delete and rebuild the contents sans of course the hack directory.
Not much you can do at this stage but start again, there have been several discussions in the past about alternative places to keep your hacks and ways of backing up the hack directory.
|
|
|
05-28-2004, 04:35 PM
|
#3
|
|
TiVoer since 11/2000
Join Date: Jan 2002
Posts: 6,341
|
Quote:
Originally posted by Chris T
Don’t worry! The problem with using the /var/ directory is that if Linux finds a problem with it or it becomes too full it will delete and rebuild the contents sans of course the hack directory.
|
Only the former; being too full is a TiVo urban myth. 
|
|
|
05-28-2004, 04:44 PM
|
#4
|
|
Registered User
Join Date: Aug 2002
Location: Herts
Posts: 19
|
Bugger!
So the conclusion is that /var/hack (and /var/hackbak, which I cunningly made) are both gone, and it's time to d/l tivoweb, +, tivosh, and all those little things I've come to rely on ....
<sigh>
Memo to self - copy to a pc directory this time.
|
|
|
05-28-2004, 05:13 PM
|
#5
|
|
TiVoer since 11/2000
Join Date: Jan 2002
Posts: 6,341
|
Or create a tarball of /var so you can easily recover it.
|
|
|
05-28-2004, 05:17 PM
|
#6
|
|
Registered User
Join Date: Aug 2002
Location: Herts
Posts: 19
|
Don't suppose you want to PM me yours????
|
|
|
05-28-2004, 06:23 PM
|
#7
|
|
TiVoer since 11/2000
Join Date: Jan 2002
Posts: 6,341
|
Wouldn't work.
|
|
|
05-28-2004, 06:24 PM
|
#8
|
|
Member
Join Date: Aug 2002
Location: Cornwall
Posts: 96
|
This is too much to be just coincidence. At the moment I fixed my rc.sysinit.author file the same thing has happened to me! All I did was download the latest listings. Oh well, time to give TW+ a go. 
__________________
Matt
Tivo 250gb + Freeview + Cachecard
Tivo 250gb + Freeview + Cachecard
Tivo 40gb (unsubbed) + Turbonet (Digiguide now working)
|
|
|
05-28-2004, 11:41 PM
|
#9
|
|
A Friend of Dot
Join Date: Dec 2001
Location: Liverpool, Merseyside, UK
Posts: 715
|
TW+ is fine, don't worry.
tarball can be created by moving to the /var/hack directory and entering:
tar -cvf tarballname.ext . <enter>
Note the . (full stop) and of course <enter> is pressing the enter key.
__________________
6020 since Feb 2001, 1 x 500Gb, Freeview, TurboNet and TiVoWeb
6022 since Feb 2003, 160Gb, Freeview, TurboNet and TiVoWeb;
|
|
|
05-29-2004, 04:28 AM
|
#10
|
|
Registered User
Join Date: Dec 2002
Posts: 292
|
I've just got tar and made this backup, thanks for the tip. Can I safely delete any .tar files in /var/hack from where I installed packages (e.g. tbin.tar, tivoweb-xx-xxx.tar, joe.tar)? I have them on my PC directiry anyway if ever I needed them.
|
|
|
05-29-2004, 05:44 AM
|
#11
|
|
Registered User
Join Date: Oct 2000
Location: Reading, UK
Posts: 6,111
|
And if you don't have the tar executable, you should be able to get it from here.
__________________
Ian.
Windows 7 MCE, 2 x Freeview Tuners, 1 x HD Freesat Tuner, 1TB Hard Drive, 1.5TB Mirrored Raid on e-SATA.
2 x Xbox360 MCE Extenders.
2 x Security Cameras.
1 x Broken TiVo.
|
|
|
05-29-2004, 05:47 AM
|
#12
|
|
TiVoer since 11/2000
Join Date: Jan 2002
Posts: 6,341
|
Quote:
Originally posted by Deadslow
This is too much to be just coincidence. At the moment I fixed my rc.sysinit.author file the same thing has happened to me! All I did was download the latest listings. Oh well, time to give TW+ a go.
|
The /var partition gets deleted if it fails two consectutive runs of the Linux equivalent of chkdsk.
If it happens a lot it may be indicative of a disk problem.
Also, it only happens on a reboot, so your Tivo must have crashed.
|
|
|
05-29-2004, 06:03 AM
|
#13
|
|
Member
Join Date: Aug 2002
Location: Cornwall
Posts: 96
|
Yes, it was on the (last) reboot, but the Tivo did not crash (I'm using it while rebuilding).
On a separate subject, with TW+ do you still have to change ui.itcl? Is there anything else different to TW (save fewer modules to run)? Ta.
__________________
Matt
Tivo 250gb + Freeview + Cachecard
Tivo 250gb + Freeview + Cachecard
Tivo 40gb (unsubbed) + Turbonet (Digiguide now working)
|
|
|
05-29-2004, 06:39 AM
|
#14
|
|
Registered User
Join Date: Jan 2002
Posts: 388
|
1. Does creating a tar bar include all file permissions etc?
2. If the var area is removed do you loose access to Telnet / FTP or is this insalled in a different area?
TIA
__________________
Do you know of a new series starting soon? A special one off episode? Seen a trailer for a new series? Post details to the following special thread to help out other TiVo users who have missed the trailers. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|
|
05-29-2004, 07:02 AM
|
#15
|
|
Registered User
Join Date: Aug 2002
Location: Herts
Posts: 19
|
Phew! Found a backup copy of my /var/hack on my root. Now backed up to pc!
|
|
|
05-30-2004, 12:04 PM
|
#16
|
|
TiVoer since 11/2000
Join Date: Jan 2002
Posts: 6,341
|
Quote:
Originally posted by pmk
1. Does creating a tar bar include all file permissions etc?
2. If the var area is removed do you loose access to Telnet / FTP or is this insalled in a different area?
TIA
|
Yes, a tar file preserves permissions, provided you use the right options.
The default of the Turbonet installer is to pyt telnet and FTP in the root partition.
|
|
|
08-12-2004, 09:52 AM
|
#17
|
|
Tivo Evangelist
Join Date: May 2004
Location: Chester-le-Street, UK
Posts: 318
|
I don't suppose anyone knows somewhere else to get the tar files from? The link above (on safepages.net) does not appear to work anymore...
|
|
|
08-12-2004, 05:25 PM
|
#18
|
|
Dark side Nrth Devon
Join Date: Dec 2002
Posts: 523
|
here tiz
__________________
Marc.
1 X 120Gig + 2 x 160Gig Tivo's + Turbonet + Sky Digital + Freeview + Tivoweb + Every module available until the novelty wears off, or my wife beats me :)
|
|
|
09-25-2005, 11:54 PM
|
#19
|
|
Saggitarius
Join Date: Jul 2003
Location: Red Bank, NJ
Posts: 16
|
Quote:
|
Originally Posted by sanderton
The /var partition gets deleted if it fails two consectutive runs of the Linux equivalent of chkdsk.
If it happens a lot it may be indicative of a disk problem.
Also, it only happens on a reboot, so your Tivo must have crashed.
|
I've lost my /var/hacks directory twice already. Running 6.2 with the serial port redirect at the end of rc.sysinit. The rc.sysinit change is persisent but I lose my /var/hack directory.
Is pulling the power on the TiVo equivalent to causing a crash? Is yanking the power on a running TiVo  a bad idea?
|
|
|
09-26-2005, 04:21 AM
|
#20
|
|
Yo Ho TiVo!
Join Date: Oct 2001
Location: RG4, Caversham, Berkshire, UK
Posts: 579
|
If losing the /var/hack starts to happen regularly then it's probably worth considering a cron thingy to automatically create a /var/hack archive a ftp it back to your PC. Just for peace of mind. Although when I lost my /var/hack once I found it quite therapeutic to put all the hacks back on by hand 
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. UK Series 1 v2.5.5 + 160G + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. + To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. Digital Cable PACE 4000, Broadband 750K
|
|
|
09-26-2005, 05:24 AM
|
#21
|
|
Registered User
Join Date: Feb 2002
Location: Knaresborough, North Yorkshire, UK
Posts: 6,878
|
Quote:
|
Originally Posted by scottym
Is pulling the power on the TiVo equivalent to causing a crash? Is yanking the power on a running TiVo  a bad idea?
|
As I understand it, the OS has been designed to withstand this sort of thing, so the answer to both is 'no'
However, rightly or wrongly, I have taken to using the "Restart The Recorder" option before (literally  ) pulling the plug. Don't think it makes much difference, though!
__________________
Carl Waring
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. with Samsung SMT-2110C STB with Tivoweb, Endpad and other hacks
Get To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - TV Guide for Windows
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|
|
09-26-2005, 06:18 AM
|
#22
|
|
It's TiVo-lutionary!
Join Date: Jan 2003
Location: North West England
Posts: 303
|
Quote:
|
Originally Posted by scottym
I've lost my /var/hacks directory twice already. Running 6.2 with the serial port redirect at the end of rc.sysinit. The rc.sysinit change is persisent but I lose my /var/hack directory.
Is pulling the power on the TiVo equivalent to causing a crash? Is yanking the power on a running TiVo  a bad idea?
|
Well I've lost my var/hack tree twice now and both times it was due to interrupted power.
First time was due to quick power cycling at the fuse box.
Second time was daily plug removals at 7am and leaving disconnected until 6pm for four days on the trot (unsure which day it actually wiped tbh). Each power down the TiVo was only recording the live buffer so I would say power cycling is relevant to losing the tree. 
__________________
Do you have a motorhome?
If so, visit the fun motorhome website at To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for forums, reviews, photos and much more - and it's totally free!
|
|
|
09-26-2005, 06:36 AM
|
#23
|
|
Registered User
Join Date: Feb 2002
Location: Knaresborough, North Yorkshire, UK
Posts: 6,878
|
In that case, I sit corrected wrt the /var/hack dir. I was referring to an un-modded unit 
__________________
Carl Waring
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. with Samsung SMT-2110C STB with Tivoweb, Endpad and other hacks
Get To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - TV Guide for Windows
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|
|
09-26-2005, 07:27 AM
|
#24
|
|
TiVoer since 11/2000
Join Date: Jan 2002
Posts: 6,341
|
Power cycling is relevant, as the code which chacks /var and removes it if faulty runs at reboot time.
However, the fact it's happening often may not be a good sign for your hard disk, as HD errors are one of the things which could cause the problems which make TiVo remove /var
|
|
|
09-26-2005, 07:45 AM
|
#25
|
|
Registered User
Join Date: Oct 2000
Location: Reading, UK
Posts: 6,111
|
Quote:
|
Originally Posted by cwaring
However, rightly or wrongly, I have taken to using the "Restart The Recorder" option before (literally  ) pulling the plug. Don't think it makes much difference, though!
|
While it is better to reboot via the menu, only a power cycle will reset all of the hardware components. If any of the components have stopped listening to the CPU, you need to perform a power cycle to clear them.
What I think can cause problems is when the power is cut during the TiVo boot sequence, when it is in the process of recovering from a previous power-cut. In my experience, two powercuts in quick succession can be bad news.
__________________
Ian.
Windows 7 MCE, 2 x Freeview Tuners, 1 x HD Freesat Tuner, 1TB Hard Drive, 1.5TB Mirrored Raid on e-SATA.
2 x Xbox360 MCE Extenders.
2 x Security Cameras.
1 x Broken TiVo.
|
|
|
09-26-2005, 08:00 AM
|
#26
|
|
It's TiVo-lutionary!
Join Date: Jan 2003
Location: North West England
Posts: 303
|
In my case the first was definitely due to reboots in quick succession (before it had had time to boot fully) due to tripping mcb.
The second occasion surprised me, I don't reboot often but for a few days I had to as I had to move the TV, TiVo and sky box daily as a new floor was being laid.
I will keep my eye on it. If I lose it again following a 'normal' restart I'll suspect the disks.
The good thing to come out of this is that I now have installed almost all the hacks I think I will want and have created a folder on my PC with them all in including rough & ready instructions for installing them.
I now have TW, Endpad, Higuide (which doesn't get enough mentions - it's great!), SP Backup, SP Re-order, Logos, Wishlists, Themes, GD Checker (yet to use, looks quite complicated), Conflicts and Autospace (Used once, 50-ish% used).
Still to implement: Menu Bar Flicker, Mode 0 and tarball backup of /var/hack (  Possibly quite a high priority  )
I did try New Episodes but found it of little use.
Regards
Bryan
__________________
Do you have a motorhome?
If so, visit the fun motorhome website at To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for forums, reviews, photos and much more - and it's totally free!
|
|
|
09-26-2005, 08:31 AM
|
#27
|
|
Registered User
Join Date: Oct 2000
Location: Reading, UK
Posts: 6,111
|
Maybe not coincidentally, my PSU failed during a double powercut. Like light bulbs, a powercut is the most likely time to trigger a PSU failure.
__________________
Ian.
Windows 7 MCE, 2 x Freeview Tuners, 1 x HD Freesat Tuner, 1TB Hard Drive, 1.5TB Mirrored Raid on e-SATA.
2 x Xbox360 MCE Extenders.
2 x Security Cameras.
1 x Broken TiVo.
|
|
|
09-26-2005, 05:32 PM
|
#28
|
|
TiVoer since 11/2000
Join Date: Jan 2002
Posts: 6,341
|
HiGuide?
|
|
|
09-26-2005, 06:11 PM
|
#29
|
|
Registered User
Join Date: Dec 2002
Posts: 330
|
Quote:
|
Originally Posted by sanderton
HiGuide?
|
Higuide
__________________
Topfield TP5800, MyStuff 5.51
|
|
|
09-27-2005, 06:02 AM
|
#30
|
|
It's TiVo-lutionary!
Join Date: Jan 2003
Location: North West England
Posts: 303
|
Quote:
|
Originally Posted by sanderton
HiGuide?
|
A grid based planner.
I use it daily.
I scan along the time bar at the top looking for slots where nothing will recorded and then scan down looking for programmes to record in that slot.
http://dynamo.daftdriving.com/index....ontent=higuide
__________________
Do you have a motorhome?
If so, visit the fun motorhome website at To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for forums, reviews, photos and much more - and it's totally free!
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|