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

Dvr Backup And Restore Software for Windows (DvrBARS)

Discussion in 'TiVo Upgrade Center' started by ggieseke, Apr 13, 2013.

  1. Apr 28, 2013 #101 of 1474
    geekbrain

    geekbrain New Member

    15
    0
    Apr 27, 2013
    Thanks for the help guys. Attached is the 'real' block 0.

    Greg-
    All your calculations were correct and did get me to block 0. I had some problems initially as the editor I was using (wxHexEditor) was displaying the row offset in decimal not hex. I am familiar with the Intel HEX format (I am an engineer) and expected the offset to be in hex automatically. I couldn't get the offset to display in hex so I had to convert things. I finally realized if I right clicked in the offset column it rotated through the different base systems.

    I know I'm sounding long winded but my point is these forums are for helping others; if someone is stuck and wants to understand and do this manually, hopefully they have enough cookie crumbs to do so.
     

    Attached Files:

  2. Apr 28, 2013 #102 of 1474
    ggieseke

    ggieseke Active Member

    4,026
    12
    May 30, 2008
    I love HxD, and jmbach uses iBored. Either one is worth a look. I figured it was worth a try with a handle like geekbrain. :)

    Here's the Block 0 from my 746 image. The first two bytes are always 0x1492. The next two are the primary and alternate Root partitions, followed by some text and a bunch of zeroes. I'm not sure if the last 4 bytes mean anything.

    If your posts are from a Full or Modified backup you can edit it as necessary and restore it with DvrBARS without changing anything else. If you're feeling adventurous you can edit the disk directly.

    For anyone else who isn't REALLY comfortable with low-level disk editing, please don't try this at home...
     

    Attached Files:

  3. Apr 28, 2013 #103 of 1474
    geekbrain

    geekbrain New Member

    15
    0
    Apr 27, 2013
    greg-
    Thanks for getting back to me. I will give it a shot later and let you know how it works out.

    Rich
     
  4. Apr 28, 2013 #104 of 1474
    jmbach

    jmbach der Neuerer

    1,556
    10
    Jan 1, 2009
    That will work. It is essentially what we did for dgorman to fix his. Would suggest that you make a copy of the VHD and play with that when making the edits. Since I don't feel like doing all the calculations, I tend to mount the VHD then use iBored or VxD to edit the mounted VHD. I use iBored to copy and paste block images as it seems easier plus it recognizes various partition Maps and directory structures and displays them in an easy to read format. If you want me to send you the block 0 Greg posted in a hex image, let me know.
     
  5. Apr 28, 2013 #105 of 1474
    gamo62

    gamo62 New Member

    497
    0
    Oct 12, 2002
    Anyone have a URL for the Tivo XL4 virgin image? Please PM me with details. Thanks!
     
  6. Apr 28, 2013 #106 of 1474
    geekbrain

    geekbrain New Member

    15
    0
    Apr 27, 2013
    Greg/jmbach-
    Thank you both for your help - I appear to be back up and running. I have made a small donation towards your great effort.

    Rich
     
  7. Apr 28, 2013 #107 of 1474
    Ilovetorecord2

    Ilovetorecord2 New Member

    297
    0
    Mar 21, 2000
    South San...
    I am unable to down the file. Please advise.

    Patrick
     
  8. Apr 28, 2013 #108 of 1474
    jmbach

    jmbach der Neuerer

    1,556
    10
    Jan 1, 2009
    Try a different browser
     
  9. Apr 29, 2013 #109 of 1474
    geekbrain

    geekbrain New Member

    15
    0
    Apr 27, 2013
    I am thinking of adding a larger drive now that I've got my original drive PROPERLY imaged. I was wondering about the 4K advanced format alignment nonsense. Since DvdBARS handles the drive formatting, is this something you had considered in a future release?

    WDCV spells it out here: https://wdc.custhelp.com/app/answers/detail/a_id/5655/~/how-to-install-a-wd-advanced-format-drive-on-a-non-windows-operating-system

    Since I am not familiar with Linux, is this something that can be done after the image is installed?

    Thanks again - Rich
     
  10. Apr 29, 2013 #110 of 1474
    jmbach

    jmbach der Neuerer

    1,556
    10
    Jan 1, 2009
    In the TP4 and XL4 models the partition tables and partition sizes have changed ever so slightly that it looks like everything is now 4k aligned. That being said, block sizes are still 512 byte.

    What drive are you looking at.
     
  11. Apr 30, 2013 #111 of 1474
    geekbrain

    geekbrain New Member

    15
    0
    Apr 27, 2013
    I was looking at the WD10EURX. From what I understand, it has to do with the starting point. I have not used JMFS - is that something that can be set?
     
  12. Apr 30, 2013 #112 of 1474
    jmbach

    jmbach der Neuerer

    1,556
    10
    Jan 1, 2009
    As far as I know nothing can be set in JMFS. I bought a WD20EARX and used that for testing images in my 748 (XL) and had no issues with it. FWIW, I have a WD20EURS in my S3 running without issues.
     
  13. May 1, 2013 #113 of 1474
    geekbrain

    geekbrain New Member

    15
    0
    Apr 27, 2013
    jmbach-
    I don't like to confuse 'works' with 'proper' (as in optimized). I picked up the WD10EURX drive (1 TB) and wrote the image from my Premiere (original 320 GB). I have not supersized yet or installed back in the TiVo. I downloaded the G-Parted iso and the drive indicates:

    Heads: 255
    Sectors/track: 63
    Cylinders: 121601
    Total sectors: 1953525168
    Sector size: 512

    According to http://www.fhgfs.com/wiki/wikka.php?wakka=PartitionAlignment, this is not proper for the 4K advanced format drive. I have NOT supersized the drive yet but I don't think that matters.

    I suspect that all the 4K drives may work, but may experience poor performance and mail ultimately fail prematurely. I welcome any comments from Linux experts out there. I did not see a way to use G-Parted to modify nor did it come up with the partition table I've seen posted. From what I gather a starting sector of 2048 is akin to being 'universal' (Windows, RAID, Linux, 512, 4K).

    Anyone?
     
  14. May 1, 2013 #114 of 1474
    jmbach

    jmbach der Neuerer

    1,556
    10
    Jan 1, 2009
    The 2 tuner premieres are not completely 4k aligned because of the bootstrap partitions being 512 bytes long. The first partition after the APM starts at sector 64 which is 4k aligned. The bootstrap partition starts at a 4k boundary but since it is only 512 bytes in size then next partition does not start at a 4k boundary. The 4 tuner premieres are 4k aligned with the bootstrap partition being 4k in size. I have modded a 2 tuner premiere image to give the bootstrap partition a 4k size and aligned the partitions manually. Haven't seen any difference in performance. Here is another article that explains 4k alignment http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/
     
  15. May 1, 2013 #115 of 1474
    geekbrain

    geekbrain New Member

    15
    0
    Apr 27, 2013
    Thanks for clarifying that.
     
  16. May 2, 2013 #116 of 1474
    ggieseke

    ggieseke Active Member

    4,026
    12
    May 30, 2008
    In the long run I think that the actual start of the partitions may be almost meaningless. What other factors are involved like header blocks, inode tables, etc? How often is that part of the disk accessed? How does the drive's internal cache and read-ahead algorithms come into play?

    My Premiere XL came from the factory with an AF drive and most of the partitions are not aligned on 4K boundaries. The MFS media partitions are probably the only ones that really matter, and aligning the blocks that the files live on makes a lot more sense to me than worrying about where the header block starts.

    When I get into the next phase of development (moving & resizing partitions to expand) my instinct is to just follow TiVo's lead and and lay everything out the same way they do for a drive of the same size, then restore the files to their new home one at a time.
     
  17. May 2, 2013 #117 of 1474
    jmbach

    jmbach der Neuerer

    1,556
    10
    Jan 1, 2009
    Looking at the 4 tuner TiVos it appears that they adjusted the bootstrap partitions size so that all the following partitions start on a 4k boundary. What that means, I don't know and I have not looked at the inode tables or any other structures to have an idea if it means anything in the end. Based on the article I referenced, all you can do is align the partitions and it is up to the OS to do the rest.
     
  18. May 2, 2013 #118 of 1474
    ggieseke

    ggieseke Active Member

    4,026
    12
    May 30, 2008
    Yeah, I just don't know for sure at this point and I won't pretend that I do.

    With the current generation of AF drives I don't think it really matters but at some point they're going to have to tackle the issue head on. The days when you could assume that a "sector" means 512 bytes are over, but it's still inherent in everything I've seen on TiVos. My best guess is that they they will radically overhaul the filesystem in the next year or two, but if the open source Nazis keep demanding that they release proprietary code it could *blank* the pooch for all of us.
     
  19. May 2, 2013 #119 of 1474
    jmbach

    jmbach der Neuerer

    1,556
    10
    Jan 1, 2009
    They probably already have started the transformation. The APM in the 4 tuner premieres are no longer in a standard APM format as they are starting to put data in reserved areas of the APM.
     
  20. May 2, 2013 #120 of 1474
    videobruce

    videobruce OTA is still alive

    348
    0
    Nov 30, 2012
    Buffalo NY
    What is a "error 0x00000037 (550)" read error message during the backup process?
    The file showed 294KB after the eror box appeared.

    I was doing a truncated backup from a 500GB drive that was imaged off of a 2 TB.
     

    Attached Files:

Share This Page