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

Re: cramfs problems, also file(1)



On Mon, Jul 16, 2001 at 02:03:57PM +0200, Russell Coker wrote:
> I am trying to compile my own kernel supporting initrd, but my kernels don't 
> accept the initrd image for some reason.  I get the following kernel messages:
> RAMDISK: Couldn't find valid RAM disk image starting at 0.
> Freeing initrd memory: 1572k freed
> wrong magic
> 
> However inspection of the initrd that I am loading shows it has the right 
> magic (so I presume that the process of loading the initrd is failing 
> somehow).
> 
> The size of the initrd (1572k in this test) matches the size of the file on 
> disk.
> 
> If I repeat the test with everything being the same but use the standard 
> kernel from a kernel-image package in woody then everything works fine.
> 
> Also when I boot my kernel in a non-initrd fashion the following command 
> works:
> mount /boot/initrd-2.4.5 /mnt -o loop
> 
> So the file system driver is working too.
> 
> Any suggestions?

You need a kernel patch for cramfs on initrd, iirc.

Cheers,


Joost



Reply to: