lkml.org 
[lkml]   [1999]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bzImage decompression
On Mon, 27 Sep 1999, Pascal Schmitt wrote:

> Hi,
>
> For a very particular thing, I need to decompress a bzImage in order to
> get the uncompressed kernel ( I need an uncompressed kernel for a bootp
> client on a linux bootp server, but I don't have enough place to store
> two kernels on it : compressed and uncompressed, so I will uncompress
> its kernel).
> I take the bzImage, remove the bootsect.s and setup.s header to get the
> compressed kernel. but I can't unzip it because the extracted kernel
> does not begin with gzip magic number (0x1f,0x8b|| 0x9e). But it should
> (if I look to arch/i386/boot/compressed/misc.c and gunzip() ).
>
> Why ??
>
> thanx for any clue or advice.
>
> /pascal.

You could always use the uncompressed image, vmlinux, which in the
top directory after a build. Otherwise, uncompress bzImage first.

Cheers,
Dick Johnson
**** FILE SYSTEM WAS MODIFIED ****
Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.028 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site