I downloaded the Linux CD boot iso from
SourceForge here under RTVPatch > linux-cd-image > linux-cd-image-2.5.5d.iso. Used a spare PC and disconnected all the hard drives (just to be safe.) I used the primary IDE and connected a working RTV drive (that I just downloaded the factory image to a new drive) to master and the old drive 1 as a slave. (Flip-flop suggested to use the secondary IDE in his post.)
Booted up using the Linux boot CD, and submitted the following:
Code:
dd if=/dev/hdc of=/dev/hdd bs=512 count=2
I get the following message:
Code:
dd: opening '/dev/hdd': No such device or address
Since I am using the primary IDE, I checked the models using cat /proc/ide/hda/model and verified the working RTV drive is hda and corrupt drive is hdb. Below is the output from the command that I submitted:
Code:
dd if=/dev/hda of=/dev/hdb bs=512 count=2
2+0 records in
2+0 records out
I disconnect the drives, and installed the old drive 1 and 2 on the Vista PC. When I run RTVPatch, I do not see the two 200GB RTV drives listed. From the log below it appears that it is unable to read the partition table:
Code:
0) WDC WD2500JB-00GVC0 - (250 GB) - May be PC Disk
1) WDC WD1600JD-75HBC0 - (160 GB) - May be PC Disk
RTVPatch version 2.4, built on Jan 19 2003, 12:54:57
\\\\.\\PhysicalDrive0 (WDC WD2500JB-00GVC0) : Used WinXP drive size detection
\\\\.\\PhysicalDrive0 (WDC WD2500JB-00GVC0) : Detected size = 488397168 sectors
\\\\.\\PhysicalDrive1 (WDC WD1600JD-75HBC0) : Used WinXP drive size detection
\\\\.\\PhysicalDrive1 (WDC WD1600JD-75HBC0) : Detected size = 312500000 sectors
\\\\.\\PhysicalDrive2 (WDC WD2000JB-00DUA0) : Used WinXP drive size detection
\\\\.\\PhysicalDrive2 (WDC WD2000JB-00DUA0) : Detected size = 390721968 sectors
\\\\.\\PhysicalDrive3 (WDC WD2000JB-32FUA0) : Used WinXP drive size detection
\\\\.\\PhysicalDrive3 (WDC WD2000JB-32FUA0) : Detected size = 390721968 sectors
\\\\.\\PhysicalDrive2 (WDC WD2000JB-00DUA0) : Unable to read partition table
\\\\.\\PhysicalDrive3 (WDC WD2000JB-32FUA0) : Unable to read partition table
Tried to run the "extract_rtv5 -p1 -v" and the process kept on running until it froze. Restarted the machine and opened RTVPatch and I am able to see the Drive 1 as a RTV drive. It says "RTV 4000 Disk, NEEDS to BE PATCHED" and the drive 2 shows a "?" and "Not a ReplayTV Disk". Selected "Dual-drive System", drive 1 as Source and drive 2 as Target. Hit "make 2-drive system", chose "no" for reset mpeg partition, and "no" to reformat photo partition. It went through fine with the final message "Patch Complete". See log below:
Code:
Source: 2) WDC WD2000JB-00DUA0 - ( 200GB ) - ReplayTV Disk, NEEDS TO BE PATCHED
Target: 3) WDC WD2000JB-32FUA0 - ( 200GB ) - NOT a ReplayTV Disk
RTVPatch version 2.4, built on Jan 19 2003, 12:54:57
\\\\.\\PhysicalDrive0 (WDC WD2500JB-00GVC0) : Used WinXP drive size detection
\\\\.\\PhysicalDrive0 (WDC WD2500JB-00GVC0) : Detected size = 488397168 sectors
\\\\.\\PhysicalDrive1 (WDC WD1600JD-75HBC0) : Used WinXP drive size detection
\\\\.\\PhysicalDrive1 (WDC WD1600JD-75HBC0) : Detected size = 312500000 sectors
\\\\.\\PhysicalDrive2 (WDC WD2000JB-00DUA0) : Used WinXP drive size detection
\\\\.\\PhysicalDrive2 (WDC WD2000JB-00DUA0) : Detected size = 390721968 sectors
\\\\.\\PhysicalDrive3 (WDC WD2000JB-32FUA0) : Used WinXP drive size detection
\\\\.\\PhysicalDrive3 (WDC WD2000JB-32FUA0) : Detected size = 390721968 sectors
*********************************************
***** ADDING SECOND DRIVE *****
*********************************************
***** Clearing partition table on drive \\\\.\\PhysicalDrive3...
***** Writing volume sequence block on drive \\\\.\\PhysicalDrive2...
***** Writing volume sequence block on drive \\\\.\\PhysicalDrive3...
*********************************************
***** PATCHING DISK *****
*********************************************
Disk 1 of 2 is \\\\.\\PhysicalDrive2 (390721968 sectors)
Disk 2 of 2 is \\\\.\\PhysicalDrive3 (390721968 sectors)
***** Patching partition block...
Enabling RTV4000 byteswapping functions
Original partition table values:
Partition 1, type 0x4d, start: 2, length: 1024000
Partition 2, type 0x4d, start: 1024002, length: 194784974
Partition 3, type 0x4d, start: 195808976, length: 4096
Partition 4, type 0x00, start: 0, length: 0
Changing partition 3 start sector to 781439838 (0x2e93d35e)
Photo partition size will be 4096 blocks (2MB)
Partition 2 will be 780415836 (0x2e84335c) blocks.
Partition 2 cluster size was 2097152 bytes.
***** Reading signature and FAT blocks...
***** Patching signature and FAT blocks...
Number of clusters is 0x2e843.
CRC is 0x6cc8
XOR byte is 0x3c
*********************************************
***** PATCH COMPLETE *****
*********************************************
Patch complete
Did a extract_rtv5 and below is the output:
Code:
> extract_rtv5 -p2 -v
This looks like a ReplayTV 4000 or 5000 series drive!
Enabling the byte-reversing code
ReplayTV drive detected: \\\\.\\PhysicalDrive2
This looks like a ReplayTV 4000 or 5000 series drive!
Enabling the byte-reversing code
Secondary ReplayTV drive detected: \\\\.\\PhysicalDrive3
Scan: ./1252130397.evt
Filesystem integrity check complete.
> extract_rtv5 -p1 -v
This looks like a ReplayTV 4000 or 5000 series drive!
Enabling the byte-reversing code
ReplayTV drive detected: \\\\.\\PhysicalDrive2
This looks like a ReplayTV 4000 or 5000 series drive!
Enabling the byte-reversing code
Secondary ReplayTV drive detected: \\\\.\\PhysicalDrive3
Invalid cluster in (Superblock): 0
Warning: Tried to read cluster 1, but the limit is 0
Superblock has an invalid endptr: 0x00000000
Invalid superblock sector.
When I do "extract_rtv5 -p1 -lv", it hogs all the memory and the machine freezes up and I have to restart the PC. Tried "extract_rtv5 -p2 -e", it extracted the first file sucessfully and got hung up at the second file at 36%. Had to restart the machine. In fact, the last time before the "dd", I was able to extract the same file.
So how do I run the extraction process in a batch mode by specifying the file names? First do "extract_rtv5 -p2 -l" and then record the file names in a new text file. Next what should I do?