TiVo Community Forum

TiVo Community Forum Archive 2
Covering threads with a last post date between
July 1, 2004 and December 31, 2005.
THIS IS A READ ONLY SITE
 


 

SEARCH  |  ARCHIVE 1 MAIN SITE

 
Forum Jump
 
Thread Tools Search this Thread Display Modes
Old 06-29-2002, 08:45 PM   #1 (Print)
stevejenkins
TiVo sTeVe-o!
 
Join Date: Jun 2002
Location: Seattle, WA
Posts: 61
Thumbs up Complete Newbie TiVo Hacker How-To

I've created a detailed step-by-step how-to guide for beginning TiVo hackers who are using TiVo software version 3.0. It's not a FAQ, but a sequence of plain-English procedures that starts with an unhacked TiVo, and ends with a fully hacked one including telnet and ftp access.

It's a bit too long to post here in its entirety, so I've posted an HTML version on my site:

http://tivo.stevejenkins.com/

This how-to will walk a beginning TiVo hacker through the following procedures:

1. Installing a network adapter in your TiVo
2. Gaining telnet access to your TiVo
3. Configuring your TiVo to make its Daily Call via the network adapter
4. Installing binaries on your TiVo that are useful for further hacking
5. Including your hack binaries in your PATH for easy access
6. Automating READ/WRITE and READ ONLY switching in the file system

It's based on much of the information I've found in the Underground, and is a consolidation and update of the individual how-to's I've previously written that are posted in the Underground.

I would very much appreciate suggestions and corrections from Underground members. I've tried to give proper credit in the Acknowledgements section for all the information and advice I've "borrowed," but please let me know if I forgot anyone.

__________________
TiVo sTeVe-o
Sony SVR-2000 TiVo (v3.0) @ 306 hrs / Lifetime
Sony SVR-2000 TiVo (v3.0) @ 184 hrs / Lifetime
Running: TurboNET, Telnet, TiVoFTPd, TiVoWeb, & TiVoPHP!
TiVo Newbie Hacking How-To Guide
TiVo Community Theme for TiVoWeb
My Home Theater

Last edited by stevejenkins : 06-11-2003 at 11:26 PM.
stevejenkins is offline Report Bad Post Report Post
Old 06-30-2002, 09:17 AM   #2 (Print)
Carlton Bale
Unoriginal Username
 
Carlton Bale's Avatar
 
Join Date: Dec 2001
Location: Indianapolis, IN USA
Posts: 85
Steve,

Great work putting this together! I included a link to your site on the main page of TivoHelp.com so that people browsing there can benefit the detailed information.

__________________
-Carlton Bale
Philips DSR6000 DirecTivo v3.1.0, 120 hours, TurboNet, etc.
Hughes HR10-250 - v3.1.5f - 120 hours HD
CarltonBale.com
Carlton Bale is offline Report Bad Post Report Post
Old 06-30-2002, 01:59 PM   #3 (Print)
kazel
Member
 
kazel's Avatar
 
Join Date: Jun 2002
Location: Champaign, IL
Posts: 12
Thaks SO much for taking the time to put this guide together. I just went through it from start to finish with great results.

Just a few comments (from someone who knows very little Linux):

In step 2.7, I received an "EXT2-fs Warning: checktime reached, running e2fsck is recommended" message when runnning each of these commands:

mount /dev/hdc4 /mnt4 [ENTER]
mount /dev/hdc7 /mnt7 [ENTER]
mount /dev/hdc9 /mnt9 [ENTER]

In step 2.9, somehow all three filenames on my DOS boot floppy ended up being shortened: joe28~1.gz, tivo-b~1.gz, and tivofp~1.gz. I downloaded them using Win XP. I just used the mv command to rename them.

In step 4.1, I believe the command:

gnzip –d joe2.8-tivo.tar.gz [ENTER]

should really be:

gzip –d joe2.8-tivo.tar.gz [ENTER]

In step 4.3, I believe the command:

cd tivoftpd-0.0.1.tar [ENTER]

should really be:

cd tivoftpd-0.0.1 [ENTER]

Thanks again!
Mitch Kazel

