Kernel panic with reiserfs as root
Joel Hammer
Joel
Mon May 17 11:46:38 PDT 2004
Never have I seen such bad documentation as with mkinitrd. I couldn't figure
out how to use it from the man page. Naturally, I tried mkinitrd -h. This is
what it showed:
mkinitrd: initial ramdisk creation utility.
usage: mkinitrd <options> output_file
options: --help this screen
-h
--ignore ignore devices.inf / harddrive.inf files
-n
--debug print debugging information
-d
--include <module> include <module>
-i <module>
--kernel <version> set kernel version (override default)
-k
--preload <module> ensures that <module> is loaded first.
-l NOTE: no dependancy checking!
Note the complete lack of consistency with the manpage.
mkinitrd [-k] [-d confdir] [-m command] -o outfile [-r root]
This was when I gave up on mkinitrd.
Joel
On Sun, Apr 20, 2003 at 07:07:11AM -0700, Ken Moffat wrote:
> 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 ........
>
>
>
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list