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

Increase Swap Partition size?

Discussion in 'TiVo Series3 HDTV DVRs' started by SlappyMcgee, Oct 1, 2013.

  1. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    Oh Wow I just realized. I ordered that HD from The Egg yesterday about 11am. It will be arriving today and that is with the free shipping. Man I love those guy.
     
  2. unitron

    unitron Active Member

    16,389
    2
    Apr 28, 2006
    semi-coastal NC
    Have you got other drives connected by USB or something?

    There's never been a TiVo drive with fewer than 11 partitions and most have 13 if they're stock, and pdisk should list them all.

    I could see pdisk listing four different drives, and only recognizing one as a TiVo drive, since it doesn't read IBM/DOS style MBRs any better than fdisk reads Apple Partition Maps.


    Just to be clear

    pdisk -l

    or

    fdisk -l

    is the command, followed by a space, followed by a hyphen, followed by a lowercase "L" (and not a numeral 1), which I assume stands for "list".
     
  3. sfhub

    sfhub Active Member

    1,270
    0
    Jan 6, 2007
    WinMFS will not copy or fix a drive that is stuck in a GSOD (green screen of death) boot loop.

    I just went through this last month and I was able to recover my shows eventually.

    The reason WinMFS won't touch your drive once it is in a GSOD boot loop is because the "Magic" identifier in the SuperHeader for the drive is no longer set to "ebbafeed". WinMFS only recognizes "Magic" identifiers for "ebbafeed" and "abbafeed" and GSOD boot loop drives are usually set to some other number like "37353033"

    The most likely reason for your GSOD loop is actually hard drive issues. The swap size issue, IMO is a vestige of very old TiVo S1/S2 days. The S3 units only have 128MB swap out of the factory even with larger drives, so presumably TiVo knows what they are doing and can complete a KS 57 for your 1TB drive even with 128MB swap.

    Unless you run the extensive hard drive test options that take several hours, you may not catch the hard drive errors.

    Anyway, my suggestion based on what I did to recover my shows and season passes is to:

    • dd_rescue -A -v /dev/sda /dev/sdb
      this will copy your old drive to the new drive, filling in the errors with zeros
    • put new drive back in TiVo and let it finish KS 57

    BE VERY CAREFUL to get the source / destination drives correct.

    It is easy to mess things up and overwrite your source drive.

    This assumes your source drive is sda and destination (new) drive is sdb, adjust appropriately for your setup. Also the new drive needs to be as big or larger than the old drive.

    As a sanity check, please make sure your source drive has 13+ partitions in pdisk before you start. I didn't quite understand why you were saying your drive has 4 partitions above.

    KS 57 could take a long time to finish. It isn't an issue unless you are actually getting the KS 57 boot loop, where it goes back to welcome powering up and then Green Screen and repeats this over and over.
     
  4. sfhub

    sfhub Active Member

    1,270
    0
    Jan 6, 2007
    I don't think /dev/hda is the device for SATA drives. I believe it is for IDE drives.

    Are you sure you aren't getting the pdisk for the cdrom?

    Your sata drive should be /dev/sda, /dev/sdb, ...

    Try
    • pdisk -l /dev/sda
      or
    • pdisk -l /dev/sdb
     
  5. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    sfhub - Thank you very much for your response. I will try as you recommended with the pdisk commands. I will try your suggestions tonight or tomorrow morning. wish me luck :)
     
  6. unitron

    unitron Active Member

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

    and

    fdisk -l

    (from the MFS Live cd)

    should both show all hard drives connected to the motherboard whether they can read the boot partitions or not.

    I have seen times when that particular version of fdisk, if there was an IDE optical drive attached, would get "caught" on the optical drive, which was /dev/hd"something" and never make it on to the /dev/sd'whatevers", but if you specified which SATA drive you wanted it to look at, it would find it if it were there and there wasn't anything wrong.

    Listen, Slappy, do this.

    Download

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

    or

    https://dl.dropboxusercontent.com/u/49887720/658000.tbk

    depending on whether you have a TCD652160 that was upgraded to a 1TB drive or a TCD658000 that came with that 1TB drive with which you're having trouble and use WinMFS to restore it to some drive other than the one that was in the TiVo when this all started (although if you have an original 160GB 652 drive, don't use it, either)

    When it finishes and offers to expand, don't bother, this is just a test.

    (and it'll probably not expand but say it did and possibly screw up the drive anyway because the expansion wasn't done as an entirely separate step, for reasons I don't understand, but they exist just the same)

    See if that works in the TiVo.

    The more information we have, the more information we have.
     
  7. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    I must have done something wrong the first time I did the pdisk -l I tried it again and I am seeing a long list of partitions.

    sfhub, I tried your suggestion but it didn't work. I must have a corruption in the software that the kickstart 57 cannot correct.

    unitron - your suggestion, are those just images to reimage a drive? My Tivo HD does boot fine from the original drive.

    I tried going through the steps again in the link I provided but using sda instead of hda. to swap the spare software partition with the swap partition but I am still stuck in an GSOD loop. Unless anyone has any more ideas I think my programs are lost and I will just image my new 2TB drive with the original Tivo Drive.
     
  8. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    quick question when the Green screen comes up does it just stay on and then reboot when its done, or might it repeat the process a couple times?
     
  9. sfhub

    sfhub Active Member

    1,270
    0
    Jan 6, 2007
    It just stays up until it is done, then reboots.

    If it reboots and comes back to green screen there is some disk issue it can't handle.
     
  10. sfhub

    sfhub Active Member

    1,270
    0
    Jan 6, 2007
    Could you describe what you did and what happened in more detail?
     
  11. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    I followed your instructions in Post #23. That took forever. I put the drive back in. Powering up then it came up to a Green screen. was up for about a min, rebooted and started the process over again. I let it reboot itself 3 more times before removing power at the "Powering up screen" Figured it was still stuck in a Loop.

    Should I let it go through the process of the powering up screen, then green screen reboot longer?
     
  12. sfhub

    sfhub Active Member

    1,270
    0
    Jan 6, 2007
    I'll be more specific.

    Did dd_rescue display any read errors?

    Which model 2TB drive are you using?

    If it isn't WD20EURS, did you disable idle park using wdidle3?
     
  13. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    no DD_rescue didn't display any errors. I am using a WD20EURS
     
  14. sfhub

    sfhub Active Member

    1,270
    0
    Jan 6, 2007
    So it looks like you didn't have any hard disk errors and there is some filesystem issue TiVo can't fix in your current state.

    The next step I would have gone to when I was going through this was to figure out where the SuperHeader for MFS is stored and try to manually edit it back to ebbafeed.

    If you can live with the reimaged drive (losing your shows) that would be the quickest way to get back to a working unit.

    Do the mfscopy in winMFS and do NOT expand at the end of the copy (you might as well enter 1024 for the swap space). I'm assuming the original drive you are using didn't have 11.0k software, so you should then place the 2TB drive in the tivo and let it upgrade to 11.0k/m, then when that is done, put the drive back in the PC and do mfsadd answering the question to allow it to expand beyond 1TB. Do the SuperSize also to get some extra space.
     
  15. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    Actually fired up my original drive 2 days ago so it could get updates and so I could use a 2TB drive in it :)

    Remember my issue started when I initiated a KS 57. It got stuck in the Green screen loop.
    how would I go about editing the SuperHeader?
     
  16. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    I just wanted to say Thank you to everyone that has offered assistance. It is very much appreciated.
     
  17. sfhub

    sfhub Active Member

    1,270
    0
    Jan 6, 2007
    My first guess was block 0, but looking at the source for mfsinfo, it looks like it is contained somewhere in the first mfs zone. That's as far as I got to figuring out what to edit because my drive ended up passing KS 57 so I didn't need to go any further.
     
  18. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    I have given up for now. I imaged the 2TB drive from the original Tivo drive. I don't have my shows I wanted to keep, but I have a working Tivo with twice as much storage :)

    Thank you again for everyone that offered assistance :)
     

Share This Page