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

Need an image? Don't PM me. :)

Discussion in 'TiVo Upgrade Center' started by rcobourn, Mar 25, 2008.

  1. lillevig

    lillevig Hot in West Texas

    1,769
    0
    Dec 6, 2010
    San Angelo, TX
    This is the safest, although slowest, way to do this. I've done dozens of images using this method.
     
  2. seeb1950

    seeb1950 New Member

    2
    0
    Mar 14, 2014
    Thanks Unitron. I don't see anything obvious on the PS like bulging capacitors. I ordered a new drive from dvr_dude since I'm still running only a 40 gig. I will hook the original Maxtor up to a computer and run the diagnostics. Thanks again.
     
  3. fealdeals

    fealdeals New Member

    10
    0
    Mar 11, 2014

    Ok what are the instructions after I boot up with MFS Live?

    The problem is that I have HPA most likely on the hard drive. I saw some articles on the internet to remove it like using HDAT2 using UBCD. Should I go ahead and do that?
     
  4. unitron

    unitron Active Member

    16,389
    2
    Apr 28, 2006
    semi-coastal NC
    Leave the Windows drive on port2, the cd on port1 and the other drive on port 0.

    Let the MFS Live cd boot to the default.

    At the command line

    hdparm -N /dev/sda


    note results


    hdparm -n /dev/sdc

    note results


    I'm expecting a number mismatch on sda

    Maybe one on sdc


    If there's already one on sdc it'll make life easier.

    If not, we'll need to figure out how to make room on sdc for an HPA so we can move it to port 0, 'cause if we just move it your partition layout will get hosed.
     
  5. fealdeals

    fealdeals New Member

    10
    0
    Mar 11, 2014
    Let me clarify the ports again:
    Port 0 - Tivo Drive
    Port 1 - nothing
    Port 2 - CD drive
    Port 3 - Windows Drive

    Here are the results:
    hdparm -N /dev/sda
    1953523055/1953525168, HPA is enabled.

    hdparm -n /dev/sdc
    no such device or address
     
  6. unitron

    unitron Active Member

    16,389
    2
    Apr 28, 2006
    semi-coastal NC
    It's always N, not n. n does something else, I think, but anyway Linux/Unix is always (as far as I know) case sensitive.

    So

    /dev/sda = TiVo drive

    /dev/sdb may equal nothing or may be the cd drive--I've seen some "Linuxes" deal with the "empty port not at the end of the chain of occupied ones" one way and others the other way.

    So /dev/sdc may be the cd drive or the Windows drive and /dev/sdd may be the Windows drive or may not be anything.


    fdisk -l /dev/sda


    (that's a lower case L) followed by

    fdisk -l /dev/sdb

    fdisk -l /dev/sdc

    fdisk -l /dev/sdd

    should show you what's where.

    fdisk

    tends to choke on things that aren't hard drives, like cd decks, which is why I didn't just tell you to run

    fdisk -l

    which would list all the drives except it wouldn't because it would stop when it got to the cd.


    So, once you know what that instance of Linux that's loaded into your PC RAM and is running once you boot with the MFS Live cd considers to be what, you can do the

    hdparm -N /dev/sd"x"

    for the values of "x" that are actually hard drives.
     
  7. fealdeals

    fealdeals New Member

    10
    0
    Mar 11, 2014

    I took a picture of the output I got. See attached.
     

    Attached Files:

  8. unitron

    unitron Active Member

    16,389
    2
    Apr 28, 2006
    semi-coastal NC
    IF, IF, IF, your Windows drive is also a 1TB drive, shut things down, unhook the new TiVo drive to be, and hook the Windows drive to SATA 0 and reboot and make sure everything still works.

    Report back.
     
  9. fealdeals

    fealdeals New Member

    10
    0
    Mar 11, 2014
    Windows drive is also a 1TB drive.
    Unhooked the Tivo drive and hooked the Windows drive to SATA 0.
    Rebooted and everything still works fine.
     
  10. unitron

    unitron Active Member

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

    EDIT TO ADD:

    These instructions are for fealdeals's specific situation only, do not follow them blindly because the

    hdparm

    utility is very powerful and very dangerous.

    END EDIT


    Okay, keep Windows drive on SATA 0 to be the "sacrificial" unit as far as the Giga's tendency to make HPAs is concerned.

    If it finds one on the "first" drive when booted, it should be satisfied and not put one anywhere else.


    Leave the cd or dvd drive connected and connect the new drive.

    Boot with the MFS Live cd

    Do

    fdisk -l /dev/sd"x"

    substituting a, then b, then c, etc, for "x" until you know where both hard drives are considered to be.

    The Windows drive should be /dev/sda, but we'll make sure


    hdparm -I /dev/sda

    (even if it's the same brand, model as new drive, this should give serial number)

    hdparm -i /dev/sda

    might give serial as well. Both "I"s stand for information, the uppercase one gives a lot more.

    Then, assuming the new drive is /dev/sdb

    hdparm -I /dev/sdb

    just to be absolutely sure.


    Once you're sure that the Windows drive is sda and the new drive is sdb,


    hdparm -N /dev/sdb

    which should return an answer containing

    1953523055/1953525168


    The first number is the number of Logical Block Arrays the drive reports when asked ordinarily (which is what "hides" the Host Protected Area), and the second number is the actual LBA number of the drive. Check the drive label to make sure that number matches what the label says for LBA.

    (For this next part, note where space are and are not used between parts)


    Then very carefully enter


    hdparm -N p1953525168 --yes-i-know-what-i-am-doing /dev/sdb

    Note that the flag or option

    -yes-i-know-what-i-am-doing

    follows the

    -

    which indicates that what follows is an option, flag, or switch, so there's what looks like a double hyphen there.

    When you use a

    -

    to indicate that what follows is an option, the option is entered immediately following the

    -

    without a space in between. Once there's a space, anything after that is not part of the option.

    That should remove the HPA permanently. (that's what the p is for)

    Unless the drive was still on SATA 0, in which case the HPA would be recreated upon boot all over again (which is why we need the "sacrificial" Windows drive there all the time).

    Why yes, I did learn this the hard way now that you ask.

    :D


    The way you properly get out of the MFS Live cd is either

    poweroff


    or

    reboot

    so after you run


    hdparm -N p1953525168 --yes-i-know-what-i-am-doing /dev/sdb

    reboot and run

    hdparm -N /dev/sdb

    again and make sure it reads

    1953525168/1953525168

    Once it does, you should be able to boot into Windows and use WinMFS (running as admin) to restore the .tbk file to the new drive, turning down the offer to expand, then checking the drive with

    mfsinfo

    and if everything looks okay, including a large Apple Free partition on the end, do

    mfsadd

    to do the expansion as a separate step.


    Remember, hdparm can do stuff to a hard drive from which it is normally protected, some of which might not be reversable, so be very careful with it.

    (and by very careful I mean almost paranoid)

    If any of those numbers aren't the same, do not proceed until we figure out what's going on.
     
  11. fealdeals

    fealdeals New Member

    10
    0
    Mar 11, 2014
    Unitron, everything worked flawlessly. Im going through the Tivo guided setup now. Thank you so much! I still have no idea how you know so much. In any case, I appreciate your time and effort to help me!
     
  12. unitron

    unitron Active Member

    16,389
    2
    Apr 28, 2006
    semi-coastal NC
    Learned a lot of it the hard way, the rest by reading posts at places like here written by others who learned the hard way.

    Glad I can quit worrying about you. :)
     
  13. fealdeals

    fealdeals New Member

    10
    0
    Mar 11, 2014
    After going through guided set up, when I went to My Shows, it gave me Tivo Error #51. I googled it and people said to go to "Clear and Delete Everything". I did that and now its working fine.
     
  14. ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    That happens when you have used a Tivo image that was not originally from that specific Tivo because its "Married" to the Tivo Service number on the Main board which encodes the recordings. Another indication is in System Information, your Tivo Service Number are all Zeros. Clear & Delete Everything resolves this issue.
     
  15. empiretc

    empiretc New Member

    23
    0
    Apr 2, 2010
    the drive in our trusty TCD540040 (lifetimer) has decided to quit after all these years. any idea where one can get a copy of the drive img?

    got it several years ago (just in case), but never needed it and can't find it now.


    TIA


    Edit:


    Found post #1535. THANKS unitron!!! Was able to img a drive, and tivo is alive again!
     
  16. unitron

    unitron Active Member

    16,389
    2
    Apr 28, 2006
    semi-coastal NC
    Did you get the "c" version?
     
  17. empiretc

    empiretc New Member

    23
    0
    Apr 2, 2010

    yes sir.


    the first drive imaged seemed to work ok for a bit, but then went gsod after a while. imaged another and replaced it, and that one has been solid since yesterday. (these are old drives, lol).

    any idea where someone can get a copy of the image for a tivohd and tivo premiere?

    we have some on the way. can we just create an image with WinMFS?
     
  18. ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    WinMFS does not work on Premiere or later Tivos.
     
  19. unitron

    unitron Active Member

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

    TCD652160 image for use with the MFS Live cd v1.4:


    https://dl.dropboxusercontent.com/u/49887720/652m.bak



    TCD652160 image for use with WinMFS:


    https://dl.dropboxusercontent.com/u/49887720/652m.tbk


    Consult the DvrBARS thread for Premiere images and the software with which to restore them.
     
  20. empiretc

    empiretc New Member

    23
    0
    Apr 2, 2010

Share This Page