Kernel panic with reiserfs as root

Ken Moffat kmoffat
Mon May 17 11:46:38 PDT 2004


Joel Hammer wrote:

>No, but I downloaded mkinitrd. The instructions for it were a bit beyond me.
>I did not see where mkintrd allowed for building a file system, which
>seemed to be part of the initrd.gz that came with lindows.
>
>The initrd.gz when unzipped and mounted with mount -o loop a la the
>step by step showed a file system with bin, etc,modules, proc, a few
>modules (reiserfs among them) and also some devices (console, ram0 ?)
>and some binaries like insmod. I just couldn't see how to create this
>from mkinitrd. 
>  
>

hmm... isn't that what mkinitrd does?

from the man page:

NAME
       mkinitrd - make an initrd image

SYNOPSIS
       mkinitrd  [-k]  [-d  confdir]  [-m  command] -o outfile [-r root] 
[mod-
       uledir]

DESCRIPTION
       The mkinitrd script constructs a directory structure that can 
serve  as
       an initrd root file system.  It then generates an image 
containing that
       directory structure using mkcramfs(8), which can be  loaded  
using  the
       initrd mechanism.  The kernel modules placed in the directory 
structure
       will be taken from moduledir.  This  defaults  to  
/lib/modules/$(uname
       -r).

       The  directory  structure  can  be  customised  by ........





More information about the Linux-users mailing list