Re: creating custom initrd

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

 



Rick Stevens wrote:
On Fri, 2007-11-09 at 15:14 -0600, Aaron Konstam wrote:
  
On Fri, 2007-11-09 at 17:33 +0100, info@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
wrote:
    
Is it possible to define which modules mkinitrd should add to the initrd?

I have a custom initrd, but after every kernel upgrade, it recreates the
initrd. When it does this,
I loose the extra module I need, so I end up recreating the initrd
myself again.

I know in Ubuntu and Debian there is a file somewhere in /etc/sysconfig
that defines the modules
to use when building the initrd. But I have yet to find this file in Fedora.

      
The --with option in mkinitrd
    

mkinitrd will load any modules required to mount the root filesystem
(e.g. SCSI, ext3, network [if / is on an NFS volume], etc.)  If you need
additional modules, then "--with=name-of-module" is required.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-  Animal testing is futile.  They always get nervous and give the   -
-                             wrong answers                          -
----------------------------------------------------------------------

  
Yea, but when installing a new kernel, this "new" module would not be added to the new initrd.
I have fedora installed, and sometimes I use vmware to load it, and sometimes I just boot
to it. When I boot it, without using vmware, I need the sata_nv driver, but when I use vmware, it's not
needed (some other vmware drivers are needed though).

On Debian you would add the module to "/etc/mkinitrd/modules". Every time a new kernel would
be installed it would recreate an initrd with the module(s) defined in that file. I was trying to find something
like that on Fedora.
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux