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. Oct 1, 2013 #1 of 38
    SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    I have a Tivo HD with a 1TB drive. I have had it for years and just started running into problems with it being slow and Netflix bugging out on it sometimes. So this morning I initiated a kickstart 57 before I left for work. I get home and it is stuck in the infinite Green screen loop. I have been searching and found this is most likely caused by the Swap partition not being large enough for a 1TB drive.

    Does anyone know if it is possible to increase the partition size of the swap partition without losing any of my recordings? Or of another way I can break this infinite loop?

    I am tempted to try backing up the drive with winmfs, then restoring it but this time increasing the swap partition size. Do you guys think that will work?
     
  2. Oct 2, 2013 #2 of 38
    unitron

    unitron Active Member

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

    Although I, perhaps unnecessarily, adhere to the one MB of swap for every 2GB of drive rule, up to 1GB of swap on a 2TB drive, I suspect that's not your problem.

    When any model of S2 or S3 gives trouble, odds are very good it's the power supply, and that needs to be eliminated as the cause before proceeding to other troubleshooting.

    The next most likely culprit is the hard drive having physical problems.

    You should pull it, hook it to a PC, and run the manufacturer's own diagnostic software long test instead of relying on KS 54.

    Next most likely cause after power and physical drive problems is the software on the physically good drive has gotten scrambled somehow.

    You could get a larger than 1TB drive--I'd recommend the 2TB WD20EURS--and use WinMFS to copy the 1TB to it while taking advantage of the feature that lets you specify swap partition size, and after several hours all of your shows should have been copied over as well as the operating system software and all of your settings, provided that if the problem is the 1TB drive it's not too screwed up.

    Of course when you do the copy, the situation causing the green screen loop will still exist, so it'll have to work its way through that.
     
  3. Oct 2, 2013 #3 of 38
    SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    Unitron - thank you for your response. I know it is a long shot. I am hoping that by backing up then re-imaging the drive, and increasing the swap file size that my drive can finally go through the kickstart 57 that I initiated. This way I do not lose my recording. If successful, I am hoping I can transfer / backup the recordings. Test the drive then do a clean image from the original HD and transfer my recordings onto the new image. I know it is a lot of work and time. But I am always up for an adventure :)

    I will also take your advice about the power supply. My first step before the backup / reimage process will be to image a drive with a clean image from the original. Throw it into the TV and see if it boots up and works ok :)
     
  4. Oct 2, 2013 #4 of 38
    dianebrat

    dianebrat I refuse to accept your reality TCF Club

    10,132
    82
    Jul 6, 2002
    boston'ish
    FWIW you can only do a 2TB drive with 11.0.k or higher, the "original" image won't support it, just in case you were considering that option
     
  5. Oct 2, 2013 #5 of 38
    SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    Dianebrat, thank you for the info. I have not looked up much on upgrading drives since I first did it 3 years ago to my tivo. I was just planning on grabbing another 1TB drive But thank you for your input :)
     
  6. Oct 2, 2013 #6 of 38
    SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    Well it looks like my original plan is a no go. I ran a WD Diagnostics on the drive and it passes, but I cannot get MFScopy to to run. It crashes when I click to run it. Either it doesn't like going from a 1Tb drive to another 1Tb drive or since I set the drive to run a kickstart 57 it is not reading it. :(
     
  7. Oct 2, 2013 #7 of 38
    unitron

    unitron Active Member

    16,390
    2
    Apr 28, 2006
    semi-coastal NC
    Is the deal that you need 11.0k for the TiVo to handle a 2TB drive regardless of how little of it is used, even if you use

    hdparm

    to get it to report a lower than reality LBA number, or is it that you need 11.0k to handle a partition larger than 1.2TB?
     
  8. Oct 2, 2013 #8 of 38
    unitron

    unitron Active Member

    16,390
    2
    Apr 28, 2006
    semi-coastal NC
    Are you using WinMFS (and not the MFS Live cd)?

    Hook up the problem drive, boot Windows, launch WinMFS, click Select Drive.

    If it'll let you select the problem drive, click on mfsinfo and see if that works.

    If it'll let you select it, but mfsinfo doesn't work out, see if you can click on fix swap.

    Then see if you can click on either of the fix bootpage options.
     
  9. Oct 2, 2013 #9 of 38
    dianebrat

    dianebrat I refuse to accept your reality TCF Club

    10,132
    82
    Jul 6, 2002
    boston'ish
    In the older OS's if you told WinMFS "yes use all the drive" on something bigger than 1.2TB they wouldn't boot, with 11.0.k and higher you can say "use all the drive" and it boots and works. You've always been able to use a larger drive and limit it to 1.2TB and have it work, I'd done so with a 1.5TB a few years ago.

    I don't know which member stumbled on the change, but it was last summer when they reported the newer behavior.
     
  10. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    When I do an MSinfo on the drive it says it is not a tivo drive. I tried the fix swap and boot but MSinfo still says it isn't a tivo drive. Even though when I select the drive it says it is a Tivo Series 2 or 3 drive
     
  11. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    Would I be able to increase the swap partion size with DDRescue? pretty much keep everything how it is now and expand that partion? Or use Gparted?
     
  12. unitron

    unitron Active Member

    16,390
    2
    Apr 28, 2006
    semi-coastal NC
    GParted, and anything based on it, is, I think, not designed to deal with the Apple Partition Map, and will probably see the drive as blank.


    I suspect if you booted the PC with the MFS Live cd v1.4 (a copy of which you should burn for yourself just to have it around) and used the version of

    mfsinfo

    on that, that it would say "volume header corrupt".

    But I don't know how to fix that.


    (I suspect it involves hex editing)


    You're going to have to decide just how much money, time, and effort you want to put into saving your recordings.


    If you try to re-image the drive *and* increase the swap size, you're going to overwrite stuff like partition boundaries and that will make any info that survives about where the recordings are no longer correct.

    dd_rescue

    (which is on the MFS Live cd v1.4)

    doesn't much know or care whether it's a TiVo drive or not, it just copies byte for byte.

    So it's useful for "Xeroxing" a drive or a part of a drive.

    You should probably get a second drive at least as big and "Xerox" the original and do all of your experimenting on the copy.

    There might be a very complicated and convoluted and time-consuming way to save the shows that would probably require a third drive as well.
     
  13. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    1 step ahead of ya> I have already did a ddrescue of the drive and I am doing all of my testing on it :) I actually found
    http://www.tivocommunity.com/tivo-vb/showthread.php?postid=628370#post628370

    The 3rd posts says about swapping the spare software upgrade partion and using as the swap drive so I can boot and allow the kickstart 57 to do its work. After it is done I can undo the change and put the drive back into my tivo and see how it works :) Wish me luck.
     
  14. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    Well that was a no go. I tried the commands listed but it wasn't seeing the partions. I did an MSFINO and it said something about corrupt partion table or invalid. That was on the spare drive so I am going to try it on the drive from the Tivo.
     
  15. unitron

    unitron Active Member

    16,390
    2
    Apr 28, 2006
    semi-coastal NC
    Well, you'll certainly learn a lot doing it that way.

    Be aware that post is from the days of the S1 and early S2s, and that they're talking about using MFS Tools, and not the successor MFS Live cd.

    If you had a 1.5 TB drive handy, you could use WinMFS to copy to it and specify a larger swap partition, perhaps.
     
  16. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    I cannot get the drives to mount probably due to old instructions. When I try to mount /dev/hda4 /mnt it tells me the partion doesnt exist. I already have a 2TB drive on the way, so if I cannot figure anything out by the time it arrives, I will just image it with the drive and increase the swap partition to 500MB. I have already put the original drive back in my Tivo so it will get software updates. That way if the image from the 1TB to the 2TB fails I can just image the 2TB with the original drive.
     
  17. unitron

    unitron Active Member

    16,390
    2
    Apr 28, 2006
    semi-coastal NC
    Can you get

    pdisk -l

    to show you the Apple Partition Map of the TiVo drive?

    Is

    /dev/hda

    the computer's boot drive?
     
  18. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    yeah if i do a pdisk -l it shows 4 items

    I can mount /dev/hda but according to the instructions I need to locate and mount the unused partition that is only active / used for a software upgrade.
     
  19. unitron

    unitron Active Member

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

    should show no partition map on the computer's drive, and at least 13 partitions on the TiVo drive.

    fdisk -l

    should complain about the TiVo drive having no partitions or no MBR or not being formatted or something like that and should show the partitions on the computer's drive.

    So which drive is which

    /dev/?


    And I'm assuming you're booting with the MFS Live cd.
     
  20. SlappyMcgee

    SlappyMcgee New Member

    46
    0
    Aug 27, 2013
    pdisk -l when booted in the MFSLive CD and the Tivo Drive the only drive connected to my pc on SATA1 port. shows 4 listings the last one listed as Tivo or Tivo Drive. I cannot remember the exact listings.

    My 2TB drive will arrive today so after work I can update if imaging to the 2TB and setting a customer swap of 500Mb works.
     

Share This Page