1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to revive a fried drive with dd_rescue

Discussion in 'TiVo Underground' started by PortlandPaw, Aug 16, 2004.

  1. Oct 9, 2010 #81 of 109
    Heinrich

    Heinrich New Member

    96
    0
    Feb 28, 2002
    Well it appears to be processing. Unfortunately it's going to take it 2 weeks to get through this drive.

    I've had 5 bad hard drives this year. 4 Western Digital, One Hitachi. 1 was DOA from Amazon. All 4 were in different devices from Tivo to WHS to laptop to desktop.

    This particular Tivo drive was not backed up. Either I let it spin for 2 weeks and then probably not recover anything anyway due to 'bad spots' that it didn't recover or I pull the plug now. It's only reporting a tiny number of actual errors so maybe I should let it spin.

    Very frustrated
     
  2. Oct 10, 2010 #82 of 109
    ronsch

    ronsch Active Member

    2,002
    0
    Sep 7, 2001
    Tallahassee,...
    Do you have frequent power blips?
     
  3. Oct 21, 2010 #83 of 109
    BlankMan

    BlankMan I'm the Kettle

    2,142
    0
    Mar 30, 2002
    WI
    WoW! This thread still lives. I am truly amazed.
     
  4. Oct 22, 2010 #84 of 109
    ronsch

    ronsch Active Member

    2,002
    0
    Sep 7, 2001
    Tallahassee,...
    Hey - dd_rescue is good stuff!
     
  5. Oct 24, 2010 #85 of 109
    cewinchester

    cewinchester New Member

    2
    0
    Oct 24, 2010
    My hard drive failed and I have no backup. I put the drive into my computer and booted it and it does not recognize the drive. I loaded the MFSlive.org stuff but have not been able to find out how to repair the drive. When I select the drive it says super header not found. Now what do I do ?:mad::(:thumbsdown::confused:
     
  6. Oct 25, 2010 #86 of 109
    ronsch

    ronsch Active Member

    2,002
    0
    Sep 7, 2001
    Tallahassee,...
    Read this thread from the beginning.
     
  7. Nov 9, 2010 #87 of 109
    teddyk

    teddyk New Member

    22
    0
    Oct 13, 2002
    Ran dd_rescue in mfslive and almost immediately got a massive scroll of multiple messages saying "bad sector" "input/output error!" . the scroll just keeps going and going at a very high rate. Should I leave it be? Or is it fried? Other options?
     
  8. Nov 10, 2010 #88 of 109
    ronsch

    ronsch Active Member

    2,002
    0
    Sep 7, 2001
    Tallahassee,...
    You could let it go but that doesn't sound too promising. The other option you could try is Spinrite or it's equivalent.
     
  9. Nov 10, 2010 #89 of 109
    unitron

    unitron Active Member

    16,387
    2
    Apr 28, 2006
    semi-coastal NC
    Triple check all of your cables and connections, then put the source drive in the freezer overnight, then run dd_rescue with the -r switch to make it copy from the end of the drive instead of the beginning (it'll write to the end of the target drive and work it's way to the beginning, so the source and target need to be the same size).
     
  10. Dec 29, 2010 #90 of 109
    ss_sea_ya

    ss_sea_ya New Member

    82
    0
    Sep 2, 2010
    Alexandria, VA
    Dang, when I started reading this thread, I thought well, its old info, but so is my Hughs HDVR2 (DirecTivo) but I bet I can find some good info anyways. Well I did, but was also semi-surprised its still active, which is good to know the the info is still relevant and that there may be some new updated info/tools.

    I have a WD320Gig drive (@v6.4a) that suddenly stopped working in my HDRV2. My original drive (Maxtor? 40G @6.2) works fine. The failed drive goes through the please wait and almost there screens then nothing, like it is in standby. (tried remote and front panel to bring it out of "standby" but didn't work). So I guess my drive has crashed and I want to attempt to recover it for the recordings. So here is my plan:

    1. Run (from CD/Floppy) WD Diag's "quick test" to see health of failed drive.
    2. Run DDRESCUE to copy failed drive to a new WD 320G drive.
    3. If that fails, then run Spinrite on the failed drive and then copy to new drive.
    4. If Spinrite fails, then throw in towel on saving the drive/recordings.


    Question: Suggestions for getting dd_rescue? Seems like mslive.org is a good source. Or just use the sources listed in earlier posts?
     
  11. Dec 29, 2010 #91 of 109
    unitron

    unitron Active Member

    16,387
    2
    Apr 28, 2006
    semi-coastal NC
    dd-rescue is on the very useful MFS Live cd, as is hdparm.

    If the "bad" 320GB drive and the new 320GB drive are the same size LBA-wise, then you can run dd_rescue with the -r option, which starts the copy at the ends of the drive and works toward the front.

    Don't throw in the towel, wrap a couple of thicknesses of paper towel around the bad drive and put it in the freezer overnight.

    Then do dd_rescue -r from it to the new one.

    Put the new one in the TiVo and put it into "Kickstart" when you boot it.

    If there are errors, but the underlying physical disc is not bad, you might be able to correct them with the Kickstart/Green Screen of Death routine.

    After doing this, if you come out with a working drive with your recorded shows intact, *then* you can run diagnostics on the bad drive, but you want to make as good a copy as possible first before it goes even worse.

    All of the above presupposes that you have a good new 320 GB drive on hand already.

    If not, instead of going out and buying one for the same price as you could get a 1TB SATA drive and SATA-to-IDE adapter, go with the Kickstart/GSOD thing first, just in case it's not a physical defect in the current drive but just scrambled bytes.

    By the way, a bunch of the earlier posts on this thread reveal a lack of understanding of what it does (which includes copying over an incorrect partition map if the drives aren't the same size).
     
  12. Dec 30, 2010 #92 of 109
    ss_sea_ya

    ss_sea_ya New Member

    82
    0
    Sep 2, 2010
    Alexandria, VA
    Thanks for the great suggestions.

    I do not currently have a replacement drive, but I do have some options regardless of what replacement drive I get. Having limited (but more than none) experience with this stuff, I was initially toying with keeping things simple with a replacement WD 320G drive- same size, same type. But it doesn't look too difficult to try the DD_RESCUE and, if it works, use mfsadd to correct the drive size if I go with the 1Tb drive.

    Another option is my not so new PC has the exact same drive WD 320G in it. I bought both drives at the same time,as a side note, it passes SMART tests. I could use that and put my new drive in the PC.

    I had seen the Kickstart thing, but was not sure it would work on my HDVR2, which has the "factory" 6.2 software on it. I'll give that a shot anyways. So here is my updated plan:

    0.1: Put failed drive in TIVO with power cable only. If clicking then, drive prob bad (think I got this one off the WDC FAQ web site).
    0.2: Regardless of above, run Kickstart/GSOD on the failed drive. If no luck then,
    1. Run (from CD/Floppy) WD Diag's "quick test" to see health of failed drive.
    2. Run dd_rescue -r to copy FROZEN ;) failed drive to a new WD 320G or 1 Tb drive (and mfsadd if successful). May also need to run kickstart/GSOD on replacement drive after copy.
    3. If that fails, then run Spinrite on the failed drive and then copy to new drive. (May also need to run kickstart/GSOD on replacement drive after copy.)
    4. If Spinrite fails, then throw in towel on saving the recordings and put replacement drive in PC or go to town in playground and put it in the HDVR2. Run WDC extensive diagnostics tests on failed drive to see if it is usable.

    Thanks for the tip on the Freezing drive.
     
  13. Dec 30, 2010 #93 of 109
    unitron

    unitron Active Member

    16,387
    2
    Apr 28, 2006
    semi-coastal NC
    If your TiVo drive itself is failing you don't want to run it any more than necessary.

    Do you already own SpinRite?

    Do you know anyone who could lend you a drive at least as large as the one in your computer, so that you could copy everything from the computer drive to the loaner and free up the TiVo drive's twin for experimentation?

    You might want to post a question to the Help Center Forum

    http://www.tivocommunity.com/tivo-vb/forumdisplay.php?f=4

    to get specific answers about running KS/BSOD on your particular model from those who know more than do I.

    Include a link back to your original post in this forum so they can see your situation (without having to start on page 1 and go through all of the posts over the years) and what you've been advised so far.
     
  14. Jan 1, 2011 #94 of 109
    hoyty

    hoyty Member

    118
    0
    Jan 22, 2003
    Sammamish, WA
    Using WinMFS I didn't have much luck doing disk to disk copy. I tried SpinRite which basically said "um yeah this drive is dead" and then crashed trying to analyze it. I never had that happen. According to the patch notes the latest MFSLive integrates dd_rescue (or something similar) it seems into the backup script as it was able to copy the drive with about .5-1.0% data loss in recording area. It took almost 18 hours because of the bad parts of drive, but it finished and verified. I also tested a minimal transfer to verify the OS partitions were good and they seemed fine.

    I just popped the drive in and it booted fine.
     
  15. Jan 1, 2011 #95 of 109
    unitron

    unitron Active Member

    16,387
    2
    Apr 28, 2006
    semi-coastal NC

    Did you try running dd_rescue in reverse?

    Did you do anything special to keep the bad drive cooled?

    Were you using the current full (expensive) version of Spinrite?
     
  16. Jan 1, 2011 #96 of 109
    unitron

    unitron Active Member

    16,387
    2
    Apr 28, 2006
    semi-coastal NC
    What you said about Kickstart and having the factory software finally sunk in.

    You may be confusing it with some of the colorful aftermarket modding terms, but it's built into the TiVo software and all you need is the TiVo and the remote control to run it.
     
  17. Jan 1, 2011 #97 of 109
    ss_sea_ya

    ss_sea_ya New Member

    82
    0
    Sep 2, 2010
    Alexandria, VA
    I wasn't sure if the Kickstart function was included/enabled in the DirecTV version of the Tivo software. For example, they did not include features like the HMO (or at least not enabled).
    So far haven't been successful getting to operate (I have my original good drive in the box now). So as suggested I posted in tivo help thread about Kickstart and the HDVR2 http://www.tivocommunity.com/tivo-vb/showthread.php?t=461978


    EDIT UPDATE: Never got code 54 to work after numerous attempts. Did get Code 57 to work on my first attempt. (currently have my "good" drive installed. )
     
  18. Jan 2, 2011 #98 of 109
    ss_sea_ya

    ss_sea_ya New Member

    82
    0
    Sep 2, 2010
    Alexandria, VA
    I think that is a good suggestion, so I probably won't run the code 57 Green Screen of Death on my failed drive.
     
  19. Jan 8, 2011 #99 of 109
    ss_sea_ya

    ss_sea_ya New Member

    82
    0
    Sep 2, 2010
    Alexandria, VA
    Ok ran some tests on the failed drive.
    - GSOD: No impact.
    - Western Digital Diag's "quick tests", no errors!
    Also ran Kickstart code 52 - No effect.

    So My guess is boot sector data is messed up. So will copy data to new drive, then figure out how to install boot software to new drive.
     
  20. Jan 9, 2011 #100 of 109
    unitron

    unitron Active Member

    16,387
    2
    Apr 28, 2006
    semi-coastal NC
    You seem to be mistaking the TiVo for a computer, and thinking that you can do the kinds of things with the partitions that one does with computer hard drives. I wish it were so, but it is not.

    I fear you have many hours of reading old threads on this and other sites, and old readmes and FAQs for some of the various software concoctions created to assist in TiVo disk size upgrades (MFS Tools, etc) ahead of you in order to gain some understanding of the particular peculiar mix of open and closed source software and filesystems and partition schemes that go into the TiVo voodoo.
     

Share This Page