I'm trying to get HMO working on my HDVR2 without hacking the kernel (yet). I downloaded a copy of bootpage from Erik Rainey's site and I'm trying to use it to flip the boot partitions after copying a 4.0.1a kernel to the alternate partition. Contrary to what this post says http://www.dealdatabase.com/forum/sh...ad.php?t=30688 bootpage is reporting the boot partitions as 4/7 on the virgin tivo disk:
# bootpage -a -b -p /dev/hdc
Alt Partition: 4
Boot Partition: 7
root=/dev/hda7
To copy the kernel I do this:
# tivopart r /dev/hdc
# dd if=vmlinux-4.0.1a.px of=/dev/hdc4
3203+1 records in
3203+1 records out
When I flip the partitions it appears to work correctly:
# bootpage -f -C /dev/hdc
Writing new bootpage to "/dev/hdc"............. <snip> ....done
# bootpage -a -b -p /dev/hdc
Alt Partition: 7
Boot Partition: 4
root=/dev/hda7
However when I try to boot the Tivo it repeatedly resets after displaying the initial powering up screen for a while. I also tried changing the parameter in bootpage to point to the other root partition:
# bootpage -P "root=/dev/hda4" -C /dev/hdc
but this resulted in the same behavior. After flipping the boot partition back to the (presumably) untouched kernel, it still hangs which probably indicates that bootpage is clobbering something.
There's more than one question here...
Am I using bootpage properly?
If so, do I have a buggy version? (source is dated Apr 10, 2003)
Is there a better way to do what I'm trying to do?



Reply With Quote