Messages in this thread | | | Date | Mon, 27 Sep 1999 12:43:16 -0400 (EDT) | From | "Richard B. Johnson" <> | Subject | Re: 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/
| |