Results 1 to 6 of 6

Thread: Merging images

  1. #1
    Join Date
    Oct 2004
    Posts
    269

    Merging images

    I don't know a better description for it, so I apologize for the bad topic title.

    I have hacked a 4.01b image that I got, only to find out that all partitions weren't backed up, so when I view the now playing list, it has live TV in the background. So, I've got another 4.01b image which is supposed to be clean and perfect. My question is....

    Can I perform the following and not have to reapply all the hacks?
    With current hacked drive
    dd if=/dev/hda6 of=/dev/hdc1/part6.bak
    dd if=/dev/hda7 of=/dev/hdc1/part7.bak


    Apply clean image to current hacked drive
    dd if=/dev/hdc1/part6.bak of=/dev/hda6
    dd if=/dev/hdc1/part7.bak of=/dev/hda7

    check bootpage to make sure all the extras (upgradesoftware=false, etc) are there and that it's set to use /dev/hda7.

    Will it boot up with all the hacks but with the background "movies" during menus and such? Or am I just barking up the wrong tree?

  2. #2
    Join Date
    Aug 2004
    Posts
    4,085
    Quote Originally Posted by snowman
    ... Or am I just barking up the wrong tree?
    wrong tree. The background animations are stored in MFS, not in the kernel or root partitions.

  3. #3
    Join Date
    Oct 2004
    Posts
    269
    Quote Originally Posted by Jamie
    wrong tree. The background animations are stored in MFS, not in the kernel or root partitions.
    I think we have a disconnect here Jamie. I'm backing up the part 6 and 7 on my hacked drive (to keep from having to rehack again), applying a DIFFERENT image which is supposed to be clean and have the background images, then putting my pre-hacked 6 and 7 pair over the 6/7 pair on the clean image, thus bringing back my hacks and kernels. Does that change your answer?

  4. #4
    Join Date
    Aug 2004
    Posts
    4,085
    Quote Originally Posted by snowman
    I think we have a disconnect here Jamie. I'm backing up the part 6 and 7 on my hacked drive (to keep from having to rehack again), applying a DIFFERENT image which is supposed to be clean and have the background images, then putting my pre-hacked 6 and 7 pair over the 6/7 pair on the clean image, thus bringing back my hacks and kernels. Does that change your answer?
    oops. Sorry. Too early in the morning. Yes, I think that would probably work in concept, as long as you don't put anything in /var. But your dd commands are all wrong. A path like "/dev/hdc1/part6.bak" makes no sense. Where are you going to store your backups? You can't leave them on the tivo as that will be overwritten by the new image. You need to get them off your tivo disks onto a PC disk somewhere. You could dd them to a netcat pipe to transfer them across the net.

    I suspect you don't have to backup the full root partition though. What areas did you modify? Probably only /lib/modules, /etc/rc.d and a new "hacks" directory you created somewhere.
    Last edited by Jamie; 12-02-2004 at 08:48 AM.

  5. #5
    Join Date
    Oct 2004
    Posts
    269
    DOH... yep, too early in the morning for me too... yep, target will be a mount point...

    I have patched tivoapp, so I want that, etc. My hacks are on their own partition, so I probably ought to back that up too . Thanks for confirming that the theory is correct.

  6. #6
    Join Date
    Jan 2002
    Posts
    5,601
    Another point - you may get strange results (menus with strange headers, etc) if the two images are of different versions.

    PlainBill
    There's a difference between needing help, and just being plain ole' lazy.

    "You cannot teach a man anything. You can only help him find it for himself." Galileo Galilei (1564-1642)

    HR20-700 with 2 TB, HR22-100, HR22-100, HR22-100, HR23-100 all running 0x5cd and networked.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •