PDA

View Full Version : What commands should I use?


SpaceTraveler
12-22-2004, 03:56 AM
I'm going to try to hack my HR10-250. I have already made a backup which contains the old kernel! I'm pretty new to linux, so will someone please tell me the commands I would need to type to copy that kernel to a floppy, and then copy the kernel to the TiVo drive I want to work with? I know I could simply make another copy of the backup and the kernel would already be there, but I have shows on this one already that I would like to keep.

Any help would be appreciated!
SpaceTraveler

NutKase
12-22-2004, 08:58 AM
I'm going to try to hack my HR10-250. I have already made a backup which contains the old kernel! I'm pretty new to linux, so will someone please tell me the commands I would need to type to copy that kernel to a floppy, and then copy the kernel to the TiVo drive I want to work with? I know I could simply make another copy of the backup and the kernel would already be there, but I have shows on this one already that I would like to keep.

Any help would be appreciated!
SpaceTraveler

Your post is confusing. Maybe someone else can follow it but I can't.

Ok,

1. You made a backup of your unhacked tivo.

2. I'm lost already... It seems that you're confusing 'kernel' with a full mfsbackup of your tivo but I really have no idea...

Do you have 2 tivos? ...or 2 drives?


NutKase

captain_video
12-22-2004, 09:36 AM
There's a whole thread dedicated to the various newbie guides that have surfaced over the years. I suggest you start there for help in learning the basics.

SpaceTraveler
12-23-2004, 01:10 AM
Sorry, I didn't explain what I meant well enough. Here's what I meant: after I got my HR10-250 I made a backup copy of the hard drive. Now I want to copy the kernel from the backup onto a floppy. Then, I can copy the kernel onto the current drive I'm using so I can use killhdinitrd on it, since I can't use killhdinitrd on the new kernel currently on the drive in my TiVo.

To summarize, I have one TiVo, the drive I'm currently using in it, and a backup I made shortly after I bought it. The guides I have seen don't have instructions that explain how to copy a kernel to and from a floppy. I hope that clears things up this time, sorry.

SpaceTraveler

NutKase
12-23-2004, 12:45 PM
Sorry, I didn't explain what I meant well enough. Here's what I meant: after I got my HR10-250 I made a backup copy of the hard drive. Now I want to copy the kernel from the backup onto a floppy. Then, I can copy the kernel onto the current drive I'm using so I can use killhdinitrd on it, since I can't use killhdinitrd on the new kernel currently on the drive in my TiVo.

To summarize, I have one TiVo, the drive I'm currently using in it, and a backup I made shortly after I bought it. The guides I have seen don't have instructions that explain how to copy a kernel to and from a floppy. I hope that clears things up this time, sorry.

SpaceTraveler

Ok, You won't be able to get the kernel from a compressed backup of your tivo drive w/out expanding it as far as I know.

It probably won't fit on a floppy anyway. I'm looking at 4 or 5 kernels all the way from 3.3.x to 4.0.1x and they're over 1.44mb, most 1.5 to 1.6.

Anyway, all you have to do is:

1. Determine which is your active partition set with bootpage.
2. dd out the active kernel to a FAT32 drive

dd if=/dev/hdx6 of=/mnt/tivo/vmlinux.px

(x= c, b, d... wherever you installed your tivo drive in the computer,
hda6 assumes you got 7 as active root in step 1 like most stock HDTivos,
/mnt/tivo = assumes you mounted your FAT32 drive to /mnt/tivo)

3. killhdinitrd vmlinux.px (I'm tired of typing commands)
4. dd vmlinux.px back to the active tivo kernel partition
5. Install hacks on the active root partition that you got from bootpage in step 1.


NutKase

NutKase
12-23-2004, 01:05 PM
Uh, I just noticed the thread title...

If you want more 'commands' to type read the
Newbie Guide Index (http://www.dealdatabase.com/forum/showthread.php?t=37434) thread again. I assume you've already read it before since you should read all the stickied threads there to learn what's going on.

Anyway, you should find a 'guide' written specifically for your tivo model, that will not teach you anything (which is why I'm anti-guide) but will be packed with commands that you shouldn't run until you know what they're going to do.

When you know what the commands are doing, by reading and researching this forum, you should be able to use a guide and just tweak the commands if necessary to suit your situation.

Good Luck. Post here if you have problems.


NutKase

SpaceTraveler
12-23-2004, 08:51 PM
I didn't know the kernels were that big. Thank You for the help!

SpaceTraveler