PDA

View Full Version : 2008 Hacking Tivo Kernel 7_2.2_O


Skippye
02-10-2008, 05:41 PM
I am attempting to hack a S2 16004 Tivo using the ptvupgrade $5.00 cd which contains the above kernel. I located the kernel on the CD and did the following:
cd /mnt
mkdir hack
cd hack
mkdir kernels
cd kernels (I am successful up to this point now the trouble)

cp /cdrom/s2_kernels/7_2.2_O/vmlinux.px.gz ( I get an error as follows)

Busybox 1.00 multi binary etc.

My command line is obviously wrong but I am not sure what is right???
What am I doing incorrectly?

crashHD
02-10-2008, 06:23 PM
looks like incomplete cp command. cp requires parameters for both a source path and a destination path

cp /path/to/original/file /path/to/new/copy

Skippye
02-10-2008, 06:54 PM
It is my understanding that if I place a period after gz that the file should be copied to the same directory in this case "kernels" Is it possible that my path is wrong to the kernel on the CD? Using winrar I can locate the s2_kernel folder. When I open it I see another folder 7_2.2_O and when I open that folder I see vmlinux.gz without a px

crashHD
02-10-2008, 08:26 PM
{.} or {./} is shorthand for the current directory, for example, if my bash prompt is currently at /home and I type {cp /cdrom/booger.txt .} it should copy booger.txt from /cdrom to /home.

In the example you listed, if you want to copy that kernel.gz to /hack/kernels, the command would be:
{cp /cdrom/s2_kernels/7_2.2_O/vmlinux.px.gz /hack/kernels}

Skippye
02-10-2008, 11:47 PM
cp /cdrom/s2_kernels/7_2.2_O/vmlinux.px.gz is apparently not the correct command for the CD as the file cannot be found. Is it 7.2.2?? Can someone look at the CD to see what is the correct filepath??

labbie48
02-11-2008, 12:57 AM
Duh? Can't you look at the CD and see the correct name of the path to the kernel? Not trying to be a smart a$s but what seems to be your problem? Look under the S2_kernels directory for 7.2.2 and the kernel is vmlinux.px.gz

Skippye
02-11-2008, 07:54 AM
I can certainly accept a smart ass but have you looked at the CD yourself or are you shooting from the hip? 7_2.2_O or 7.2.2 or vmlinux_.gz or whatever. If it is so simply why don't you give em the exact command line?

crashHD
02-11-2008, 08:26 AM
I can certainly accept a smart ass but have you looked at the CD yourself or are you shooting from the hip? 7_2.2_O or 7.2.2 or vmlinux_.gz or whatever. If it is so simply why don't you give em the exact command line?

This is not remedial linux for kindergarteners. Making a little effort on your own is required. Getting lippy with the folks that are spoonfeeding you is a sure way to end up hungry.

Browse the cd from your command prompt. An {ls} command will list the files and directories in your current directory.

Learn how to use the {TAB} key at a Linux command line. It will prevent you from ever typing the wrong pathname again. Google "Linux bash tab".

quato_dc
02-12-2008, 08:27 AM
Also, most people do not do things from the exact copy of the CD that you have purchased. We don't know what things are named on your CD, where your files are located.

As stated above, people are willing to help you, but you are required to do some really basic stuff yourself..
I.E. do a directory listing. Copy down the file names, etc..

The more active members are REALLY helpful, but don't abuse their assistance.

tvtyme
02-13-2008, 03:20 AM
I am attempting to hack a S2 16004 Tivo using the ptvupgrade $5.00 cd which contains the above kernel. I located the kernel on the CD and did the following:
cd /mnt
mkdir hack
cd hack
mkdir kernels
cd kernels (I am successful up to this point now the trouble)

cp /cdrom/s2_kernels/7_2.2_O/vmlinux.px.gz ( I get an error as follows)

Busybox 1.00 multi binary etc.

My command line is obviously wrong but I am not sure what is right???
What am I doing incorrectly?

Me thinks the "O" in '7_2_2.2_O' is really numeral zero. Therefore, the source file name is /cdrom/s2_kernels/7_2.2_0/vmlinux.px.gz. Also, I'm assuming you're doing this from a PC booted using the ptvupgrade CD, and /mnt is mounted on the Active root filesystem of your Tivo drive.

L8r

PlainBill
02-13-2008, 06:31 AM
Also, don't forget the kernel on the cd is gzipped. You'll have to extract it from the archive before dd-ing it to the boot partition. Note: Do NOT trust any windows based archive program (winrar, etc) to do this properly.

PlainBill

Skippye
02-13-2008, 10:15 AM
I truly appreciate those who assist me as I learn. On the other hand assuming that I am being lazy or not attempting to educate myself are simply wrong. Comments like "This is not remedial linux for kindergarteners" or "but you are required to do some really basic stuff yourself..", serve no useful purpose. I have busted my rear end trying to figure these matter out. I have a tremendous knowledge of windows systems, networking including advanced server work. I am just learning linux and have advanced but not to a point that some of you want me to be. These forums are filled with much cryptic information which probably makes sense to someone knowledgeable in linux but not someone who is trying to learn the system. It is like yelling at a person who does not speak english thinking that they will then understand what you are saying!

Skippye
03-02-2008, 05:16 PM
I have visited every relevant website I could find however I am still unable to access the kernel on the CD

jt1134
03-02-2008, 06:42 PM
What exactly is it that you are trying to accomplish by hacking this box? Since extraction is already enabled via tivo-to-go, I can't really see what you're wanting out of it. You've started 2 threads, one of which is 2 pages long just to find where a file is located on a cd. If you cannot figure THAT out, then stop trying to hack this box. You will gain NOTHING from doing so, and the members here will not continue holding your hand if you can't even figure out how to use cp and ls on your own. It's BRUTALLY easy. My 16 year old brother whose computer experience consists of visiting myspace once a day could figure it out. Before you respond, just bare in mind, I am not trying to be rude. I am being REALISTIC.

socaljj
03-03-2008, 08:02 AM
I bought the disk that you are talking about (about 5 mo ago) and the file structure on my cd is:

s2_kernels/7.2.2-oth-K1/vmlinux.px.gz