* dracut modules
@ 2010-06-24 12:38 Dave Stone
[not found] ` <loom.20100624T143213-57-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Dave Stone @ 2010-06-24 12:38 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
Hi everyone. Are there any documents describing how to add new modules
to /usr/share/dracut/modules.d? I have looked at what is available with RHEL6
Beta 1 version. I would need to insert my own drivers before lvm.
Thanks in advance for your help.
-Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dracut modules
[not found] ` <loom.20100624T143213-57-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
@ 2010-06-24 13:06 ` Amadeusz Żołnowski
2010-06-25 11:21 ` Harald Hoyer
1 sibling, 0 replies; 5+ messages in thread
From: Amadeusz Żołnowski @ 2010-06-24 13:06 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 723 bytes --]
Dave Stone <fsck1234-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>:
> Hi everyone. Are there any documents describing how to add new
> modules to /usr/share/dracut/modules.d? I have looked at what is
> available with RHEL6 Beta 1 version. I would need to insert my own
> drivers before lvm. Thanks in advance for your help.
Yes, there's README.modules in the root of sources directory [0]
(or inside /usr/share/doc/dracut-$version$ if your package manger puts
docs there). Functions like inst are well documented in comments in
dracut-functions script which should be placed in /usr/share/dracut/.
[0] http://sourceforge.net/projects/dracut/
Cheers,
Amadeusz Żołnowski
--
PGP key: 1024D/C284750D
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dracut modules
[not found] ` <loom.20100624T143213-57-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2010-06-24 13:06 ` Amadeusz Żołnowski
@ 2010-06-25 11:21 ` Harald Hoyer
2010-06-25 13:53 ` Dave Stone
1 sibling, 1 reply; 5+ messages in thread
From: Harald Hoyer @ 2010-06-25 11:21 UTC (permalink / raw)
To: Dave Stone; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 06/24/2010 02:38 PM, Dave Stone wrote:
> Hi everyone. Are there any documents describing how to add new modules
> to /usr/share/dracut/modules.d? I have looked at what is available with RHEL6
> Beta 1 version. I would need to insert my own drivers before lvm.
> Thanks in advance for your help.
>
> -Dave
>
own drivers == kernel driver modules?
/etc/dracut.conf:
# additional kernel modules to the default
#add_drivers+=""
or put it in /etc/dracut.conf.d/mykernelmodules.conf
add_drivers+=" mykernelmodule "
or put it on the kernel command line (see man dracut):
rdloaddriver=<drivername>
force loading kernel module <drivername> This parameter can be specified
multiple times.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dracut modules
2010-06-25 11:21 ` Harald Hoyer
@ 2010-06-25 13:53 ` Dave Stone
[not found] ` <loom.20100625T153101-235-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Dave Stone @ 2010-06-25 13:53 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
Harald Hoyer <harald@...> writes:
>
> On 06/24/2010 02:38 PM, Dave Stone wrote:
> > Hi everyone. Are there any documents describing how to add new modules
> > to /usr/share/dracut/modules.d? I have looked at what is available with
RHEL6
> > Beta 1 version. I would need to insert my own drivers before lvm.
> > Thanks in advance for your help.
> >
> > -Dave
> >
>
> own drivers == kernel driver modules?
>
> /etc/dracut.conf:
>
> # additional kernel modules to the default
> #add_drivers+=""
>
> or put it in /etc/dracut.conf.d/mykernelmodules.conf
> add_drivers+=" mykernelmodule "
>
> or put it on the kernel command line (see man dracut):
>
> rdloaddriver=<drivername>
> force loading kernel module <drivername> This parameter can be
specified
> multiple times.
>
Thanks for the responses guys. I have read the REDAME file and other related
docs. I think my first inquiry was not sufficient so I'll try to explain a
little better.
What I'm trying to do is to insert a third party multi-pathing package before
root "/" is mounted. This needs to be done in BFS(boot from SAN)
environment. The equivalent of this with SLES11 was to write 71-setup-MP.sh
and 21-boot-MP.sh scripts. Then use mkinitrd with -f to add this new feature
to the initrd image. I need to simulate the same setup and boot scripts to do
the same thing for RHEL6.
I assume this is possible with dracut. I also think I need to use pre-mount
hook to do this. I'm still not sure of what I should use for two digit
numeric code.
One other question when using rdloaddriver=<drivername> at what stage of boot
process does this driver gets loaded?
Regards,
-Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dracut modules
[not found] ` <loom.20100625T153101-235-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
@ 2010-06-25 13:58 ` Harald Hoyer
0 siblings, 0 replies; 5+ messages in thread
From: Harald Hoyer @ 2010-06-25 13:58 UTC (permalink / raw)
To: Dave Stone; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
On 06/25/2010 03:53 PM, Dave Stone wrote:
> One other question when using rdloaddriver=<drivername> at what stage of boot
> process does this driver gets loaded?
In the beginning, before udev is started.
>
> Regards,
> -Dave
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-06-25 13:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24 12:38 dracut modules Dave Stone
[not found] ` <loom.20100624T143213-57-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2010-06-24 13:06 ` Amadeusz Żołnowski
2010-06-25 11:21 ` Harald Hoyer
2010-06-25 13:53 ` Dave Stone
[not found] ` <loom.20100625T153101-235-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2010-06-25 13:58 ` Harald Hoyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.