cramfs initrd, make-kpkg, dpkg-www (Re: [PLUG] cramfs)

Karl M. Hegbloom karlheg at pdxlinux.org
Sun Jan 5 23:20:02 UTC 2003


On Fri, 2003-01-03 at 14:16, Marvin J. Kosmal wrote: 
> I  get this message on boot.
> 
> cramfs: wrong magic
>
> What is cramfs??????

http://www.pdxlinux.org/doc/kernel-doc-2.4.18/

(ObArchive: the version number part will likely change in the future)

http://www.pdxlinux.org/doc/kernel-doc-2.4.18/Documentation/filesystems/cramfs.txt.gz


Debian kernel's have been patched (the patch is supposed to have been
submitted upstream, and may make it into the mainstream kernel at some
point) to support a cramfs initrd.  You are booting without an initrd,
and it prints that message on booting.  (Perhaps the patch should be
updated to have it suppress that confusing error message?)

The Debian "kernel-package"'s make-kpkg generated .deb's have a
postinstall script that calls on the "initrd-tools" to generate a
potentially customized initrd image on installation of the
"kernel-image".  RTFM:

https://www.pdxlinux.org/cgi-bin/dpkg?search=++Search++&query=kernel-package
https://www.pdxlinux.org/cgi-bin/dpkg?search=++Search++&query=initrd-tools

(I hope that we don't get "cracked" by somebody who digs around in there
and finds software versions with remote exploits...  I suppose that it
COULD happen, but that it probably won't, and that exposing this tool is
beneficial enough to the group to be worth that small risk.)

-- 
karlheg






More information about the PLUG mailing list