PDA

View Full Version : Sleeper Graphic Diagram of Partitions -- Requesting your input in completing it.


HectorGonzales
09-17-2004, 04:24 PM
Hi, I would be happy to have input from people on completing this diagram to help people with little Linux experience make the jump to the Sleeper mods on a Series 2 DirecTivo. Specific clarifications on the Sleeper partitons is what I am after here.(what they are and where they are and how they are used or not used).

Your help is appreciated. See my attached DRAFT Image.

psxboy
09-17-2004, 05:26 PM
Well, this has been covered in other threads. But here's the partition layout info you're looking for:

Partition
1: Apple Partition Map (the actual partition table)
2: Bootstrap 1 (unused, available for hacks storage)
3: Kernel 1
4: Root 1
5: Bootstrap 2 (unused, available for hacks storage)
6: Kernel 2
7: Root 2
8: Swap Partition
9: /var Partition
10-??: MFS Partitions

In a Tivoscripts-modified Tivo, one of the kernel/root pairs contains your actual operating system and the other pair contains the 31U5 kernel and filesystem. A romfs image is also present in the last partition on the drive (usually partition 16 on a drive that has been expanded once) that contains the monte software.

On a Tivo that has been hacked with Tivoscripts, bootpage -b will point to the 31U5 kernel and bootpage -a will point to your real kernel. So you power up the Tivo, it checks the kernel in your active partition (31U5 in this case), loads it, that kernel runs it's initrd checks on it's filesystem (the 31U5 minimal filesystem in this case) and starts to boot, the BASH_ENV hack takes over, mounts the romfs image from the last partition, checks which partition to load based on the one that booted, monties into the real kernel which has it's initrd disabled and the boot process continues normally after that.

-psxboy

HectorGonzales
09-17-2004, 06:03 PM
Thanks PSX, I realize this has been covered in many other threads to differing degrees BUT your clear and concise summary has helped me complete my partition diagram .... thanks for not flaming me on this.. I'll post the revised diagram soon with your input included.

Hector G.

blueman2
09-18-2004, 01:35 PM
Hector,

I had the same questions regarding partition mapping when using Sleeper ISO. My collection of info led me to the following:

1: Apple Partition Map
3: initial 3.1u5 boot kernel
4: minimal boot file system for 3.1u5
6: 2.4.18 kernel used during normal operations (for 4.01b)
7: Root file area where most of the system files are (except /var)
9: the /var directory
10-13: MFS files (recorded shows, screen icons and images, sounds, etc)
14-15: Not sure, but Sleeper script calls them "Added Pair", whatever that is
16: Apple Free partition where ROMFs are loaded

On some systems, 3/4 and 6/7 are reversed. My data also applies to the 4.01b hack using sleeper method.

Of course, with the new methods out there now, the Sleeper method is quickly becoming obsolete (but props to Sleeper for making this easy for people to get started!).

mrbillpsu00
09-18-2004, 02:40 PM
Of course, with the new methods out there now, the Sleeper method is quickly becoming obsolete (but props to Sleeper for making this easy for people to get started!).

I used's Sleeper's Tivo Scripts months ago - and I feel it was probably one of the best methods out there for people with limited knowledge of what they were doing.

What other methods have replaced Sleeper - I'm considering moving my DSR7000 from the "TivoScripts 1.02" method to having v4.x on it so I can take advantage of the HMO stuff...

~Bill