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

Re: How to fix "Couldn't find valid RAM disk image starting at 0"?

Rob Weir wrote:
> On Mon, Feb 10, 2003 at 11:55:54PM -0500, Daniel Barclay wrote:
> > When I try to boot a new kernel, it says:
> Hmmm...have you rerun lilo?

Yes.  I couldn't be booting the new kernel if I hadn't.

Anyway, I did find the Debian Reference Chapter 7 (
) which helpfully says:

    Manoj Srivastava wrote: 
        --initrd requires a Debian-only cramfs patch

but which unhelpfully doesn't say how to get the damn patch!

Next, it says:

    Herbert Xu wrote: 
        No it does not, all you have to do to use a filesystem other 
        than CRAMFS is to set MKIMAGE in /etc/mkinitrd/mkinitrd.conf.

Of course, it doesn't say anything about what you can set MKIMAGE to
do that.

My etc/mkinitrd/mkinitrd.conf says:

   MKIMAGE='mkcramfs %s %s > /dev/null'

but no other mk*fs executable on my system takes the same arguments
that mkcramfs does.

It seems that make-kpkg can only build Debian-customized kernel source
unless you really know what you're doing.

Any pointers to how to build a generic kernel (with make-kpkg)?


Daniel Barclay

Reply to: