Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-23-2004, 03:27 PM   #1
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, 03:35 PM   #2
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.


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 11:21 PM
howto create module dependencies especially for mkinitrd david.skinner Linux - Software 0 01-10-2005 01:55 PM
recompile kernel to include module samfrog88 Linux - Software 1 01-06-2005 07:28 PM
mkinitrd failed with message "no module raid0 found for kernel 2.6.9" ythevenot Red Hat 3 12-07-2004 10:15 PM
how can i recompile the kernel and include the vfat module? kublador Linux - General 6 02-22-2003 12:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 PM.

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