Last edited by kazel : 06-30-2002 at 06:51 PM.
kazel is offline Report Bad Post Report Post
Old 06-30-2002, 07:39 PM   #4 (Print)
stevejenkins
TiVo sTeVe-o!
 
Join Date: Jun 2002
Location: Seattle, WA
Posts: 61
Kazel:

Thanks for the feedback. I've updated the 2.7 stuff about the EXT2 warnings.

Re: the filenames in 2.9, I'm wondering if the names were shortened for you because your DOS boot floppy was from a version of DOS that didn't support long file names. How did you create your boot disk? If you downloaded a version from bootdisk.com that was pre-Windows 95, that might explain it. I'll wait to hear from you and then update the instructions to warn people about that.

Fixed the gnzip error. I had originally put "gunzip" which works on my Unix boxes, but I only erased the "u" when I proofread the first time at 1:00am

Also fixed the tivoftpd-0.0.1 typo. Nice catch

Since you are a self proclaimed Linux novice, you're the exact type of person this was written for. Glad it could help!

__________________
TiVo sTeVe-o
Sony SVR-2000 TiVo (v3.0) @ 306 hrs / Lifetime
Sony SVR-2000 TiVo (v3.0) @ 184 hrs / Lifetime
Running: TurboNET, Telnet, TiVoFTPd, TiVoWeb, & TiVoPHP!
TiVo Newbie Hacking How-To Guide
TiVo Community Theme for TiVoWeb
My Home Theater
stevejenkins is offline Report Bad Post Report Post
Old 06-30-2002, 09:14 PM   #5 (Print)
kazel
Member
 
kazel's Avatar
 
Join Date: Jun 2002
Location: Champaign, IL
Posts: 12
Steve,

I didn't actually create a new Windows boot disk for this project. I found an old disk I had labeled WIN 98 BOOT 5/11/98, and just downloaded the .gz files onto it. The same truncation problem is noted here in the 14th line of the initial message.

One other note: following the guide, I ended up with a version of TIVOFTPD that would not work properly on my Sony Series 1 SA. The smaller .ppc file is what I ended up needing.

Thanks again!
Mitch

Last edited by kazel : 07-02-2002 at 07:12 AM.
kazel is offline Report Bad Post Report Post
Old 07-02-2002, 09:29 PM   #6 (Print)
lalocp
Registered User
 
Join Date: Jan 2002
Posts: 5
Help

Hey Guys.

I was following your instructions, but I got stuck at mounting the /dev/hdx4, 7, and 9 partitions.

Here's my "history" so far.

I have a 14 hr Philips (HDR112). I originally upgraded it to 42 hours with the original A and a 30 GB Western Digital B drive I threw in.

I had also intended to install the TivoNet adapter that I purchased around Christmas last year, but I never got around to it.

Now, after 3.0 I wanted to give it a try, as well as upgrade the hard drive again (I found an 80GB Maxtor).

Well, anyway... I successfully performed the HD upgrade (40gb A + 80gb B ).

I run into trouble upon trying to mount the partitions. Would the partitions still be the same at this point? I ask this because your HOW-TO assumes that the user has never hacked her/his Tivo. If so, are the partitions you refer to as /mnt4, /mnt7, /mnt9 the same ones on virgin Tivo’s as on upgraded Tivo’s???

When I try to mount them, I get a message saying it was successful, followed by another message telling me to specify a file type.

/# /dev/hdc4: Success
mount: you must specify the file system type
/#

If list the contents of the /mnt4, there is nothing there (obviously). When I try again, this time trying to specify a file system type:

/# mount –t ext2 /dev/hdc4 /mnt4

I get:
Mount: wrong fs type, bad option, bad superblock on /dev/hdc4, or too many mounted file systems ( and so forth.)

What file system type am I supposed to specify??

Any tips appreciated.
lalocp is offline Report Bad Post Report Post
Old 07-05-2002, 01:12 PM   #7 (Print)
Daven
I only pressed once!
 
Join Date: Jun 2002
Posts: 22
Quote:
Originally posted by kazel
Steve,


One other note: following the guide, I ended up with a version of TIVOFTPD that would not work properly on my Sony Series 1 SA. The smaller .ppc file is what I ended up needing.

Mitch


Mitch,

It seems that when you think you've got it figured out, something always comes along to muck things up.

I too am having the same problems with FTP not working. My questions are, what did you do with the .ppc file, and how did you get it onto the Tivo without FTP?

DaveN
Daven is offline Report Bad Post Report Post
Old 07-05-2002, 03:03 PM   #8 (Print)
Carlton Bale
Unoriginal Username
 
Carlton Bale's Avatar
 
Join Date: Dec 2001
Location: Indianapolis, IN USA
Posts: 85
Dave,

Do you have telnet working? If so, you can transfer the correct tivoftpd file using the sz (send z-modem protocol) command. (See the "Windows programs used to connect to Tivo" section on tivohelp.com)

Otherwise, you will have to remove the hard drive and put it in a PC.

__________________
-Carlton Bale
Philips DSR6000 DirecTivo v3.1.0, 120 hours, TurboNet, etc.
Hughes HR10-250 - v3.1.5f - 120 hours HD
CarltonBale.com
Carlton Bale is offline Report Bad Post Report Post
Old 07-05-2002, 05:25 PM   #9 (Print)
stevejenkins
TiVo sTeVe-o!
 
Join Date: Jun 2002
Location: Seattle, WA
Posts: 61
I've updated the How-To to point to the newer version of Sorphin's tivoftpd (which is currenlty only available via a download link in the Underground. I've emailed Sorphin to ask him to stick it up on his samba download site). I've also altered the uncompress and copy instructions so users know which one to use (PPC for Series 1 or MIPS for Series 2).

I've also updated the How-To to address the XP renaming issue.

Thanks for the help in fixing the minor bugs.

Daven: The new version should help you figure out the tivoftp stuff.

Steve

__________________
TiVo sTeVe-o
Sony SVR-2000 TiVo (v3.0) @ 306 hrs / Lifetime
Sony SVR-2000 TiVo (v3.0) @ 184 hrs / Lifetime
Running: TurboNET, Telnet, TiVoFTPd, TiVoWeb, & TiVoPHP!
TiVo Newbie Hacking How-To Guide
TiVo Community Theme for TiVoWeb
My Home Theater
stevejenkins is offline Report Bad Post Report Post
Old 07-06-2002, 07:55 AM   #10 (Print)
kazel
Member
 
kazel's Avatar
 
Join Date: Jun 2002
Location: Champaign, IL
Posts: 12
Quote:
Originally posted by Daven

I too am having the same problems with FTP not working. My questions are, what did you do with the .ppc file, and how did you get it onto the Tivo without FTP?


DaveN,

I temporarly placed the tivoftpd.ppc on my web server at the office and then used http_get to transfer the file to /var/hack/bin.

Mitch
kazel is offline Report Bad Post Report Post
Old 07-06-2002, 09:25 AM   #11 (Print)
stevejenkins
TiVo sTeVe-o!
 
Join Date: Jun 2002
Location: Seattle, WA
Posts: 61
And the next question...

And the next question in here will be..

"How do I use http_get?"

Great question! I'll answer it here, and I'll also include it somewhere in my How-To.

http_get is a proggie that allows you to download remote files to your TiVo via the HTTP protocol. Because the TiVo has no DNS client, you need to tell it where to download from using an IP address, because it doesn't know how to translate domain name info.

First, I'll show you the http_get syntax, then I'll show you my little shortcut :)

To use http_get, simply type:

http_get -T 0 -C 0 -D . -U http://ipaddress:port/filename

and replace "ipaddress" with the IP address of the remote server, "port" with "80" as the standard HTTP port, and replace "filename" with the path and name of the file.

The "T" flag (which is the tcd id) and the C flag (which is the call id) should always be set to 0 on the TiVo.

The "D" flag is the destination directory. Using the . just downloads the remote file to the current directory that you were in when you issued the http_get command.

The "U" flag is the remote URL.

Now for my shortcut!

I put the following alias in my .profile:

alias http_get='http_get -T 0 -C 0 -D . -U'

And now all I have to type is:

http_get http://ipaddress:port/filename

and the remote file is downloaded to the current directory!

__________________
TiVo sTeVe-o
Sony SVR-2000 TiVo (v3.0) @ 306 hrs / Lifetime
Sony SVR-2000 TiVo (v3.0) @ 184 hrs / Lifetime
Running: TurboNET, Telnet, TiVoFTPd, TiVoWeb, & TiVoPHP!
TiVo Newbie Hacking How-To Guide
TiVo Community Theme for TiVoWeb
My Home Theater

Last edited by stevejenkins : 07-06-2002 at 10:18 PM.
stevejenkins is offline Report Bad Post Report Post
Old 07-06-2002, 09:27 AM   #12 (Print)
archiboy
New Member
 
Join Date: Jul 2002
Location: Clayton, CA
Posts: 5
Thanks Steve!

I just wanted to add my praises to Steve for creating this very current Newbie how-to.

If you are like me and been wading through all the various sets of instructions about how to hack your tivo forget everything you've read and point your browser to the link in Steve's original post!

I've been thinking of hacking my tivo since I got it 8 months ago. Reading many different sources of how-tos.

This is by far the most concice and descriptive. In less than three hours after I found this link I had a full hacking environment running and tivoweb up and running on a Philips Tivo1 running 3.0!

Thanks Steve!
archiboy is offline Report Bad Post Report Post
Old 07-06-2002, 05:45 PM   #13 (Print)
dianebrat
Registered User
 
Join Date: Jul 2002
Location: boston'ish
Posts: 16
Send a message via AIM to dianebrat
Red face

I'm also having the

/# mount /dev/hdc7 /mnt
mount: you must specify the file system type
/#

problem, as stated higher in the thread

and as a sorta newbie, I' m concerned on solving that before I go further

my response to CF is
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda4 126911 15149 105209 13% /
/dev/hda9 126911 1773 118585 1% /var

DHCP is working, telnet is up,

but I want to get FTP and tivoweb up and going..

Ideas seasoned pros?

and thanks to all of you that take patience with newbies like me

thanks in advance!
dianebrat is offline Report Bad Post Report Post
Old 07-06-2002, 09:37 PM   #14 (Print)
Junon
New Member
 
Join Date: Dec 2001
Posts: 8
Also having the "you must specify filesystem type" error... any solutions yet?
Junon is offline Report Bad Post Report Post
Old 07-06-2002, 09:51 PM   #15 (Print)
stevejenkins
TiVo sTeVe-o!
 
Join Date: Jun 2002
Location: Seattle, WA
Posts: 61
I think I see your prob...

I think I may have a possible solution to the drive mounting issues being brought up in this thread...

When the drive is in your PC, my how-to says you should mount partitions as /dev/hdcX (where X is 4, 7, 9, or whatever partition you want) since the "c" denotes the IDE Channel 2 Master.

But when the drive is back in your TiVo, it should be mounted as /dev/hdaX - because the "a" denotes the IDE Channel 1 Master.

Since dianebrat's filesystem currently shows:

Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda4 126911 15149 105209 13% /
/dev/hda9 126911 1773 118585 1% /var

then that tells me she's currently mounted to partitions 4 and 9 on Hard Drive A (hda). If you try to mount Hard Drive C (hdc) it won't find anything to mount...

When the drive is inside the PC, mount with /dev/hdc. Inside the TiVo, mount with /dev/hda.

Does that help dianebrat - and anyone else having this problem? I went through my how-to to make sure I was clear on this point, and consistent in the examples, and it seems to me that I was. But with multiple misunderstandings, perhaps I should clarify it in there a bit more.

Was I unclear in the how-to, or did you naughty newbie hackers just read it too fast?

__________________
TiVo sTeVe-o
Sony SVR-2000 TiVo (v3.0) @ 306 hrs / Lifetime
Sony SVR-2000 TiVo (v3.0) @ 184 hrs / Lifetime
Running: TurboNET, Telnet, TiVoFTPd, TiVoWeb, & TiVoPHP!
TiVo Newbie Hacking How-To Guide
TiVo Community Theme for TiVoWeb
My Home Theater
stevejenkins is offline Report Bad Post Report Post
Old 07-06-2002, 10:38 PM   #16 (Print)
Junon
New Member
 
Join Date: Dec 2001
Posts: 8
Okay, I can be pretty dumb but I don't think that's the problem I'm having. I know that it's hda when it's in the tivo but so far I haven't had to deal with that directly. When I put it in my machine it is hdc and no matter what I do, what boot disk, weather I use a script or do the commands manually, it still comes down to something about not specifying the filesystem type. I tried a different boot disk this last time and this time it said (and I'm gonna type this by hand, so bear with any mistakes...)

(none) login: root
# mount /dev/hdc4 /mnt
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 16:04.
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 16:04.
mount: you must specify the filesystem type
# mkdir /flop
# mkdir /mnt4
# mkdir /mnt7
# mkdir /mnt9
# mount /dev/fd0 /flop
# mount /dev/hdc4
mount: can't find /dev/hdc4 in /etc/fstab or /etc/mtab

Now in all fairness, I have not read your entire guide yet but I've been in and out of these tivo bootdisks and whatnot more than a few times over the last half a year so I'm casually aquainted with the processes involved... I don't think I'm messing anything up but it certainly wouldn't suprise me. I try and do my research though.

By the way, I was a big fan of windows95 and winfiles back in the day. Good job with that... memories...

Heh, I probably should consolidate my help requests to one thread per problem.
Junon is offline Report Bad Post Report Post
Old 07-06-2002, 11:05 PM   #17 (Print)
stevejenkins
TiVo sTeVe-o!
 
Join Date: Jun 2002
Location: Seattle, WA
Posts: 61
Major Update to Newbie Hacker How-To

Based on feedback from a bunch of newbie hackers who have been wading through my Newbie TiVo Hacker How-To, I spent a couple of hours updating the document today. The new version is still available at the same link:

http://www.stevejenkins.com/tivo/newbie.html

Major changes include:
  • New intro section iii that addresses network security with your TiVo
  • Changed all file download locations to http://www.stevejenkins.com/tivo/downloads/ and hosted all files required by the how-to there
  • Addressed the Windows XP file name truncation issue in Section 2.3.1
  • Added instructions for using http_get in Section 4.4
  • Added instructions for installing TiVoWeb in Section 4.5
  • Upgraded old subsection on starting programs at boot to become new Section 5 and included instructions for TiVoWeb starting at boot
  • Added explanation in Section 5 for why "you must specify filesystem type" mounting error could occur if wrong device name is typed by user during mount command
  • Updated acknowledgements since I've received lots of good help since the first version

Thanks to everyone for their helpful feedback, and for all the private (and public) messages of thanks. I just get all choked up when I read those nice emails... sniff... sniff...

__________________
TiVo sTeVe-o
Sony SVR-2000 TiVo (v3.0) @ 306 hrs / Lifetime
Sony SVR-2000 TiVo (v3.0) @ 184 hrs / Lifetime
Running: TurboNET, Telnet, TiVoFTPd, TiVoWeb, & TiVoPHP!
TiVo Newbie Hacking How-To Guide
TiVo Community Theme for TiVoWeb
My Home Theater
stevejenkins is offline Report Bad Post Report Post
Old 07-06-2002, 11:15 PM   #18 (Print)
DCIFRTHS
Registered User
 
Join Date: Jan 2000
Location: New York
Posts: 909
Send a message via AIM to DCIFRTHS
Re: Major Update to Newbie Hacker How-To

It looks really good, and it should help a lot of people.

Thanks for the work you put into this.
DCIFRTHS is offline Report Bad Post Report Post
Old 07-06-2002, 11:15 PM   #19 (Print)
stevejenkins
TiVo sTeVe-o!
 
Join Date: Jun 2002
Location: Seattle, WA
Posts: 61
Junon:

So this is occuring while the drive is in your PC, right?

Are you running Windows NT or XP on your PC's main HD? Did you disconnect your PC's main drive before booting with the Linux floppy with your TiVo drive connected? Try that first. I've heard that sometimes the Windows NT partition info can confuse the boot disk when dealing with Linux partitions. This is from Section 2.17 of the original TiVo Hack FAQ:

Do not connect the DOS/Windows drive to anything but Primary master. Byte swapping is used for all other devices and Linux will not be able to mount DOS partitions connected to them.

Also, please paste in here the output of a "df" command.

Steve

P.S. Thanks for the WinFiles props. I'm sad the site is gone, but way grateful that I sold it before the whole dot.com implosion

__________________
TiVo sTeVe-o
Sony SVR-2000 TiVo (v3.0) @ 306 hrs / Lifetime
Sony SVR-2000 TiVo (v3.0) @ 184 hrs / Lifetime
Running: TurboNET, Telnet, TiVoFTPd, TiVoWeb, & TiVoPHP!
TiVo Newbie Hacking How-To Guide
TiVo Community Theme for TiVoWeb
My Home Theater
stevejenkins is offline Report Bad Post Report Post
Old 07-07-2002, 03:23 AM   #20 (Print)
Junon
New Member
 
Join Date: Dec 2001
Posts: 8
Okay, I unplugged my other drives as you recommended and tried re running everything. I then ran the df command. My total output looked like this...

(none) login: root
# mkdir /mnt4
# mount /dev/hdc4 /mnt
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 16:04.
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 16:04.
mount: you must specify the filesystem type
# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram0 3963 2246 1717 57% /


Thanks for all your help by the way. I don't expect you to fix this and if it doesn't get fixed now I'm sure I'll find another way later or just not sweat it. My TiVo already does far more than I ever expected it to, the rest is just gravy. You = champ.
Junon is offline Report Bad Post Report Post
Old 07-07-2002, 05:50 AM   #21 (Print)
Lightn
Senior Member
 
Join Date: Jun 2000
Posts: 41
stevejenkins:
Nice guide. I just thought I would mention a couple things...

First, my name is 'Josha Foust', could you fix that?

I'm not familiar with dylan's boot disk and how it works exactly, but if it has the sync command you should use it in part 2.11 after the umount to make sure all the changes are flushed to disk.

Also, what does the boot disk do about DMA? Is there some workaround with the kernel, or do the instructions tell people to turn off DMA for secondary master in their BIOS? That could be the cause of mount failing to work.

And I don't think 'cp *.gz /mnt9/hack' is going to get tivoftpd copied.

And why do you tell people to copy modified files to the inactive partition? For backup purposes or what?

One thing you might try that could reduce the need to remount / rw is to change the tnlited startup command to 'tnlited 23 /bin/bash --rcfile /var/hack/.bashrc -i &'. The .bashrc file would replace the functionality of .profile and is in the editable /var/hack directory. If you set HOME in .bashrc that should also let .bash_logout be there too.
Lightn is offline Report Bad Post Report Post
Old 07-07-2002, 10:24 AM   #22 (Print)
dianebrat
Registered User
 
Join Date: Jul 2002
Location: boston'ish
Posts: 16
Send a message via AIM to dianebrat
Red face

1st, my apologies, I just cut and pasted the hdc/hda error, I was indeed trying to mount hda7, the hazards of being a microsoftie

I'm in telnet to the running TiVo,( is that an issue??) the DF reads:

bash-2.02# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda4 126911 15149 105209 13% /
/dev/hda9 126911 3710 116648 3% /var
bash-2.02# mount /dev/hda7 /mnt
mount: you must specify the filesystem type
bash-2.02#

with the HD in my spare box, I get the following
# mount /dev/hdc7 /mnt
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 16:07.
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 16:07.
mount: you must specify the filesystem type

I realize that I'm not mentioning something signifcant here, and that's also my bad and may have lead to the confusion.

This unit was previously an A and B combo that has been combined onto an 80GB A with mfstools

is there a linux equivalent to fdisk that might show the contents of the various partitions so that I can track down the errant inactive partition?

I'm still going through your fantastic newbie page, it's been a huge help! TYVM!

I'm also battling the shortened filenames.. I went to tivoftpd since I got that in, and I'll ftp'd them over! awesome... now it's off to install tivoweb

but I'm concerned that I have not been able to get the inactive partition files updated, and I'm not sure how big an issue that is.

thanks!

Last edited by dianebrat : 07-07-2002 at 12:27 PM.
dianebrat is offline Report Bad Post Report Post
Old 07-07-2002, 11:14 AM   #23 (Print)
archiboy
New Member
 
Join Date: Jul 2002
Location: Clayton, CA
Posts: 5
Junon,

I may be totally off here but...In your PC BIAS settings is the it set to a FAT or non LBA setting for the Linux drive? Most modern BIAS's can be set to AutoDetect the drive. Which should then see it as LBA.

Just a thought...
archiboy is offline Report Bad Post Report Post
Old 07-07-2002, 11:28 AM   #24 (Print)
Junon
New Member
 
Join Date: Dec 2001
Posts: 8
Good idea but I just checked and it was set to auto... I then changed it to LBA just to be sure and then tried the process again. Same error.

For the record, when the boot disk starts up I notice that it finds like 14 partitions on the drive. Well it only has info for 13 of them and then it just says 14 and a blank line under that. That has to be a good start.
Junon is offline Report Bad Post Report Post
Old 07-07-2002, 02:18 PM   #25 (Print)
Knouse
Senior Member
 
Join Date: Jun 2001
Location: Tomball, TX
Posts: 64
From the Newbie TiVo Hacker How-To
Quote:
2.9 Copying files into your hack directory . . .

verify that the following files are on the floppy:

joe2.8-tivo.tar.gz
tivo-bin.tar.gz
tivoftpd
. . .
Copy the files to your hack directory by typing:
cp *.gz /mnt9/hack [ENTER]
This will only copy the first two files. You need to add
cp tivoftpd /mnt9/hack

__________________
Philips 142 hr Series I SA, Lifetime, 3.0, DISH, Sony 36 in. XBR, Sony VL-900 remote
Philips 128 hr Series I SA, Lifetime, 3.0, TurboNet, TiVoWeb, DISH, Sony 19 in.
Knouse is offline Report Bad Post Report Post
Old 07-07-2002, 07:03 PM   #26 (Print)
stevejenkins
TiVo sTeVe-o!
 
Join Date: Jun 2002
Location: Seattle, WA
Posts: 61
Lightn:

Quote:
First, my name is 'Josha Foust', could you fix that?

Sorry... fixed It was late at night and my eyes were tired when I read your name in your README

Quote:
I'm not familiar with dylan's boot disk and how it works exactly, but if it has the sync command you should use it in part 2.11 after the umount to make sure all the changes are flushed to disk.

sync is not on the DBD. Would issuing a "shutdown now" or "reboot" command do the trick?

Quote:
Also, what does the boot disk do about DMA? Is there some workaround with the kernel, or do the instructions tell people to turn off DMA for secondary master in their BIOS? That could be the cause of mount failing to work.

Not sure. I'm not a Linux kernel expert, so I'm not sure about a workaround. It seems there are a few people working on the mounting issue in here now, and when a definitive solution is found, I'll cover it in the doc.

Quote:
And I don't think 'cp *.gz /mnt9/hack' is going to get tivoftpd copied.

Hehe.. I don't think so either That was a typo from when I was telling people to dl the old version of tivoftpd from sorphin's dl area, and it was gzipped then Fixed now...

Quote:
And why do you tell people to copy modified files to the inactive partition? For backup purposes or what?

I thought about that as I wrote the first version of the doc, and decided to do so for the benefit of keeping telnet, ftp, etc. working in case a future TiVo software version upgrade swaps the active and inactive partitions. Of course, a future software upgrade could also hose all that stuff anyway... When I started hacking I just kept reading that I needed to edit both copies of rc.sysinit. I guess I'm just passing on that tradition But if it's really not necessary, please let me know and I'll just yank those parts from the doc.

Quote:
One thing you might try that could reduce the need to remount / rw is to change the tnlited startup command to 'tnlited 23 /bin/bash --rcfile /var/hack/.bashrc -i &'. The .bashrc file would replace the functionality of .profile and is in the editable /var/hack directory. If you set HOME in .bashrc that should also let .bash_logout be there too.

Hmm... I'll give that some thought. On my personal TiVos, I currently set my HOME in my profile to /var/hack and put my .bash_logout in there, but I didn't feel like talking about setting a home directory, etc. in this newbie doc. Maybe I'll stick that in an upcoming update

Thanks for the feedback, and for all your hard work on TiVoWeb and many other efforts on behalf of TiVo hackers...

__________________
TiVo sTeVe-o
Sony SVR-2000 TiVo (v3.0) @ 306 hrs / Lifetime
Sony SVR-2000 TiVo (v3.0) @ 184 hrs / Lifetime
Running: TurboNET, Telnet, TiVoFTPd, TiVoWeb, & TiVoPHP!
TiVo Newbie Hacking How-To Guide
TiVo Community Theme for TiVoWeb
My Home Theater
stevejenkins is offline Report Bad Post Report Post
Old 07-12-2002, 07:09 AM   #27 (Print)
Francesco
Señor Mambo
 
Francesco's Avatar
 
Join Date: Oct 1999
Location: Maricopa County Maximum Security Correctional Facility For Men, State Farm Road Number 31, Tempe, Arizona
Posts: 11,509
Send a message via ICQ to Francesco Send a message via AIM to Francesco Send a message via MSN to Francesco Send a message via Yahoo to Francesco
OK, so I'm your typical script-kiddie (script-old-fart, actually). So, please forgive what may be a fairly silly question:

The How-To states that it assumes a SA TiVo, previously un-hacked, running 3.0.

I had Turbonet and various shell hacks running on my SA under 2.5.1, then when my second NIC arrived for one of my DTiVos (and did not work), I moved the working Turbonet to the combo box while awaiting the replacement. in the meantime I got 3.0 over the phone on the SA. Can I follow the How-To as-is? will I have any problems overwriting some of the files in /var/...?

Thanks again!

__________________
Francesco

**** *** *** ***
Francesco is offline Report Bad Post Report Post
Old 07-12-2002, 09:22 AM   #28 (Print)
stevejenkins
TiVo sTeVe-o!
 
Join Date: Jun 2002
Location: Seattle, WA
Posts: 61
You should be able to use it just fine. Don't overwrite files in /var, just the ones in /var/hack (if you have any there).

__________________
TiVo sTeVe-o
Sony SVR-2000 TiVo (v3.0) @ 306 hrs / Lifetime
Sony SVR-2000 TiVo (v3.0) @ 184 hrs / Lifetime
Running: TurboNET, Telnet, TiVoFTPd, TiVoWeb, & TiVoPHP!
TiVo Newbie Hacking How-To Guide
TiVo Community Theme for TiVoWeb
My Home Theater
stevejenkins is offline Report Bad Post Report Post
Old 07-12-2002, 03:55 PM   #29 (Print)
Dweller
Registered User
 
Join Date: Aug 2001
Posts: 602
3 cheers for steve!

I just wish I had found your resource FIRST instead of last

excellent work man, tyvm

__________________
Dweller
Dweller is offline Report Bad Post Report Post
Old 07-12-2002, 06:08 PM   #30 (Print)
jodell
Registered User
 
Join Date: Jul 2002
Posts: 57
Send a message via AIM to jodell
dianebrat said:

I'm in telnet to the running TiVo,( is that an issue??) the DF reads:

bash-2.02# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda4 126911 15149 105209 13% /
/dev/hda9 126911 3710 116648 3% /var
bash-2.02# mount /dev/hda7 /mnt
mount: you must specify the filesystem type
bash-2.02#

with the HD in my spare box, I get the following
# mount /dev/hdc7 /mnt
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 16:07.
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 16:07.
mount: you must specify the filesystem type

I realize that I'm not mentioning something signifcant here, and that's also my bad and may have lead to the confusion.

This unit was previously an A and B combo that has been combined onto an 80GB A with mfstools

________

I believe that mfstools does not back up the inactive partition when you follow the instructions on Tigers' or Hinsdales' webpages. So when you installed your 80 GB drive, hdx7 did not get moved. This partition will not be created until the next software upgrade.

I just went through this process on my Tivo. I found that the "you must specify the filesystem type" error was printed when I tried to mount a partition that didn't exists.

You also asked about a linux equivalent to fdisk to see which partitions were created. I believe that df did that. It shows you two ext2 partitions 4 and 9.

Jeff
jodell is offline Report Bad Post Report Post
 
Forum Jump
Thread Tools

Go Back  TiVo Community Archive2 > Underground Playground > TiVo Underground

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 04:13 PM.


Powered by: vBulletin Version 3.0.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(C)opyright - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVo® is a registered trademark of TiVo Inc. This site is not affiliated with TiVo Inc.


Spider History Index