[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initrd not loading



On Mittwoch 27 Oktober 2004 20:00, you wrote:
> As far as I know, you can only use an initrd image with an uncompressed
> kernel. This may not apply to 2.6 kernels. 
> 
> (From some notes I have)
> 
> To uncompress a compressed kernel:
> objcopy -j .kernel:vmlinux -O binary vmlinuz vmlinux.gz
> 
> To tell if a kernel is compressed:
> readelf -l <unknown kernel binary> | grep '.kernel:vmlinux'
> if it contains a '.kernel:vmlinux' section, then that means it's a
> zImage (ie compressed kernel)
> 

Oups. I didn't notice the answer - sorted out for some reason :-/

Thanks for the reply. I just tried to load an uncompressed kernel
and it seems that it even tries to load the ramdisk. Now I get:

RAMDISK: cramfs filesystem found at block 0
RAMDISK: image too big! (5156/4096 blocks)

Seems that I've to use some more kernel parameters or set the
compile time option for the ramdisk size...

Thanks,
Cajus