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

Premiere Drive Upgrade Instructions - with all-in-one jmfs Live CD

Discussion in 'TiVo Upgrade Center' started by comer, Sep 20, 2010.

  1. arrarrgee

    arrarrgee New Member

    39
    0
    Dec 21, 2010
    Yah probably will do that...Thx a lot
     
  2. unitron

    unitron Active Member

    16,400
    7
    Apr 28, 2006
    semi-coastal NC
    Or if you really want to throw money around, you could put a 2TB in that Premiere as long as you're going to open it up anyway.
     
  3. arrarrgee

    arrarrgee New Member

    39
    0
    Dec 21, 2010
    yah...thats the plan..but just cudnt bring myself to pay 120+ USD for the 2 TB drive that was 60+ a few months ago.:=)..waiting for the hard drive prices to come down a bit before i pull the trigger..
     
  4. JimR1998

    JimR1998 New Member

    9
    0
    Dec 13, 2010
    The nightmare being the wife and kids asking "is it fixed yet?" all weekend long!!

    I'll detail my experiences here as they may be helpful to someone else. Fast forward to lessons learned at the bottom if you're in a hurry.

    First, I'm using a Thinkpad T410 laptop and a USB to IDE/SATA cable kit to do the upgrade. I'm sure it would have been an easy 2-4 hour process if I had a desktop. But instead it took me 3 days and lots of hair pulling!

    Two weeks ago I upgraded one Tivo with a WD GP-RE4 1.5TB "enterprise" drive that was inside a WD external USB enclosure. It's a NOISY drive and there are no bad sectors. This process was easy, although at the time I was unable to run the wdidle program (I'm not even sure it's necessary on that model). I attached the Tivo drive to the USB->SATA kit and used the WD USB external drive as the target. I let it copy overnight, but I think 320GB took about 5 hours.

    I tried _everything_ but couldn't figure out a way to run wdidle since the DOS program does not detect the drive when it's hooked up via USB.

    I ordered two HP SimpleSave 2TB drives from Staples which were rumored (correctly) to have WD20EARS drives inside. $92 each delivered to my door, I didn't want to pass it up. While those were on the way I knew I needed to figure out something for the wdidle issue.

    My laptop has an ESATA port, so... easy enough... I would get an esata-to-sata cable. Tried that on the GP-RE4 and it didn't even spin up. Turns out my ESATA port is NON-POWERED. Returned that cable and bought a $3 esata-to-sata data only cable and got power from the USB->SATA kit. It spun up but even windows would not detect the drive. Ugh! Turns out I had to upgrade my T410 BIOS and change the SATA setting to ACPI. But ACPI was incompatible (or so it appears) with the main SSD drive inside, so I had to take that out. Luckily it's a 2-minute removal. Finally wdidle detected
    the drive!

    Wait, it gets worse. HP SimpleSave drives arrive and I do the same process: Tivo as source drive on the USB->SATA kit, SimpleSave USB as the target. jfms worked fine, did the above hookup for wdidle and that went fine, put the drive in the Tivo and... flashing lights, no boot! !!!

    Now I'm thinking advanced format is the culprit, but I research that and Premiere is fine with it. So I format the drive, but got suspicious when some Virtual CD / HP Launcher thing kept popping up in Windows. No problem, I think, I'll just use the USB controller board from the WD enclosure (which came with the GP-RE4). I fooled around with that for a while but couldn't get the drive detected. Turns out that controller is not compatible with advanced format (maybe I could have aligned it but did something else instead).

    Ultimately, I ended up with my 320GB original Tivo as the source on ESATA which jmfs detected fine. But I was at a loss since I only had one power cable from the USB->SATA kit which was needed on the ESATA side. I wound up using the Tivo for power-- unplugged the main board connector which leaves the drive powered. Then I just plugged in the red data cable from the Tivo board into the USB->SATA kit. This was my option of last resort at 10pm! I had a really good feeling about it and sure enough it worked!!!

    LESSONS LEARNED

    Laptop users must have an ESATA port and a recent BIOS to get wdidle to work. It will NOT work through USB, no way no how, even if the USB "looks like" SATA and even if the USB drive is detected in DOS. Also, try to disconnect your main drive when you do this. If not, it probably needs to be
    non-Western Digital.

    The HP SimpleSave USB enclosure cannot be the target when doing the upgrade. WD Essentials USB drive worked fine for me as the target. jmfs may not be able to get the drive name of the original Tivo drive, but it should be able to get the drive name of the new drive (WD20EARS). Also, watch out if the bytes reported are different from what you expect. The SimpleSave thing consumed about 700MB so I had fewer than 200000000000 bytes which was odd to me.

    Here are the parts I used:

    Sabrent USB 2.0 to IDE/SATA Cable for 2.5-Inch/ 3.5-Inch / 5.25-Inch Drive with Power Adapter (tigerdirect, got it for $10 a few years ago)

    SATA Serial ATA to eSATA External Shielded Cable 20" ($3 shipped on ebay)

    With those two parts, the upgrade is easy and proven successful on a Thinkpad T400 series laptop.
     
  5. jwcatlanta

    jwcatlanta New Member

    9
    0
    Aug 29, 2010
    Has anyone found a way to upgrade the drive size on Premiere the second time, because of running out of space again or a failing drive? I upgraded from 320GB to 500GB using JMFS rev 104 the first time and would like to upgrade again from the 500GB to a 2TB while keeping the recorded programs. I tried to use JMFS again but it did not work because of the extra partition as explained in other posts. Has anyone figured out a way to get around this problem short of modifying the partition tables with a hex editor. My wife's Premiere is running out of space so she isn't happy and we all know what that means. Thanks. Jerry
     
  6. unitron

    unitron Active Member

    16,400
    7
    Apr 28, 2006
    semi-coastal NC
    Can you use

    pdisk -l

    (that's a lowercase L)

    on the MFS Live cd v1.4 to provide us with a partition map of the expanded 500GB drive?
     
  7. porkenstein

    porkenstein Geek

    78
    2
    Aug 11, 2002
    Greeley,...
    The below text was mentioned in a previous post. Can someone explain what that means?


    The wdidle3 command reported a default idle setting of 8 seconds, which I reset to 300 seconds.
     
  8. unitron

    unitron Active Member

    16,400
    7
    Apr 28, 2006
    semi-coastal NC
    How detailed an explanation do you need?

    the command

    wdidle3/D

    should disable Intellipark or set it really high, like 300 seconds, which it long enough for keeping it from screwing up a soft re-boot of the TiVo, which is what this is all about.

    Or do you need Intellipark and why it's a problem explained?
     
  9. unitron

    unitron Active Member

    16,400
    7
    Apr 28, 2006
    semi-coastal NC
    Booting from the MFS Live cd v1.4, you can check for the presence of stuff like that with

    hdparm -N /dev/sd?

    where sd? is the drive you want to check on, it should show up as sda or sdb or sdc, etc., just use SHIFT+PAGE UP to go back up through the boot messages to see which name got assigned to the drive and use that one with the command.

    It should show you a number followed by a slash followed by another number and then something about HPA (host protected area).

    If the numbers don't match, you've got one.
     
  10. porkenstein

    porkenstein Geek

    78
    2
    Aug 11, 2002
    Greeley,...
    I think I understand. I just needed to know as I will be installing a 2gb western digital drive tomorrow in my premiere. I guess I need to do that but still a little confused on what benifit. Can you explain further.
     
  11. jwcatlanta

    jwcatlanta New Member

    9
    0
    Aug 29, 2010
    Do you want the 500 from the Premiere or the 2TB now at 500 after the TIVO took out what it thought was the external, or both?

    Do I have to type it into a post or is there some other way to print it in Linux with an attached printer and send?
     
  12. Soapm

    Soapm Active Member

    1,572
    1
    May 9, 2007
    So close,...
    Both if possible but we only need the partitions after 10. What's strange is my experience with jmfs it only adds one partition as opposed to mfslive and winmfs which adds pairs. If you don't mind losing your recordings then you can always upgrade using the original disk since it will be like the first expansion onto the 2TB.
     
  13. unitron

    unitron Active Member

    16,400
    7
    Apr 28, 2006
    semi-coastal NC
    Intellipark notices a lack of drive activity, i.e., no data being read from or written to the drive, and after enough of it, parks the heads, and I guess maybe it lowers the rotation speed as well.

    They really were thinking of applications other than TiVos when they developed that.


    A TiVo's hard drive is always working, because at a minimum the 30 minute buffer is being filled all the time.

    The 2 exceptions to that are when the AC power has been disconnected from the TiVo, obviously, and when the TiVo is doing a soft re-boot.

    That's when it's rebooting itself without anyone having to pull the cord from the wall socket and plug it back in.

    It's kind of like CTRL-ALT-DLT on a PC.

    When it does a soft re-boot, power to the drive is not removed, but it quits sending data to the drive and quits requesting data from the drive. When this lack of activity goes on long enough, the drive goes to sleep.

    The default setting of 8 seconds is short enough that the drive has time to go to sleep before the TiVo gets far enough in the re-boot sequence to call on the drive again. When it does, the drive is asleep, and doesn't respond right away, and the TiVo interprets that as something wrong and starts the re-boot process over again, which means the drive wakes up, doesn't see any more requests of it from the controller, goes back to sleep, and is asleep when the TiVo calls on it again, lather, rinse, repeat.

    By setting the drive inactivity time period high enough, the drive doesn't get around to going to sleep before the TiVo has gotten far enough along in the re-boot proceess to call on the drive again, so the drive can respond instantly and the boot process continues the way it's supposed to.

    So setting the inactivity period high enough (300 seconds, or 5 minutes) is effectively the same as disabling Intellipark where the TiVo soft reboot process is concerned.

    If wdidle3/D doesn't work on a particular model drive, wdidle3/300 will do what amounts to the same thing.
     
  14. unitron

    unitron Active Member

    16,400
    7
    Apr 28, 2006
    semi-coastal NC
    What I want is to see the partition map of the 500 on which you used jmfs to copy the 320 and expand.

    I want to see what it did to expand.

    Exactly what jmfs does in which circumstances is less well known, at least to me, than what MFS Live and WinMFS do.


    The mfsinfo command in WinMFS would easily let you copy and paste the partition map, but apparently just booting into Windows with a Premiere drive attached screws it (the TiVo drive) up somehow (don't have any Premieres of my own with which to practice and experiment), so the only safe way to get a look at it is to boot with the MFS Live cd.


    When the MFS Live cd boots you into a Linux/Unix-like command line environment, and you type in a command, you then hit the ENTER button to make it carry out that command.

    Also, everything's case-sensitive, so if the example is a lowercase letter, don't type in an uppercase letter, and the other way around.

    If it's not capitalized already, it's not supposed to be.

    (sometimes the options for a command, which are typed after a command with a hyphen in front of them to indicate that they are options, will use the lowercase version of a letter to indicate one option, and the uppercase version to indicate a different option)


    pdisk -l /dev/sda


    will put the partition map of TiVo disk connected as sda on the screen


    pdisk -l /dev/sda > pmap.txt


    will re-direct the output of the command to a text file which, in this case, will be named pmap.txt, unless there's already a file by that name, in which case it will overwrite it.


    The catch here is where exactly is this file "pmap.txt" being written to, where is it stored?

    With MFS Live, where the Linux-based OS is basically loaded into memory from the cd and not from a hard drive, it may, for all I know, be written to a root directory that only exists in RAM somewhere.


    What you need is a hard drive partition or USB stick partition which you can mount as a directory and re-direct the pdisk output to that directory.


    For instance, let's say you have a USB stick formatted FAT32.

    If you boot from the MFS Live cd, perhaps your main hard drive, the one with Windows on it, will be detected as

    /dev/sda

    and the attached TiVo drive will be

    /dev/sdb

    and the cd-rom or dvd drive from which you're booting is

    /dev/sdc


    (After it's finished booting you can use SHIFT+PAGE UP to go back up through the boot messages to see which drive got called what.)


    and after it boots and settles down you plug in the USB stick, and it gets detected as /dev/sdd


    (after a few moments and some stuff about it on the screen, you may have to hit ENTER one time to get back to the command prompt)


    Then you can mount the only partition on the USB stick to one of the directories the boot cd created in memory.

    A mount point is a place to attach stuff in the Linux/Unix organizational chart, so it knows where to find it.

    If you give the "list" command

    ls

    it should show you what's in the directory in which you are currently in, which should be the root directory.

    (previous sentence grammatically incorrect for purposes of clarity)


    To see the same thing with a little more detail

    ls -l



    There should be a directory called

    dos

    and another called

    tivo

    There's nothing in them. Yet.


    To mount that stick's only partition


    mount -t vfat /dev/sdd1 /dos

    This mounts, as a filesystem of type vfat (which I guess means virtual file allocation table), the what of the first (and only) partition on the stick (device scsi or sata disk "d", partition 1--/dev/sdd1) to the where of the directory /dos (the / indicates it's a directory subordinate to the root directory, I think)

    You can then do

    ls -l /dos

    and if you already have any files on that stick, you should see them listed.

    As long as none of them are already named pmap.txt, there shouldn't be a problem, but for educational purposes let's pretend there is one with that name.

    Okay, we've got the 500GB drive from the Premiere assigned the "name"

    /dev/sdb

    and we've got

    /dev/sdd1

    mounted as

    /dos

    so

    pdisk -l /dev/sdb

    will show the partition map for the drive currently known as sdb, if it has an Apple Partition Map type partition map

    and

    pdisk -l /dev/sdb > /dos/pmap500.txt

    will list the partition map on sdb and send it to "standard out", which usually gets sent to the screen, but we're using the "greater than" sign as an arrow to re-direct "standard out" to the textfile pmap500.txt which will be written in the dos directory which means the actual physical location where the text file gets written will be the sole partition on the USB stick.

    Since we re-directed the outupt of the

    pdisk

    command with the "list" option

    -l

    to somewhere other than the screen, you won't see the output on the screen, it'll just write the file and return you to the command prompt.

    But

    ls /dos

    will show you that

    pmap500.txt

    has been written to the

    /dos

    directory and therefore to the actual partition on the USB stick.


    At that point you're done.

    type

    umount -a


    (that's not un-mount, but u-mount, for some reason, even though the idea is to un-mount)


    Then type

    poweroff


    Then detach the Premiere drive and the USB stick.

    Then start the computer again and take out the MFS Live cd before the computer tries to boot from that so that it will boot from Windows instead.

    Then hook up the USB stick and open up pmap500.txt in Notepad and copy and paste.


    (submitting now, will edit for spacing later)
     
  15. jwcatlanta

    jwcatlanta New Member

    9
    0
    Aug 29, 2010
    I am an experienced Windows and DOS guy. Have done a little of everything and would not really even be afraid to edit the partition table if I had it backed up and the proper instructions. No OS X capability though to do what kc8apf explained.

    I am impressed and appreciate unitron taking the time to do the writeup. If you only need the partition info 11 and up, it would be just as quick and do less damage to by old brain to type it in.

    Please confirm 11 and up and I will get the info from both drives later today. Thanks.
     
  16. unitron

    unitron Active Member

    16,400
    7
    Apr 28, 2006
    semi-coastal NC
    The MFS partitions are supposed to start with partition 10, at least in Series 1s through 3s.

    Partitions 1 through 9 should be the same on the stock drive and any "embiggened" drive, it's the differences between the two "above" that in which I'm interested.

    Off to try to find where someone has already posted a copy of a stock Premiere partition map, and maybe to read through comer's posts on "the other site" about how he developed jmfs.
     
  17. getgray

    getgray New Member

    84
    0
    Mar 1, 2006
    Excuse cross post from my own thread.

    I am using JMFS to attempt to backup a failing 1TB Premiere drive. I am copying it to a new 2TB WD drive. I am trying to save the 88% full drive's programs I have recorded on it.

    The failing drive may only have this one last read in it. I do not have a spare 1 or 2 TB drive to make a second backup from the copy.

    Question is, can I put the 2TB drive with the 1TB image, in my Tivo to test it without expanding it?

    I'm worried about the 2TB drive having errors and I don't want to make it worse by expanding it. Should I suck it up and go get another 2TB to backup the image before proceeding? Just hate to end up with (2) extra 2 TB drives if the rescue was unsucessful.
     
  18. unitron

    unitron Active Member

    16,400
    7
    Apr 28, 2006
    semi-coastal NC
    I address this elsewhere where you also posted, but just let me say that if the copy to the 2TB has errors, then expanding with jmfs probably won't make any difference in whether it is disabled by those errors or not.
     
  19. getgray

    getgray New Member

    84
    0
    Mar 1, 2006
    Issue resolved here. Thank you.
     
  20. jwcatlanta

    jwcatlanta New Member

    9
    0
    Aug 29, 2010
    Here are the partition tables (partition 10 and up) requested.

    First is the 500GB WD5000AACS which was copied, expanded and supersized from the original Premiere 320Gb using JMFS. It is working fine but running out of room and has no partition 16 showing in the table. It shows a capacity of 74 HD or 645 SD shows.

    Par Type Name Length @ Base (size)

    10: MFS MFS application region 1638400 @ 352511906 (800.0M)
    11: MFS MFS media region 269353742 @ 355788706 (128.4G)
    12: MFS MFS application region 2 1638400 @ 354150306 (800.0M)
    13: MFS MFS media region 2 343828320 @ 64 (164.0G)
    14: EXT2 SQLite 6291456 @ 346220450 (3.0G)
    15: MFS MFS media region 3 351630720 @ 625142448 (167.7G)

    Here is the 2TB WD20EARS table. I used it to copy from the 500GB above using JMFS. I tried both copy, expand and supersize as well as just copy and expand. This table is after just expand. In both cases the Premiere thought it had a bad external drive. I told it to remove the external and it now works and shows the same capacity as above.

    Par Type Name Length @ Base (size)

    10: MFS MFS application region 1638400 @ 352511906 (800.0M)
    11: MFS MFS media region 269353742 @ 355788706 (128.4G)
    12: MFS MFS application region 2 1638400 @ 354150306 (800.0M)
    13: MFS MFS media region 2 343828320 @ 64 (164.0G)
    14: EXT2 SQLite 6291456 @ 346220450 (3.0G)
    15: MFS MFS media region 3 351630720 @ 625142448 (167.7G)
    16: MFS MFS media region 4 2930256000 @ 976773168 (1.4T)

    Please let me know if anyone has any ideas on how to copy 500GB to the full size 2TB and preserve the shows.
     

Share This Page