Question about updating the kernel: I have a fully functional (ie superpatched) tcd24004a that I manually sliced from 7.1 to 7.2.2 last spring. Until the slicer came out, I was reluctant to take any of the 7.3.xx updates ("if it ain't broke..."). With the Slicer, there is no reason not to take every update. That being the case, what are your thoughts, Lou, on appropriate kernels? I have been using a kill'd 3.1.5 from a $5 lba cd i purchased from you a year or so ago. What would be advantages of using the 7.2.2 kernel? What is the process for updating the kernel via the Slicer?
The Slicer: Instructions and Release Notes
Categories: Standalone DVRs Integrated DVRs
Overview
The Slicer is a tool designed to allow your modified TiVo to accept and install a software update without overwriting existing telnet/ftp or serial bash access. This eliminates the need to remove an upgraded drive for the reinstallation of critical hacks. In short, if there is a downloaded software update on your particular Series2 TiVo DVR, The Slicer can be used to install it and it will then attempt to preserve the installation of telnet, ftp and several other popular hacks. Once your unit is restarted, you will still be able to access it for the installation of any advanced or modified hacks for the newer version of the software, but most importantly, by preserving telnet and ftp access you should not need to remove the drive from your unit at all.
Please read the details provided below, along with the related support information and discussion prior to purchasing or attempting to use The Slicer. The Slicer is a tool which requires a degree of skill and understanding of the concepts discussed in the following article. It WILL make your life easier and shield you from many of the gory details associated with the aforementioned updates, but you should do your homework to ensure The Slicer is the right tool for you.
The Problem
TiVo DVR's occasionally and automatically download software updates to ensure your unit supports the most recent features and services offered by TiVo. This can be particularly annoying to those of us with modified TiVo systems; these software upgrades, and the method by which they are installed, indirectly disable any modifications we’ve made. They essentially reset the TiVo to its factory default condition, and any enhancements we've applied are either overwritten or left behind as the new software is downloaded, installed and activated.
Although it’s possible to prevent the upgrades from occurring (eg. setting the bootpage parameter upgradesoftware=false), it will result in your TiVo assuming the pending restart condition; this induces nightly reboots, and for standalone TiVo users, this condition will ultimately result in a loss of guide data. In short, that stinks.
Software updates are fairly infrequent for DirecTiVo owners, but for standalone units, the updates occur regularly.
The Solution
Until now, the only practical remedies to surviving or dealing with a software update were to:
- pull the drive and re-hack the TiVo after a software update is received and installed, or
- perform a tedious “slice upgrade” that involves modifying TiVo’s built-in software installation script and copying a modified kernel and existing hacks over to the new partition.
The Slicer provides a new option. The Slicer allieviates the need to remove the hacked drive from your unit altogether. It is designed to automate the slice upgrade process completely, and allows you to perform slice upgrades as many times as you like. The Slicer will work on any modified Series2 Standalone TiVo or Series2 DirecTV TiVo DVR (modification may be achieved through software tools, prom modding or other techniques), but keep in mind, it is designed so that the appropriate version of the software can be installed on your unit - ie you can't install standalone software on a DirecTV system, or vice versa.
Owners of modified standalone units will find The Slicer particularly useful for protecting bash access during the frequent software upgrades. Owners of modified HR10-250 high-definition DirecTiVo systems will also find the script useful when making the transition to the long anticipated 6.3 software. If and when it is ever released!
The Details
For all you detail-minded folks, here is exactly what The Slicer does:
- Performs a series of checks to confirm that the new software you want to install is valid and correctly loaded in MFS (the database running on your TiVo), and that you have the necessary software components required to complete the upgrade process.
- Identifies your existing kernel and root filesystem partitions.
- Edits your installSw.itcl script on the fly so that your TiVo doesn’t reboot before the script has a chance to copy your hacks to the new root filesystem.
- Uses dd to copy your existing modified kernel to the new active kernel partition.It also contains a provision to install a user-supplied kernel; this will be useful if TiVo changes the kernel on a future software update.
- Mounts your new root filesystem, and disables TiVo’s built-in firewall.
- Copies all your existing hacks to the new root filesystem partition.
At its most basic level, The Slicer is designed to merely copy your existing hacks to the new root filesystem of the updated software. Most of your existing hacks will continue to work fine with the new software, but some may not. For those hacks that no longer work, you’ll need to either reinstall them, or possibly even wait for a compatible version to be developed. A good example of this is superpatch. With each new version of standalone TiVo software, it usually takes a week or two for the hacking community to post a new version of superpatch that is compatible. Another example is TiVoWebPlus -- with each software update, some functionality of TiVoWebPlus can be affected. Usually, minor changes, if any, are required to accommodate some of the nuances in updated versions of the TiVo software. Most importantly, though - bash/telnet/ftp access is likely to still work and you'll be able to remotely access your unit for any follow-up tweaking.
INSTRUCTIONS
- Confirm that new software has indeed been downloaded to your tivo. Use the “mfs” module in TiVoWebPlus to view the existing and new software versions by clicking on the SwSystem object link. There should be two lines that show the “ACTIVE” software currently running on your tivo. There should also be a third line(with a different ID), that indicates the new software. As an alternative, you can type the following from a bash prompt in a telnet session--> echo mls /SwSystem | tivosh
- Download and move The Slicer to your TiVo using FTP. /var/tmp is probably the easiest place to put it, but you can put it anywhere.
- Establish a telnet session to your TiVo, navigate to the scripts location, and run it with the command ./slicer version-num, where version-num is the full name of the software you want to install. A sample command might look like this --> ./slicer 6.2-01-2-101
- The script can take several minutes to run, during which time you’ll see a variety of messages. One of the last things to be shown will be the existing hack directories that were automatically copied to the new partition. Review this list to make sure all your hack locations were found.
- Follow the prompt to reboot your TiVo or exit the script. If you choose to exit the script, try mounting your inactive root partition and you can verify that your hack directories have been moved over and integrated into the new version of the software.
- After your TiVo reboots, re-run any tivoapp modifications, such as superpatch or bufferhack.
- IMPORTANT - we strongly recommend the use of a serial cable when using The Slicer. Due to the differences in OS versions, USB drivers, DHCP and STATIC IP settings, you still may lose USB Ethernet connectivity when using The Slicer, so a serial connection (bash access) is very important to have. Remember, The Slicer is an advanced tool, so before using it, please consult the support threads here and at tivocommunity.com to ensure you are using it properly and in a way that will work for your particular migration.
RELEASE NOTES (changes made since initial release)
- Supressed wget errors: If you do not have wget installed on your TiVo, you will need to ensure the following tools DO reside on it: find, sed, tar, and cut. Otherwise, wget will be used in an attempt to retrieve and install them.
- Modified how installSw.itcl gets edited to make it more foolproof. Also making a backup of the original just in case.
- If you are supplying a kernel in /var/kernel instead of using the existing running kernel, you may now use any compatible kernel named vmlinux.px, OR a gzipped kernel directly from the lba48 boot CD. If you choose the latter, you need to have gunzip on your TiVo
- The Slicer does not copy back-ported drivers to your new partition. Therefore, if you have an adapter that is NOT compatible with TiVo's stock drivers, such as the Linksys USB200M v2, or Airlink ASOHOSB, you'll need to manually copy the drivers from your older root partition to your new partition.
- When using The Slicer to migrate from 3.1.5f --> 6.3 on the HR10-250, your TiVo will need to be rebooted after you've run the application and entered all of the appropriate information. During the reboot process, you will have to be patient as your TiVo updates its internal database and continues to load updates to your system. Finally, your TiVo will reboot one last time and it is only after coming up that it will be ready for network access and further hacking. Please be patient as this process can take 5-10 minutes - it is completely normal!
- Added provisions to support "backported" (USB 2.0 Ethernet) drivers.
- Many internal changes including downloading of "autoupdate" files which may be used in the future.
- -d option (not fully tested) for downloading and dbloading of slices not present in the MFS database. Please use with extreme caution.
INITIAL RELEASE NOTES
- A dummy iptables file will be created on the new partition by default.
- TiVos built-in firewall (called netfilter) is not disabled by default; the dummy iptables file accomplishes the same thing.
SUMMARY
In conclusion, you may find The Slicer to be a useful tool which can save you some time and hassle when dealing with updates to the TiVo software. As you well know, its not particularly difficult to 'rehack' a drive when a software update is released by TiVo or DirecTV, but removing the drive is a pain in the neck, and forgetting to move a critical file when attempting to do things manually can leave your TiVo DVR in an unknown state. The Slicer is designed to minimize that pain and risk.
PURCHASING
How do I get The Slicer? The product is currently available from the PTVupgrade software download site at a nominal cost. For more information and pricing, please proceed here.
Texter -
Sorry, can't make any specific kernel recommendations to you. The Slicer is designed to apply a new kernel if you supply one, here's how:
Create a directory on your TiVo called /var/kernel, and FTP a gzipped kernel to it. Make sure you name it VMLINUX_.GZ. The Slicer will recognize that you put the kernel there, and will gunzip/install it instead of copying your running kernel over to the new partition.
For answers to commonly asked questions, please refer to the
InstantCake Instructions and Release Notes,
Official InstantCake Discussion Thread, and the
Official PTVnet Discussion Thread
I hope I can help out with some info on kernels for standalones... Now is a good time to upgrade your kernel from 3.1.5 to 7.2.2. Both kernels are based on the Linux 2.4.20 kernel, and both will work with 7.3 software, However, if you continue to use the 3.1.5 kernel, you will lose DHCP functionality. Tivo refines the kernel a little bit with each software release, so even if you don't use DHCP, keeping your killhdinitrd'd kernel as up to date as poossbile seems like a good idea to me.
I have an HR10-250 which received the 6.3-01-2-357 software last night. I executed the slicer. It was running along just fine then got the following error:
create: /install/dev/sg6
create: /install/dev/sg7
create: /install/dev/ppp
create: /install/dev/ttyUSB0
create: /install/dev/ttyUSB1
create: /install/dev/ttyUSB2
create: /install/dev/ttyUSB3
create: /install/dev/ttyUSB4
create: /install/dev/gen-ioctl
symlink /install/dev/log
ERROR: Didn't find any device list files in /install/platform/utils/DeviceList/
while executing
"exec tivosh /var/utils//buildskeleton /install"
("eval" body line 1)
invoked from within
"eval exec tivosh $prefix/buildskeleton $installdir"
(file "/var/utils/updateroot" line 147)
while executing
"exec /var/utils/updateroot /dev/hda /install /var/packages"
(object "::inst" method "::Installer::installSoftware" body line 46)
invoked from within
"inst installSoftware $name $Inc::TC_INSTALL_DIR "
(file "/tvbin/installSw.itcl" line 182)
bash-2.02#
bash-2.02#
I first executed slicer and received this error. I tried executing /tvbin/installSw.itcl explicitly and again received this error. Any way to get around the error ???
Darryl
Looks like a few othes on TCF got the same error. PTVupgrade promised a patch that will fix it.
Keep your eyes on this thread for more information. We'll update you shortly. Thx for your patience.
For answers to commonly asked questions, please refer to the
InstantCake Instructions and Release Notes,
Official InstantCake Discussion Thread, and the
Official PTVnet Discussion Thread
I received the following error when running slicer:
Copying your hacked kernel to the new boot partition...
dd: /dev/hda3: No space left on device
4097+0 records in
4096+0 records out
Kernel copy failed! Before you reboot, manually copy your
hacked kernel to the new boot partition.
What command do I use to copy the hacked kernel to the new partition?
Hi, Tried running Slicer today and having a problem- it seems to install, but had a problem on copying the hacked kernel to the new boot partition. Here is the log:
installSw.itcl ran successfully, and set up your new partitions. Please note the following:
Your new root filesystem partition is 4
Your new kernel partition is 3 Hit to continue, or to exit:
Copying your hacked kernel to the new boot partition...
dd: /dev/hda3: No space left on device
4097+0 records in
4096+0 records out Kernel copy failed!
Before you reboot, manually copy your hacked kernel to the new boot partition.
I am not sure how to manually copy or how to clean out the partition. Any help please??? Thanks in advance, PilotBob
You can safely ignore the "no space left on device" error. You can also manually copy a killhdinitrd kernel if you're paranoid. Let the slicer finish, copying hacks over to the new partition. Don't reboot yet though. Folks on DDB discoved that setting up networking with ifconfig doesnt work with 6.3. See this post on TCF for what to do next. You won't need to pull the drive since you haven't rebooted yet. You'll want to edit the author file that's in /install/etc/rc.d. If that directory is empty, you'll need to mount it with "mount /dev/hdaX /install", where "X" is either 4 or 7 depending on what your new root filesystem. If you don't know if its 4 or 7, type "bootpage -p /dev/hda" to display it.
Thansk for the reassurance rbautch on ignoring the no space error.
On your advice on networking, I found the author file, but I am not sure what edits that I need to put in it. I did look at the thread you suggested, but was unclear about how what fixes I need to put in the file before I reboot.
Thanks again- Bob
How did you hack your tivo? PTVnet? Zipper?pilotbob3 said: Thansk for the reassurance rbautch on ignoring the no space error. On your advice on networking, I found the author file, but I am not sure what edits that I need to put in it. I did look at the thread you suggested, but was unclear about how what fixes I need to put in the file before I reboot. Thanks again- Bob
Initially I manually updated it (I think- was a long time ago to 3.5E ). I also loaded the faster USB drivers.
need some support for this Slicer software.
Here's the error i'm getting if someone could help me out i would appreciate it.
bash-2.02# ./slicer 6.3-01-2-357
The Slicer - Version 1.1
We are about to install 6.3-01-2-357 software on your TiVo
Hit <enter> to continue, or <cntrl-c> to exit:
Great! Here we go...
Your root filesystem partition is hda7
Your kernel partition is hda6
Your alternate root filesystem partition is hda4
Your alternate kernel partition is hda3
6.3-01-2-357 software slices are correctly loaded and ready to install.
Hit <enter> to continue, or <cntrl-c> to exit:
Checking your system for required utilities...
find is not present
find not found, exiting...
what is the trouble?
thanks
robert
Please see the aforementioned link to TCF for detailed support discussions associated with using The Slicer to migrate to 6.3; also note that you need to have your DNS set up properly so The Slicer can download the supplementary tools if they are not present on your system.
For answers to commonly asked questions, please refer to the
InstantCake Instructions and Release Notes,
Official InstantCake Discussion Thread, and the
Official PTVnet Discussion Thread
For those who are simply patient enough, Lou had mentioned a revised Slicer would eventually be released that will address all these problems. Is that correct, Lou?
Peace is a lie, there is only passion. Through passion I gain strength. Through strength I gain power. Through power I gain victory. Through victory my chains are broken. The Force shall set me free.
I have search all over this forum and deal data base and cannot find the following commands that the slicer needs to do its work:
find, sed, awk, tar, and cut
im trying to use this with hr10-250
when try to use this is the error i get:
bash-2.02# ./slicer 6.3-01-2-357
The Slicer - Version 1.1
We are about to install 6.3-01-2-357 software on your TiVo
Hit <enter> to continue, or <cntrl-c> to exit:
Great! Here we go...
Your root filesystem partition is hda7
Your kernel partition is hda6
Your alternate root filesystem partition is hda4
Your alternate kernel partition is hda3
6.3-01-2-357 software slices are correctly loaded and ready to install.
Hit <enter> to continue, or <cntrl-c> to exit:
Checking your system for required utilities...
find is present
wget is present
tar is present
sed not found.
cut is present
All required utilities were not found. Downloading to /ptvupgrade/busybox now...
./slicer: wget: command not found
Adjusting your DNS settings in resolv.conf...
./slicer: wget: command not found
Download failed. Make sure your DNS address appears in /etc/resolv.conf
Exiting...
i tried to edit resolv.conf to show the ip address of the tivo im running slicer on (not sure if that is what they are referring to here or are they referring to the dns address where the files can be found on the internet?)
please help out. Also is the version of the slicer i just purchased today the new version that has the bugs out or is there still one coming...i may wish to wait if you guys will provide the update to those who already paid for the slicer.
Thanks
echobunny
echobunny,
First, I suggest you wait until the
next patch to the slicer is released (which Lou says is soon), and
unless you're feeling adventurous, don't try it until someone reports
full success with it.
You don't have sed on your tivo, so the script tried to download it, but you don't have wget either. You can download sed from me here , and then you shouldn't need wget. www.mastersav.com/tivo_tweak/sed
If you want a full package of tivo binaries, look for Alphawolf's "all-in-one" utility set on DealDatabase.
pilotbob3 said: Initially I manually updated it (I think- was a long time ago to 3.5E ). I also loaded the faster USB drivers.You need to remove any newtork setup or driver loading commands. See the link I posted above for other options.
Well, I'm a little too late here.
My Tivo seems to have rebooted over night and I now have the 6.3 software running. 6.3 works from a TIVO perspective just fine.
Of course the network does not work (although the link light on the USB network adaptor lights up), so I think I have some of the hacks installed.
Unfortunately, my serial access does not work, so I would guess I have to mount the drives and edit them directly.
Wondering if you can lend any advice as to what to do next.
Thanks,
The Slicer is now updated to verison 1.2; this should address most issues (if not all) associated with preserving bash/telnet/ftp access on Series2 HD units running 3.1.5f migrating to 6.3. Updated links have been sent to all original purchasers of The Slicer.
For answers to commonly asked questions, please refer to the
InstantCake Instructions and Release Notes,
Official InstantCake Discussion Thread, and the
Official PTVnet Discussion Thread
Lou
Is the S2-Slicer in the PTVupgrade download cart
Updated to v 1.2 ??
Pretty sure I just said that... :-)
For answers to commonly asked questions, please refer to the
InstantCake Instructions and Release Notes,
Official InstantCake Discussion Thread, and the
Official PTVnet Discussion Thread
I did receive the update a little while ago, but now that I have lost serial and ethernet access, I am stuck.
The update did seem to work, I do have 6.3 running well, just have no access to it to change anything.
I have seen comments mentioning I have to update the kernel, but I am lacking details on how to do it. I can remove my drives and remount with a PTVupgrade disk, but just need advice on what and how to run it.
Thanks,
Bob
RSS
Discussion and Support for The Slicer
We've designed The Slicer to be relatively easy to use and trouble-free. However, if you have questions, comments or need support, please ask your question here. Naturally, ensure you read the article, instructions and any other supporting documentation before posting.
For answers to commonly asked questions, please refer to the
InstantCake Instructions and Release Notes,
Official InstantCake Discussion Thread, and the
Official PTVnet Discussion Thread