logo


Home

Download

Quick Start

Full Guide

FAQ

Forums


MFSLive - Upgrade Guide Page 6


To divorce "B" drive:

Method 1: (Using mfstools for Series 1 and 2)

backup -qf 9999 -so - /dev/hdc | restore -s 128 -zpi - /dev/hdd

Put your "A" drive w/o "B" drive and do truncated copy to a new "A" drive. All recordings will be lost. This method will take awhile if you have lots of recordings.

Method 2: ( For Series 1 and 2. You will need WinMFS)

Connect Tivo "A" drive w/o "B" drive to your computer. Run WinMFS->File->Select Drive. Select only "A" drive. You will get an error message since your "B" drive is missing but you can ignore the error message.
Then, try tools menu->Mfssplit.
All recordings on "B" drive will be lost. Some recordings on "A" drive will be lost if partial recordings were on "B" drive.

If GSOD (green screen of death) occurs, let it finish.

Method 3: (For Series 3 and TivoHD)
For Series 3 and TivoHD, all you have to do is turn off your eSATA drive and reboot and follow the onscreen instructions.

**Important
Current Series 3 Tivo software (asf of 8.3.1) has a bug so you won't be able to use mfstools if you use the built-in divorce process to divorce your eSATA drive. Run the following command after divorce to fix that problem.

fixdivorce /dev/sda

(where /dev/sda is your internal drive)


-------------------------------------------------------------------------------

AAM settings

------------------------------------------------------------------

To view AAM Setting: (128 quietest - 254 performance)

hdparm -M /dev/hdd

Permanent setting: (128 quietest - 254 performance)

hdparm -M 128 /dev/hdd

For SATA or USB drive, use the following command:

hdparm -M 128 /dev/sda

dd_rescue

------------------------------------------------------------------

Use dd_rescue if your hard drive has bad sectors and mfstools is not able to copy the TiVo drive. dd_rescue basically make exact duplicate of your Tivo drive bit by bit while skipping for bad sectors or area in the drive where it is damaged.
To make a exact duplicate connect damaged Tivo drive as primary master (/dev/hda), new same size or bigger drive as secondary master (/dev/hdc) and type the following command. If you are not sure how to setup your computer, refer to the guide here. Make sure you don't reverse source and destination drives. If you do all is lost.

Single drive:

dd_rescue -A -v /dev/hda /dev/hdc

After dd_rescue, test your drive in TiVo.

Dual drive:

dd_rescue A drive and check in TiVo

dd_rescue -A -v /dev/hda /dev/hdc

Test your "A" and "B" drive in TiVo and if it works, you are done.
If it didn't work, dd_rescue your "B" drive. Connect your "B" drive as primary master (/dev/hda), new same size or bigger drive as secondary master (/dev/hdc)

dd_rescue -A -v /dev/hda /dev/hdc

Test your "A" and "B" drive in TiVo and if it works, you are done.

Full Usage:

dd_rescue copies data from one file (or block device) to another.
USAGE: dd_rescue [options] infile outfile
Options: -s ipos start position in input file (default=0),
-S opos start position in output file (def=ipos),
-b softbs block size for copy operation (def=65536),
-B hardbs fallback block size in case of errs (def=512),
-e maxerr exit after maxerr errors (def=0=infinite),
-m maxxfer maximum amount of data to be transfered (def=0=inf),
-y syncfrq frequency of fsync calls on outfile (def=512*softbs),
-l logfile name of a file to log errors and summary to (def=""),
-o bbfile name of a file to log bad blocks numbers (def=""),
-r reverse direction copy (def=forward),
-t truncate output file (def=no),
-d/D use O_DIRECT for input/output (def=no),
-w abort on Write errors (def=no),
-a spArse file writing (def=no),
-A Always write blocks, zeroed if err (def=no),
-i interactive: ask before overwriting data (def=no),
-f force: skip some sanity checks (def=no),
-p preserve: preserve ownership / perms (def=no),
-q quiet operation,
-v verbose operation,
-V display version and exit,
-h display this help and exit.
Note: Sizes may be given in units b(=512), k(=1024), M(=1024^2) or G(1024^3) bytes
This program is useful to rescue data in case of I/O errors, because it does not necessarily abort or truncate the output.


If you have used bigger drive(s):
if you used a bigger drive than the original, your drive has unused extra capacity so you might be able to expand the drive to utilize the full capacity.

Single drive with original factory capacity:

mfsadd -r 4 -x /dev/hdc (Series 1 & 2)

mfsadd -r 4 -ex /dev/sda (Series 3)

Single drive with upgraded capacity: (Series 1,2 & 3)
You will need another hard drive that is bigger than the rescued drive.

backup -qTao - /dev/hda | restore -s 128 -fzi - /dev/hdc (Series 1 & 2)

backup -qTao - /dev/sda | restore -s 128 -efzi - /dev/sdb (Series 3)

Dual drive setup: (Series 1 and 2)
Don't do this for Series 3

mfsadd -r 4 -x /dev/hdc /dev/hdd


Other Tools

DMA settings (MFSLive CD boot option 1)
------------------------------------------------------------------------------
Check to DMA status on secondary master drive:

hdparm -d /dev/hdc

To turn DMA on secondary master drive:

hdparm -d1 /dev/hdc

To turn DMA off on secondary master drive:

hdparm -d0 /dev/hdd

 

sd-h400_unlock:
(Courtesy of Jamie on Dealdatabase.com or JamieP on Tivocommunity)
------------------------------------------------------------------------------
This tool is used to unlock capacity lock on some TiVo with dvd players.

To test:

sd-h400_unlock /dev/hdd

To make it permanent:

sd-h400_unlock -w /dev/hdd

diskutil (ported to Linux for MFSLive)
------------------------------------------------------------------------------
Use this tool if your Series 1 TiVo drive locks itself.
If a drive a locked, drive size will show up as really small drive. (less than 10GB)

To unlock:

diskutil -u 2
where 0 = /dev/hda, 1 = /dev/hdb, 2 = /dev/hdc, 3 = /dev/hdd

To lock: (You don't need to lock it b/c your TiVo will do it for you)

diskutil -l 2

To get disk information:

diskutil -i

Poweroff / reboot
-------------------------------------------------------------------------------
Once you are done, you can simply do:

poweroff

Poweroff command should power down most computers.

or

reboot

This command will power cycle your computer.

 

List Disk Partitions
-------------------------------------------------------------------------------
To look at partition table on a disk:

pdisk -l /dev/hdc

where /dev/hdc is on secondary master.

 

Check MFS (TiVo file system)
-------------------------------------------------------------------------------
Single drive setup and TiVo drive on secondary master:

mfsinfo /dev/hdc

Dual drive setup and TiVo drives on secondary master/slave:

mfsinfo /dev/hdc /dev/hdd

 

Previous: Guide p5 - Adding a 2nd Drive

---------------------------------------------------------------------------------

©2008 mfslive.org