LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2004, 02:27 PM   #1
Travers
Member
 
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111

Rep: Reputation: 15
Use mkinitrd to include module in kernel


How would I use mkinitrd to include a raid module in my kernel so support for raid is loaded so I can boot off root in a RAID array? This is for a installiation to RAID, so would I have to use the rescue utility?
 
Old 07-23-2004, 02:35 PM   #2
enygma
Member
 
Registered: Mar 2003
Distribution: CentOS 5.2
Posts: 43

Rep: Reputation: 15
Edit the /etc/sysconfig/kernel file and make sure it has the following line:

INITRD_MODULES="<module name>"

make sure that the drivers for the RAID are available for the running kernel version, then run this to install the module:

/sbin/insmod /lib/modules/<kernel version>/kernel/drivers/scsi/<modulename>.o

then you can run mk_initrd to create the necessary initrd file. If you are using Grub, this should be the final step.

Note: These steps are assuming a SuSE installation. They may or may not work under Fedora.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mkinitrd and module options rnturn Linux - Software 3 02-14-2005 10:21 PM
howto create module dependencies especially for mkinitrd david.skinner Linux - Software 0 01-10-2005 12:55 PM
recompile kernel to include module samfrog88 Linux - Software 1 01-06-2005 06:28 PM
mkinitrd failed with message "no module raid0 found for kernel 2.6.9" ythevenot Red Hat 3 12-07-2004 09:15 PM
how can i recompile the kernel and include the vfat module? kublador Linux - General 6 02-22-2003 11:56 AM


All times are GMT -5. The time now is 09:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration