LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-21-2004, 01:03 PM   #1
rbecker
LQ Newbie
 
Registered: Jul 2004
Posts: 4

Rep: Reputation: 0
Kickstarting/ custom os and .modules.conf


Hello,
I am new to 1) linux, 2) to linuxquestions so if I am posting this in the wrong place please bear with me.

Here is what I am trying to accomplish:
I have a system I kickstart with an almost standard version of RH9 2.4.20-8. The difference is that I have added an aacraid rpm that fixes a raid problem. I kickstart the machine and the install occurs properly booting to RH92.4.20-8 properly, with the aacraid package installed and a proper entry in modules.conf for the aacraid driver.
(alias scsi_hostadapter aacraid)

So then I attempt to add in my custom kernel rpm. This rpm as part of its %post processing creates a ramdisk image by using
mkinitrd -f myos.img mykernel

The mkinitrd command errors indicating that the aacraid module can not be found in the mykernel. Which is how I have set it up, because I want to use the original distributions raid driver.

Now as I see it there are two options ( and i am sure as is usually the case I have missed one, two or fifteen).
1- somehow indicate to the mkinitrd routine that there is another place to look for the aacraid module.

2- include the aacraid module into our kernel and have it installed along with mykernel*rpm.

Is it normal to try to cross distribute modules?

thanks,

Rob
 
Old 07-29-2004, 06:36 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
I'm not familiar with raid and also not with initrd...
here are my thougts:

-does the aacraid module have to be loaded during initrd stage or could it not be loaded later in the boot-process? So if the module is loadable with your custom-made kernel-rpm there would not be a problem

-to make things easier (and the kernel-image probably a bit larger) why dont you skip the initrd method of booting completely and just boot your kernel directly - how to do it depends on the method you use to boot - I'm using lilo. But the initrd-method may be the standard RH-way to boot - so you may have to do some changes to some conf files. I've never used RH, so I cant tell you what to do exactly.

-english is not my native language - I don't know what you mean by:
" Is it normal to try to cross distribute modules? "

Jochen
 
  


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
Conf.modules Vs Modules.conf Issue, lost eth0 initialization LinuxFreebie41 Linux - General 3 11-04-2004 06:02 AM
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 06:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:29 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
Open Source Consulting | Domain Registration