On Tue, 30 Nov 2004, Dan Kaspi wrote:

> Hello,
>
> Thanks for your answer and the link; it was really a very
> interesting lesson.

[.. snip ..]

> So I ran dd like thus (I am not sure that I used the dd correctly as
> I don't use it frequently):
>
> First,I used skip=11 for 1 sector of boot sector and 10 of setup
> code , as the od shows.
>
> dd bs=512 skip=11 if=bzImage of=kernel
>
> and :
>
> file kernel
> gives:
>
> kernel: data
> since it's not an ELF file,I ran strings:

this is not ok - it sohuld have been a gzip file.

> but running strings kernel | egrep memcpy
> gives nothing.

ofcourse - you need to uncompress it first.

did you try the second thing i wrote there (copied from the HOWTO i
mentioned) - i.e. to scan for the signature of gzip, extracting that data,
gunzipping it and then running 'strings'?

-- 
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to