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

View Poll Results: Did you get it to Work
Yes! 73 68.22%
No (please reply) 34 31.78%
Voters: 107. You may not vote on this poll

 
Forum Jump
 
Thread Tools Search this Thread Display Modes
Old 12-13-2002, 07:05 PM   #1 (Print)
Ingineer
New Member
 
Join Date: Dec 2002
Location: San Francisco, CA
Posts: 20
Lightbulb Hacking the HDVR2 (S2 DTiVo) BASH/Ethernet/Upgrade

I can find a plethora of threads on the S2, but nothing specific to the DTiVo S2, so I decided to create this, it is “newbie-grade”, and will allow others to get an idea of what’s going on with a “hands-on” approach.

I am basing these instructions on my "Test" unit, which is a HDVR2 that shipped with 3.1.U5-01-2-151.

I was tempted to create a automatic utility to do all this for someone, but that way you can’t learn!

Note: The Ethernet adapter is discussed in a later post down in the thread farther!

HOW TO OBTAIN A SERIAL BASH PROMPT and/or UPGRADE CAPACITY:

1. If you don't already have these 5 things you will need them to begin:
a. Torx T-10 Screwdriver
b. An open Windows 95/98 PC, (FAT32) that has at least 2g free space, and will boot from CD. You CANNOT use XP or 2000 with NTFS, as those partition types cannot be written to via the Linux boot CD. (you can also use Linux, but I am not going to detail this here)
c. A copy of the MFSTools2 Boot CD or better yet, the version created by Jonnydeath that includes all of the extra files mlar used in his pioneering effort. Jonnydeath is kind enough to provide this to you as a downloadable ISO image at: http://star1.jongans.com/mfstools2.iso Kudos mlar and Jonnydeath! (download and burn the ISO image to a blank CDR)
d. A spare IDE cable. Type is not too important for this operation.
e. A TiVo PC to 1/8" Serial cable. Instructions for making this are in various locations throughout the forum. Make sure it is done correctly, as I envision this is the most common source of problems. If you don't have decent electronics experience, I suggest you order this cable pre-made from somewhere like 9thtee.
f. (Optionally) A new HD for your TiVo at least Equal or Greater than your originals capacity. I used a 120g Maxtor for mine.

2. Disconnect Power to the TiVo. I recommend you leave the AC plug plugged into a Power strip and just "turn-off" the strip to preserve the Static ground path through the power supply. It is winter after-all!

3. Open the Unit using your Handy T-10 Torx Driver. Note that TiVo seems to have finally given up on the cheesy "Warranty Seal" used extensively on the S1.

4. Disconnect the cables (Power and IDE) from the Hard drive.

5. Remove the Hard Drive and Bracket assembly by removing the two T-10 Torx screws located on the Hard Drive Bracket between the Drive itself and the Front of the TiVo.

6. Treat the hard drive like a waiting heart transplant, and carefully take it to the PC and hook it up as the Secondary Master all by itself. This may require you to unplug your CDROM and reconfigure it as Primary Slave if it is not already like that. This configuration can be varied, but I don't recommend it, as my instructions are going to assume this configuration. Any other IDE devices should be unplugged. So you should have your Windoze FAT32 drive as Primary Master (IDE0), your CDROM as Primary Slave (IDE1), and your TiVo heart as Secondary Master (IDE2). You should not need to change any jumpers on the TiVo drive.

7. Insert the MFSTools2 bootable CD in the drive and boot the PC. You should quickly get a prompt that that asks for boot options. Just hit ENTER. Linux should now boot, and may ask you to login as root. Once logged in you will be at the # prompt.

8. Mount the Windows drive by using the following command:
mount /dev/hda1 /mnt/c

9. Verify you can "see" the Windows drive by doing an ls /mnt/c and you should see a directory of your Windows C drive. Also verify you have at least 2 gigs free on that partition by using the df command.

10. No we are going to create a backup of your TiVo drive for safety reasons. Execute the Following Command:
mfsbackup -f 4138 -6so /mnt/c/tivo-s2.bak /dev/hdc
This will create a file in the root of your Windows drive called tivo-s2.bak that will contain a complete image of the new TiVo drive, it will be approximately 1.2g in size. Be sure this command completes successfully before you move on to the next step. It took about 5 minutes on my setup, so feel free to go have a snack and Watch something on your Series 1.... ;-)

11. (optional) Now, here is where you choose to play it safe by using a new drive or keeping the original. We have not yet modified the TiVo drive in any way, so by keeping it intact, you have a sure-fire failsafe. I also desired to upgrade my capacity at this point, so I opted for a 120g 5400 rpm Maxtor to replace the existing 40g Maxtor my HDVR2 came with. If you are going to replace the drive, you now use the "three-finger salute" (CTRL-ALT-DEL) to halt Linux (this will safely unmount your windows drive). DO NOT power off the PC until it reboots! Once it reboots, then power it down. Remove the TiVo drive, take the Bracket off, and put it somewhere safe. Mount the bracket on the NEW drive, making sure it is set for Master first. Install it in the PC and reboot just like before, including the step to mount your windows partition. Do not run MFSbackup though!!!

12. Ok, now here is were we reverse the process and restore the backup on your drive. You have to perform this step even if you are re-using the TiVo original drive (not recommended), as we are going to use MFSrestore to create some additional partitions that are not present on your drive already. Note: Leave OUT the "-s 127" if you are re-using the "stock" drive! Your Windows partition should be mounted and ready to go, then type the following command:
mfsrestore -s 127 -xzpi /mnt/c/tivo-s2.bak /dev/hdc
This will re-write the backed up data from the Windows drive to the target TiVo drive and add the extra partitions. Once this process completes successfully, reboot the machine with CTRL-ALT-DEL and get back to the # prompt. Do not re-mount the Windows partition. Press and hold SHIFT and use the "Page Up" key to scroll back through the kernel boot messages, looking for the "Partition Check" where it will list all the partitions found on /dev/hdc. Make a note of the LAST hdcXX, with blank line after the name. Also, The line above the blank one we want should list a partition type called "Apple_Free", YOU WILL BE USING THE BLANK PARTITION FOR THE ROMFS STEPS BELOW! Mine was 16, which may not be one used on your drive, but NO MATTER WHAT, THE NUMBER WILL BE OVER 10! If for some stange reason it is not, DO NOT PROCEED! I also recommend You power down the PC at this point and put the New TiVo drive back in the TiVo for a quick test to be sure it worked. Since I was upgrading, I wanted to see the magic 3-digit "recording Capacity" number show up in the System Info screen. It did! YES! =) If all is well, power down the TiVo and put the drive back in the PC and get it back to the # prompt as before.

14. Notice I skipped 13. I didn't want anything to screw up when everything has worked perfectly so far! =) Ok, now this is where we begin the modifications that mlar originally developed to get that prompt! Mount Jonnydeath’s CD by typing mount /dev/hdb /cdrom It will proceed to tell you that it is a read-only file-system, and that is it mounting it accordingly. CD to the mount by typing cd /cdrom then do an ls to verify that the img subdirectory, the genromfs and the bootpage utilities are there. (if they are not, you didn’t use Jonnydeath’s MFStools version!) Now lets verify your system is like mine was, and type this command:
bootpage -p /dev/hdc
It should spit out "root=/dev/hda7" which confirms the TiVo’s active root partition is 7, so that makes the VAR mount point at 9. Lets now mount the var partition by typing:
mount /dev/hdc9 /mnt/tivo
Then we check it by doing a:
ls /mnt/tivo
Now verify you see at least stuff like the "log" and "utils" subdirectories. Now if that is ok, we are ready for the actual modifications. The first chore is to generate the small ROMFS image that we will be placing on the last Blank Partition (determined in step 12). Do this by typing the following:
genromfs -f /romfs.img -d img/
This command should create a 1024 byte file in the root directory called romfs.img containing the ROM file system image which has the “hacks” file in it from the img subdirectory. Now we are ready to write it to the blank partition at the end of the TiVo drive. The blank partition we will use was created by us and determined in step 12. Make the write by typing this command:
(Note: The blue XX should be replaced with the blank partition number determined in step 12!)
dd if=/romfs.img of=/dev/hdcXX bs=1024 count=1
This command does a direct binary copy (dd) of the “infile” romfs.img directly to the partition which is located at device handle /dev/hdcXX. If all goes well you will see "1+0 records in" and "1+0 records out" and we have inserted our secret “hook” code into the last partiton on the TiVo drive. On to the next step.....

15. Ok, now we have a block of code in the last partiton, and we will still need to “hook” it by passing kernel parameters at boot time by altering the boot page. What this code in the last partition will do is look for a file called “hackinit” in the /var/hack subdirectory and execute it when we "trick" the kernel into running it for us. In that "hackinit" file we can place anything (such as a BASH shell) we wish to have the TiVo run at startup. Now we will create that "hackinit" file and load it with a command to invoke our BASH prompt on the HDVR2’s serial port. Type:
mkdir /mnt/tivo/hack
This will create our “hack” directory in TiVo’s var subdirectory. Then type:
mkdir /mnt/tivo/hack/bin
And this makes our bin subdirectory and then:
cp -p /cdrom/devbin-s2/* /mnt/tivo/hack/bin/
That will copy over all the essential binary commands we will need to use the BASH shell. Now all we have to do is create the “hackinit” file to call our BASH shell. Do this by typing the following; Hitting ENTER after each line:
(Note: be very careful to get it 100% perfect or it may not work – Be ESPECIALLY sure to get the case right in ttyS2!)
cat >/mnt/tivo/hack/hackinit
#!/bin/bash
date>>/var/hack/hackinit.log
PATH=/var/hack/bin:/sbin:/bin:/tivobin:.
/bin/bash</dev/ttyS2&>/dev/ttyS2&
Once you hit ENTER on the last line, press CTRL+D to close the file. DOUBLE-CHECK your work, because if even one character is wrong, it will not work! If you realize you made a mistake, begin again at the “cat”. Once you have verified, we need to make it and the other commands executable by doing this:
chmod -R 777 /mnt/tivo/hack
Which completes that, now all that remains to be done is the boot page “hook”.....

16. Ok this is the final modification, we hook the code in the Last Partition (determined in Step 12) by typing this VERY CAREFULLY:
(Note: The blue XX should be replaced with the blank partition number determined in step 12!)
bootpage -P "root=/dev/hda7 BASH_ENV=\`mount\$IFS-n\$IFS/dev/hdaXX\$IFS/mnt;echo\$IFS/mnt/hacks\`" -C /dev/hdc
Make 100% sure you get the case proper, and be VERY careful to make the “reverse single quotes” properly. Most people mess this up. There are 2 in the line, each one is preceded by a backslash (\) and is usually made by pressing the key near the upper-left of your keyboard (on the same key as the ~). If you don’t get this correct, this will all fail, So triple-check the line before hitting enter! Once this command completes, you are ready to unmount the TiVo drive with the “Three-finger salute” (CTRL-ALT-DEL), wait for the PC to reboot, then power it down and move the TiVo drive back to it’s home!

17. Ok, here is the Final step, if all goes well, you should have a BASH prompt! Connect your new serial cable to the Serial port on your PC, and open a standard VT-100 type terminal communication package such as HYPERTERM or MINICOM, being sure to set the PC’s port to 9600-8-N-1. Test the setup by using something metal to short the first 2 contacts (the small tip and little ring after it) on the 1/8” plug on the other end of the cable. When you type on the PC, and that bridge is in place on the 1/8” connector, you should see all the characters “come back” (echo) to you. If you don’t, troubleshoot your COM port setup, and/or cabling. Now plug the 1/8” plug into the back of the TiVo where it is labeled “Serial”. Restore power to the TiVo and watch the PC. Right before the TiVo changes from “Welcome. Powering up..” to “Almost There” you should see this:
bash: no job control in this shell
bash-2.02#

Now you should be able to “move around” in your TiVo. Be careful not to invoke any commands that do not auto-terminate, as there is no job control on this shell! (Can’t CTRL+C to stop them).

CONGRATULATIONS, You are a TiVo Hacker! =)

My next “installment” to this section will be how to add the USB Ethernet support. I have to go out and get one of those 3-Com USB Ethernet adapters, first! Once I get that done, I will try and add a TivoWEB “How-to” for the HDVR2.

If you are going to “experiment”, it might be a good idea to go backup your TiVo drive again first. Use the same procedure as outlined in steps 8-10, except I recommend you choose another file name instead of tivo-2.bak. Maybe hacked-2.bak instead. (if you have the space). Then you can play around and learn without fear of really hurting anything. You also have the option of the “original” TiVo drive if you took my advice. ;-)

Also note that you can only modify stuff in /var. Everything else is mounted Read-only by the TiVo. Besides, even if you did, since we are running an unmodified system, the TiVo would do away with any changes at boot time.

Have fun, and Good Luck!

Last edited by Ingineer : 12-31-2002 at 07:06 AM.
Ingineer is offline Report Bad Post Report Post
Old 12-13-2002, 09:47 PM   #2 (Print)
pdog
Whack MC
 
Join Date: Jan 2002
Location: TX
Posts: 55
Great post, ingineer. A future classic. Here's some information on quieting a maxtor drive which may also be of interest to HDVR2 owners.

If you have a recent Maxtor drive, it supports a "quiet" mode which slows seek performance but dramatically reduces the noise emitted by the drive. Assuming the new tivo drive is hooked up to your PC, here's what you need to do:

1) create a DOS bootdisk (which you can get from www.bootdisk.com),
2) copy the amset.exe utility onto it (which you can get here)
3) reboot your machine with the dos bootdisk and run "amset /quiet".

That's it. Pretty easy. The drive should run in quiet mode told otherwise.
pdog is offline Report Bad Post Report Post
Old 12-14-2002, 12:28 PM   #3 (Print)
TheAmigo
Member
 
Join Date: Dec 2001
Location: Glendale Heights, IL
Posts: 8
Nice write-up.
One thing I would add is a step 10.5 for safety:

umount /mnt/c
To make sure the cache gets written back to the C drive before rebooting.

__________________
--The Amigo
TheAmigo is offline Report Bad Post Report Post
Old 12-14-2002, 07:27 PM   #4 (Print)
pdog
Whack MC
 
Join Date: Jan 2002
Location: TX
Posts: 55
Arrow

Ingineer, I'm trying your steps now and am failing on step 14 where you try to mount the /var partition. My guess is that the ISO's kernel does not have the partition hacks required as noted by mlar? Anyhow mount fails telling me I need to tell it the filesystem type. Ideas?
pdog is offline Report Bad Post Report Post
Old 12-14-2002, 08:56 PM   #5 (Print)
Ingineer
New Member
 
Join Date: Dec 2002
Location: San Francisco, CA
Posts: 20
Smile

Well, I instruct people to use a CTRL-ALT-DEL to halt the machine, and that will unmount all filesystems prior to reboot. That's easier, and you won't "forget" one that way.

Quote:
Originally posted by TheAmigo
Nice write-up.
One thing I would add is a step 10.5 for safety:

umount /mnt/c
To make sure the cache gets written back to the C drive before rebooting.
Ingineer is offline Report Bad Post Report Post
Old 12-14-2002, 09:03 PM   #6 (Print)
Ingineer
New Member
 
Join Date: Dec 2002
Location: San Francisco, CA
Posts: 20
Did you do the bootpage -p /dev/hdc ?

That will confirm the active root partiton. At that point you can mount whatever THAT indicates instead, do a cat /mnt/tivo/etc/fstab and look for what partition is assigned to mount point /var. Unmount root, then re-mount whatever handle you found in the fstab.

Lemme know if that helps!

Quote:
Originally posted by pdog
Ingineer, I'm trying your steps now and am failing on step 14 where you try to mount the /var partition. My guess is that the ISO's kernel does not have the partition hacks required as noted by mlar? Anyhow mount fails telling me I need to tell it the filesystem type. Ideas?
Ingineer is offline Report Bad Post Report Post
Old 12-15-2002, 09:26 AM   #7 (Print)
pdog
Whack MC
 
Join Date: Jan 2002
Location: TX
Posts: 55
For whatever reason, a reboot solved the problem. I was able to mount the partition once I had rebooted.
pdog is offline Report Bad Post Report Post
Old 12-15-2002, 11:13 AM   #8 (Print)
Ingineer
New Member
 
Join Date: Dec 2002
Location: San Francisco, CA
Posts: 20
Very Strange. I hope your hardware setup is stable!

Quote:
Originally posted by pdog
For whatever reason, a reboot solved the problem. I was able to mount the partition once I had rebooted.
Ingineer is offline Report Bad Post Report Post
Old 12-15-2002, 12:02 PM   #9 (Print)
Ingineer
New Member
 
Join Date: Dec 2002
Location: San Francisco, CA
Posts: 20
Lightbulb

Several People are asking me questions about this porject and related issues in Private messages. I would rather everyone ask me in the thread here instead, so we can pool knowledge and everyone can benefit!

Thanks!
Ingineer is offline Report Bad Post Report Post
Old 12-15-2002, 02:22 PM   #10 (Print)
pdog
Whack MC
 
Join Date: Jan 2002
Location: TX
Posts: 55
Any idea when you are going to have that network walkthru ready? I tried doing it last night and the tivo kept rebooting over and over. It was ok once I reset the bootpage so I'm thinking I had a typo in the BASH_ENV command. I checked it very carefully though and didn't see any problems. I didn't add serial capability (don't have the cables and would much rather have network telnet access) so it's kinda hard to debug.

I'm going to try again this afternoon - maybe second time's a charm.

__________________
HDVR2 - 107 hrs, USB Ethernet and other goodies
pdog is offline Report Bad Post Report Post
Old 12-16-2002, 01:12 PM   #11 (Print)
Ingineer
New Member
 
Join Date: Dec 2002
Location: San Francisco, CA
Posts: 20
Yeah, make sure it's exact. Do a bootpage -p afterwards to verify it is correct. One thing you could do is copy the line from here to a text file with #!/bin/bash as the first line, put it on the windows drive you can mount from the boot CD, and use that file as a shell script to run the bootpage for you. That way no typos! =)

I am still waiting to locate a 3-COM USB Ethernet adapter. I went to 2 places in Dallas and they didn't have any. Does anyone know if other units work with the drivers on the S2? (S2 Stand-Alone) Or, Where in Dallas these things are available?

Once I get my hands on one, I will figure out how to get running on the HDVR2 and post my results.... The only thing I've noticed so far, is that the USB ports are disabled in the HDVR2. There isn't even any power on the port! Someone in another thread said DirecTV didn't want the broadband functionality availble to ensure the phone line stays connected. If you connect the TiVo to broadband, that would mean the "DirecTV part" would not have any communications, as it normally shares the TiVo modem, so I understand this reasoning, even if I don't like it! =)
Ingineer is offline Report Bad Post Report Post
Old 12-16-2002, 01:52 PM   #12 (Print)
taba469
Registered User
 
Join Date: Dec 2002
Location: Texas
Posts: 16
Send a message via Yahoo to taba469
Ingineer,

Not sure if you're only considering the 3Com USB but you can purchase a Linksys Instant Wireless USB Network Adapter (WUSB11) from CDW for $60. When I checked last week, they ship the same day.

__________________
Sony SVR-3000
unhacked, 220 hrs
Linksys USB100m & DLink DWL-810 wireless
taba469 is offline Report Bad Post Report Post
Old 12-16-2002, 02:56 PM   #13 (Print)
pdog
Whack MC
 
Join Date: Jan 2002
Location: TX
Posts: 55
hiro in the "hdvr2 usb broadband drivers?" thread has also reported that the Belkin USB adaptor works with the tivo drivers. I bought it at Compusa for $30. He reported that the Linksys adaptor did NOT work for him. YMMV.

If the power is off, there must be a software switch to turn it on. I can't believe they would include useless ports on the back of the box; that would preclude ANY use of the USB ports in future code revisions.

__________________
HDVR2 - 107 hrs, USB Ethernet and other goodies
pdog is offline Report Bad Post Report Post
Old 12-16-2002, 03:06 PM   #14 (Print)
ct williams
Registered User
 
Join Date: Feb 2002
Location: Charlotte, NC
Posts: 68
Quote:
Originally posted by Ingineer

I am still waiting to locate a 3-COM USB Ethernet adapter. I went to 2 places in Dallas and they didn't have any. Does anyone know if other units work with the drivers on the S2? (S2 Stand-Alone) Or, Where in Dallas these things are available?

Once I get my hands on one, I will figure out how to get running on the HDVR2 and post my results....



I don't know if you had seen this or not, but here is the list of supported adapters. Some have reported that the Siemins speedstream does NOT work.3COM
3Com USB Ethernet 3C460B

ABOCOM
USB 10/100 Fast Ethernet
USB HPNA/Ethernet

ACCTON
Accton USB 10/100 Ethernet Adapter
SpeedStream USB 10/100 Ethernet

ADMTEK
ADMtek ADM8511 Pegasus II USB Ethernet
ADMtek AN986 Pegasus USB Ethernet (eval. board)

ALLIEDTEL
Allied Telesyn Int. AT-USB100

BELKIN
Belkin F5D5050 USB Ethernet

BILLIONTON
Billionton USB-100
Billionton USBE-100
Billionton USBEL-100
Billionton USBLP-100

COMPAQ
iPAQ Networking 10/100 USB

COREGA
Corega FEter USB-TX

DLINK
D-Link DSB-650
D-Link DSB-650TX
D-Link DSB-650TX(PNA)

ELSA
Elsa Micolink USB2Ethernet

HAWKING
Hawking UF100 10/100 Ethernet

IODATA
IO DATA USB ET/TX
IO DATA USB ET/TX-S

KINGSTON
Kingston KNU101TX Ethernet

LANEED
LANEED USB Ethernet LD-USB/T
LANEED USB Ethernet LD-USB/TX

LINKSYS
Linksys USB100TX
Linksys USB10TX
Linksys USB Ethernet Adapter
Linksys USB USB10TX

MELCO
MELCO/BUFFALO LUA2-TX
MELCO/BUFFALO LUA-TX

SIEMENS
SpeedStream USB 10/100 Ethernet

SMARTBRIDGES
smartNIC 2 PnP Adapter

SMC
SMC 202 USB Ethernet

SOHOWARE
SOHOware NUB100 Ethernet
ct williams is offline Report Bad Post Report Post
Old 12-16-2002, 04:52 PM   #15 (Print)
Ingineer
New Member
 
Join Date: Dec 2002
Location: San Francisco, CA
Posts: 20
There is a Power Protection/Switching Chip on the Power line to both USB ports that controls power to them. I would assume that once you initialize the Port, the power is enabled, and since the code has been omitted that initializes the ports in the HDVR2, that is why. I assume once I fiddle with it I can determine the module responsible for this and do an INSMOD.

I was wating until I had the adapter in hard before playing, just because I don't wanna spin my wheels for nothing!

Thanks to everyone who provided the compatiblity list. I saw the Belkin adapter at several places, just didn't know if it was supported. I will try and pick one up this evening.

Quote:
Originally posted by pdog
hiro in the "hdvr2 usb broadband drivers?" thread has also reported that the Belkin USB adaptor works with the tivo drivers. I bought it at Compusa for $30. He reported that the Linksys adaptor did NOT work for him. YMMV.

If the power is off, there must be a software switch to turn it on. I can't believe they would include useless ports on the back of the box; that would preclude ANY use of the USB ports in future code revisions.
Ingineer is offline Report Bad Post Report Post
Old 12-18-2002, 09:09 PM   #16 (Print)
wtdragon
New Member
 
Join Date: Dec 2002
Location: NYC
Posts: 3
Could Not Get Bash ?

I noticed when doing mfsrestore at the end added part 14 & 15 no 16 ?

Thank You will continue to try ô¿ô

Serial Cable Checks ok. Also used on DSR-6000
wtdragon is offline Report Bad Post Report Post
Old 12-18-2002, 10:21 PM   #17 (Print)
Weez
Registered User
 
Join Date: Dec 2002
Posts: 261
Im having trouble following these directions.

Specifically this "Make the write by typing dd if=/romfs.img of=/dev/hda16 bs=1024 count=1 which does a direct binary copy of the “infile” romfs.img directly to the partition which is located at device handle /dev/hda16. If all goes well we have inserted our secret “hook” into the TiVo drive. On to the next step....."

When i did the mfsrestore it created 2 additional partitions however they were hdc14 and hdc15, hda is my windows drive? where did i screw up?

Thanks Weez
Weez is offline Report Bad Post Report Post
Old 12-18-2002, 11:01 PM   #18 (Print)
Weez
Registered User
 
Join Date: Dec 2002
Posts: 261
Quote:
Originally posted by wtdragon
Could Not Get Bash ?

I noticed when doing mfsrestore at the end added part 14 & 15 no 16 ?

Thank You will continue to try ô¿ô

Serial Cable Checks ok. Also used on DSR-6000


Im having the exact same issue, out of curiosity did you use a smaller drive? like 80 gig?
Weez is offline Report Bad Post Report Post
Old 12-19-2002, 12:22 AM   #19 (Print)
Ingineer
New Member
 
Join Date: Dec 2002
Location: San Francisco, CA
Posts: 20
Exclamation

DOH!

My bad, it is supposed to be HDC not HDA for the dd command, and the partition used for this operation MAY VARY from mine, which was 16. I have revised the instructions to fix this error and added the steps to determine which partiton to use for the ROMFS.

Sorry for the trouble!!!
Ingineer is offline Report Bad Post Report Post
Old 12-19-2002, 08:35 AM   #20 (Print)
Weez
Registered User
 
Join Date: Dec 2002
Posts: 261
Quote:
Originally posted by Ingineer
DOH!

My bad, it is supposed to be HDC not HDA for the dd command, and the partition used for this operation MAY VARY from mine, which was 16. I have revised the instructions to fix this error and added the steps to determine which partiton to use for the ROMFS.

Sorry for the trouble!!!


thanks for taking the time to actually write a how-to, i finally figured it out late last nite but was just too tired to do it all over again, but ill have bash tonite :-)

Thanks
Weez is offline Report Bad Post Report Post
Old 12-19-2002, 11:50 AM   #21 (Print)
wtdragon
New Member
 
Join Date: Dec 2002
Location: NYC
Posts: 3
Ingineer



Thank You for your how to, It's a great learning post,and it works !!

We Have a Bash


This will be a Classic.

Looking forward to your next post.

Happy Holidays

ô¿ô

HDVR2 with maxtor 120 gig With Bash
wtdragon is offline Report Bad Post Report Post
Old 12-19-2002, 03:58 PM   #22 (Print)
MichaelK
Registered User
 
Join Date: Jan 2002
Posts: 1,804
Re: --> Hacking the HDVR2 (S2 DTiVo) BASH/Upgrade

Quote:
Originally posted by Ingineer
...
Also note that you can only modify stuff in /var. Everything else is mounted Read-only by the TiVo. Besides, even if you did, since we are running an unmodified system, the TiVo would do away with any changes at boot time.

Have fun, and Good Luck!


GREAT how-to.

One suggestion i learned earlier, while you fiddling around with partitions just make a new hack partition on the tivo drive. THen mount that from bash (or maybe your hook?) and put your hacks in there. Keeps the tivo from ever messing with it. Very little actually needs to be in your /var that way.

I did that when i upgraded my series 1 dtivos. You're much more linux savvy than me, but off the top of my head, I copied the old drive to the new with mfs tools (you can make the swap partition as big or small as you want your new hack partition to be) than i expanded it with dtivomadd since you can have that create a "new" swap part- which results in the old swap being free for you to stick all your hacks in it. (Wasnt my great idea or anything i think the readme with dtivo madd suggested it). I'm sure someone can explain how to do it cleaner with mfstools 2.0 and the command line, but the idea is sound.
MichaelK is offline Report Bad Post Report Post
Old 12-19-2002, 11:39 PM   #23 (Print)
Weez
Registered User
 
Join Date: Dec 2002
Posts: 261
Weve got bash!


Thanks for How-to Ingineer :-)
Weez is offline Report Bad Post Report Post
Old 12-20-2002, 11:04 PM   #24 (Print)
Ingineer
New Member
 
Join Date: Dec 2002
Location: San Francisco, CA
Posts: 20
Lightbulb

You Guys are welcome, it was Fun! =)

Great Idea MichaelK! If you can, post your details and I will update the Howto.

Also; I'VE GOT ETHERNET!!!

Here's how:

Plug in your USB Ethernet adapter, and then add this to the end of your hackinit file or type it in at your bash prompt:

insmod /diag/usbcore.o
insmod /diag/usb-ohci.o
insmod /diag/pegasus.o
ifconfig eth0 10.10.10.10 broadcast 10.10.10.255 netmask 255.255.255.0
route add default gw 10.10.10.1 netmask 0.0.0.0 metric 1


Be sure to replace my IP address settings (blue) with your IP addresses for the TiVo, the Broadcast, and the Gateway (router).

If all goes well, you will be online!

I will post more soon, like how to get the Telnet & FTP daemons up.....
Ingineer is offline Report Bad Post Report Post
Old 12-20-2002, 11:17 PM   #25 (Print)
gquinn
New Member
 
Join Date: Dec 2002
Posts: 4
I just got my serial to work and am all set to get one of those usb to ethernet adaptors.
Man I am going to have so much fun with this!!!!
Thanks for all the hard work and great tutorial guys.
regards,
Ger.

__________________
regards,
Ger.
gquinn is offline Report Bad Post Report Post
Old 12-20-2002, 11:25 PM   #26 (Print)
pdog
Whack MC
 
Join Date: Jan 2002
Location: TX
Posts: 55
Are the /diag drivers different than the ones in /lib/modules?

__________________
HDVR2 - 107 hrs, USB Ethernet and other goodies
pdog is offline Report Bad Post Report Post
Old 12-21-2002, 09:38 AM   #27 (Print)
mayweb
Registered User
 
Join Date: Dec 2002
Posts: 67
Ingineer, I see 95/98 needs to be used as a host OS to run the MFS Tools and 2K and XP can't --- what about Windows ME ? My ultimate goal is to get the HDVR2 on my network to be able to move data around in order to save programs for future family use on other network resident devices.

(removed cable query -- I found info in this thread..thanx)

Last edited by mayweb : 12-21-2002 at 09:48 AM.
mayweb is offline Report Bad Post Report Post
Old 12-21-2002, 11:07 AM   #28 (Print)
Weez
Registered User
 
Join Date: Dec 2002
Posts: 261
Quote:
Originally posted by Ingineer
You Guys are welcome, it was Fun! =)

Great Idea MichaelK! If you can, post your details and I will update the Howto.

Also; I'VE GOT ETHERNET!!!

Here's how:

Plug in your USB Ethernet adapter, and then add this to the end of your hackinit file or type it in at your bash prompt:

insmod /diag/usbcore.o
insmod /diag/usb-ohci.o
insmod /diag/pegasus.o
ifconfig eth0 10.10.10.10 broadcast 10.10.10.255 netmask 255.255.255.0
route add default gw 10.10.10.1 netmask 0.0.0.0 metric 1


Be sure to replace my IP address settings (blue) with your IP addresses for the TiVo, the Broadcast, and the Gateway (router).

If all goes well, you will be online!

I will post more soon, like how to get the Telnet & FTP daemons up.....



Nice job Ingineer! I hope to follow these directions and have ethernet access after i finish my xmas shopping today... any opinions on whether joe or vi compiled for the series 1 units will work on the series 2 units?
Weez is offline Report Bad Post Report Post
Old 12-21-2002, 01:46 PM   #29 (Print)
Weez
Registered User
 
Join Date: Dec 2002
Posts: 261
Hmmm i tried exactly what you've shown and i lost bash and the usb ports dont appear to be active (the led isnt lit on the usb nic) did you need to modify anything in rc.arch? ie: change local load_pegasus=false to =true?
Weez is offline Report Bad Post Report Post
Old 12-21-2002, 03:25 PM   #30 (Print)
puppy
Member
 
Join Date: Jun 2002
Posts: 8
I thought 3.2 update release fix this issue so that you could not use hack to get a bash prompt anymore.
puppy 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:35 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