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

Drive upgrades in a Premiere unit?

Discussion in 'TiVo Premiere DVRs' started by jcostom, Mar 30, 2010.

  1. Sep 17, 2010 #641 of 1486
    RichB

    RichB Oppo Beta Group

    514
    6
    Apr 2, 2003
    Massachusetts
    Try AHCI if you are SATA connected.

    sudo -s

    Can be done once to switch the super user for all of the command and not have to type it at each line.
     
  2. Sep 17, 2010 #642 of 1486
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    Yes the drives are connected via usb to sata adapter

    I have tried the "sudo" in front of the command but then recieve "command not found"
     
  3. Sep 17, 2010 #643 of 1486
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    I will try the sudo -s and see what happens.

    Now just to check, could this be an issue with my java install? Or is it a permissions problem? I know linux but not enough

    thanks guys :)
     
  4. Sep 17, 2010 #644 of 1486
    comer

    comer New Member

    267
    0
    Aug 7, 2003
    Try "java -version". If you get "command not found" then you need to set PATH to your Java.
    Code:
    export PATH=$PATH:<dir where java is installed>/bin
    Though it was supposed to be set by install (did not work?).
     
  5. Sep 17, 2010 #645 of 1486
    donnoh

    donnoh Member

    779
    0
    Mar 7, 2008
    Linux brings back memories from the old days when I used to know as much about Unix as I did DOS. I thought the days were over when I had to enter commands at a prompt.
    Oh well, I guess old school meets new school again. I guess us old farts aren't quite as obsolete as I thought.
     
  6. Sep 17, 2010 #646 of 1486
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    Ok so, I checked the javaversion and I show
    Java version "1.6.0_18"
    Open JDK Runtime Enviroment
    Open JDK Server VM

    So just to make sure im not utterly retarded. My command is as follows in my dir that is containing all of the mfsjava files that are already extracted

    ./testLayout.sh /dev/sdc

    then I also added sudo in front of that command
     
  7. Sep 17, 2010 #647 of 1486
    comer

    comer New Member

    267
    0
    Aug 7, 2003
    Yes, Java seems fine.

    Correct, so it should be "sudo ./testLayout.sh /dev/sdc".
    And could you also check that you have "./test.sh"?
     
  8. Sep 17, 2010 #648 of 1486
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    Yes I have all files needed including the test.sh
    its really weird no matter what I try I either get permission denied when running the command without sudo, even with full root access. Or I get the error

    -bash: ./testLayout.sh /dev/sdc: no such file or directory

    However ddrescue will run and copy with no problems at all from one drive to the other. So I know my drives are their and accessible
     
  9. Sep 17, 2010 #649 of 1486
    comer

    comer New Member

    267
    0
    Aug 7, 2003
    Oh! Do this:
    chmod +x ./*.sh
    and then try :)
     
  10. Sep 17, 2010 #650 of 1486
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    5 1/2 hrs and counting on copying drive via usb/sata adapters :( This will not do for me next time, I will be connecting directly to mbd, I have an avg of 10459kbps, what is everyone elses avg thus far?
     
  11. Sep 18, 2010 #651 of 1486
    rkrenicki

    rkrenicki New Member

    12
    0
    Oct 26, 2005
    I just completed my copy and expansion onto a WD10EARS drive, using my AMD 785G based motherboard, I was getting an average of 40MB/s during the ddrescue phase. This is using AHCI.

    On a side note, and not to belittle anyones work on this, but there must be a better way of doing this then using ddrescue.. its not really necessary to copy over 300gigs of 0's. 3 hours for the raw copy is just painful, especially when its only a few gigs of actual data that is moving over. I am glad I didnt just copy the DVR_Dude drive that I have in my other unit.. that would have taken 10 hours easy!
     
  12. Sep 18, 2010 #652 of 1486
    bsmith1051

    bsmith1051 Member

    102
    0
    Nov 15, 2009
    some things never go away... :)
     
  13. Sep 18, 2010 #653 of 1486
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    It worked !!!!!!!!!!!!!! :)

    I am now a proud member of the 2tb club ;)

    Comer if my used space was 3.68gb us that likely a virgin image?

    Also to output my stock image to save I would use /dev/sda/premiere.img as my target rather then the new drive? sda=laptops internal drive
     
  14. Sep 18, 2010 #654 of 1486
    rdangel

    rdangel Member

    123
    0
    Sep 3, 2002
    I just upgraded my Premier yesterday! A 2TB tivo!!!

    Anyway, I also created a virgin image of the tivo premier as requested. I am not sure about the legality of distribution of it but PM me if you have ideas.
     
  15. Sep 18, 2010 #655 of 1486
    wluk

    wluk New Member

    28
    0
    Jun 10, 2008
    I am transferring the data to the new 1.5gb hard drive now. It is indeed very slow.

    I stopped it once because there was an error with errsize 226kb. Not sure if it matters or not so I "Ctrl-C" it and started it over again. But then it had the same error the second time? How can I tell if the error is coming from the source or the destination drive?

    So far the instruction is very easy to follow. The only thing I had problem was finding ddrescue from Synaptic Package Manage. I had to perform the step below first before I could find it.


    I performed one other action in the SPM:
    SYSTEM > ADMINISTRATION > SYNAPTIC PACKAGE MANAGER > SETTINGS > REPOSITORIES > UBUNTU SOFTWARE, I checked all the boxes except source code and then don’t forget to click RELOAD.

    Then I also had to download/install gddrescue (on top of ddrescue) from Synaptic Package Manage in order to run ddrescue.

    Info on installing gddrescue:
    http://www.howtogeek.com/howto/21876/rescue-old-damaged-cds-with-an-ubuntu-live-cd/
     
  16. Sep 18, 2010 #656 of 1486
    comer

    comer New Member

    267
    0
    Aug 7, 2003
    Yay! :up::D

    When you make an image of the disk it is always the size of the original disk - i.e. 320G, but compressed - it take less, because of all the zeroes. In you case - likely much less (I guess a few Gs) because only 1% was used.

    Yes, if you want to backup, you need to create a image file rather than a clone drive. Don't forget to mount the partition on which you want to ouput your file ;)
    There's got to be some graphic mounting tool (I don't know for sure - don't use ubuntu, but others do have it), or command "mount <target partition like /dev/sda1> <directory on the disk - must exist like /mnt/sda1>". After that you work with your disk as if it is that directory - creating file in "/mnt/sda1" would create file on the disk.
     
  17. Sep 18, 2010 #657 of 1486
    comer

    comer New Member

    267
    0
    Aug 7, 2003
    Sorry to hear that :( I don't remember exactly, but doesn't the error message say read or write error?
    You can try to ignore it - use "-n" paremeter instead of "-r 3":
    The last parameter - is the log file needed to retry error areas. After the "good" run completes, retry errors:
    It will use the log file to retry read/write errors only.

    You can also try using drive manufacturers utilities to scan/test the drive. The WD tests are non-destructive and can correct some errors (I did have a bad block on my original Tivo drive - was fixed by these tools).
    WD Disgnostic Tool
    I recommend using it from clean environment (i.e. not Windows variety)
     
  18. Sep 18, 2010 #658 of 1486
    wluk

    wluk New Member

    28
    0
    Jun 10, 2008
    It didn't say read or write error. This is all I have on the screen.


    rescued: 320072 MB, errsize: 4096 B, current rate: 0 B/s
    ipos: 3040 MB, errors: 1, average rate: 29453 kB/s
    opos: 3040 MB, time from last successful read: 10.2 m
    Finished

    I will try the WD Disgnostic Tool and see what's going on.

    Thanks
     
  19. Sep 18, 2010 #659 of 1486
    comer

    comer New Member

    267
    0
    Aug 7, 2003


    Is there any tradition here around the post #666? :D:D
     
  20. Sep 18, 2010 #660 of 1486
    wluk

    wluk New Member

    28
    0
    Jun 10, 2008
    The -n and -r 5 with the log file couldn't fix the problem. The result is the same and I couldn't get the WD Disgnostic Tool to work. I will try it again tomorrow.

    I am running chkdsk on the new drive to make sure it isn't the new drive problem.

    But I used the new drive to boot up TiVo and it works fine it seems.

     

Share This Page