Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26th November 2004, 02:09 PM
GiLuX's Avatar
GiLuX Offline
Registered User
 
Join Date: May 2004
Posts: 82
loading modules in fc3?

i'm following a howto on encryption and i need to load cryptoloop

"# modpobe cryptoloop" works fine but i need to load the module at boot

so it says to add it to modprobe.conf

but how?

by just putting it into modprobe.conf gives syntax errors.

where can i find fedora documentation on modprobe.conf since the fedora.redhat.com site doesnt offer any documentation at all and i cant figure it out from the man pages!
Reply With Quote
  #2  
Old 26th November 2004, 02:19 PM
neo2k.dk's Avatar
neo2k.dk Offline
Registered User
 
Join Date: Nov 2004
Location: Denmark
Age: 26
Posts: 10
Heres a tip, i don't know if it is the best way to do it

open up /etc/rc.local
and add all the cmds you want at boot in there, like "modprobe cryptoloop"
__________________
neo2k
Reply With Quote
  #3  
Old 26th November 2004, 02:22 PM
GiLuX's Avatar
GiLuX Offline
Registered User
 
Join Date: May 2004
Posts: 82
thx, but i don't think that will work since i want to mount an encrypted partition at boot and etc/rc.local gets read after the mounting process.
Reply With Quote
  #4  
Old 27th November 2004, 06:55 PM
GiLuX's Avatar
GiLuX Offline
Registered User
 
Join Date: May 2004
Posts: 82
really nobody else?
Reply With Quote
  #5  
Old 27th November 2004, 07:24 PM
andreac Offline
Registered User
 
Join Date: Nov 2004
Posts: 49
Well, I think there is nothing wrong in the output errors of modprobe.conf. It specify only aliases and module options. Reading /etc/rc.d/rc.sysinit I find this:

# Load modules (for backward compatibility with VARs)
if [ -f /etc/rc.modules ]; then
/etc/rc.modules
fi

Perhaps you can add there your request, or before the mounting process. These are only some ideas, I haven't tested it. Cant'you build the feature directly into kernel? Maybe also some research about initrd can help.

Last edited by andreac; 27th November 2004 at 07:25 PM. Reason: sintax error
Reply With Quote
  #6  
Old 29th November 2004, 10:50 AM
GiLuX's Avatar
GiLuX Offline
Registered User
 
Join Date: May 2004
Posts: 82
ok, so i could just add:
modprobe cryptoloop
safely somewhere after the "initializing hardware" part or would this be a very silly thing to do?
Reply With Quote
  #7  
Old 29th November 2004, 11:21 AM
andreac Offline
Registered User
 
Join Date: Nov 2004
Posts: 49
I think that, where possible, it's better to not modify system scripts. I would try first to add modprobe statement in /etc/rc.modules.
Reply With Quote
Reply

Tags
fc3, loading, modules

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading modules in F11? mcmackin Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 2 24th May 2009 06:18 PM
FC6 : prevent modules from loading gedouard Using Fedora 0 27th October 2006 12:06 PM
Prevent certain modules from loading StarQuake Hardware & Laptops 3 14th June 2005 12:50 AM


Current GMT-time: 05:57 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat