CentOs Install issue


How can I load a driver file once CentOs is installed.

These are instructions to do at end of install.
press CTRL+ALT+F2
cp -a /tmp/ramfs/DD-0 /mnt/sysimage/tmp
chroot /mnt/sysimage
cd /tmp/DD-0
sh ./fix_driver_order
cd /
press CTRL+ALT+F6 and click reboot

Also how can I load a CDRom driver?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

There are a number of methods you can use to properly setup a driver.

I suppose one of my first questions would be, are you wanting to have this module/driver automatically loaded at boot, or would you simply like to install it on demand.

If you are wanting to install it on demand you would need to identidy the driver required, for example, cd81591 you would run from the prompt:

modprobe -v cd81591, you could also attempt the same with insmod cd81591.

So before we proceed to much further,

A:  Do you know the name of the driver you are wanting to load


B: Are you wanting to have this done automatically at boot.

Hopefully these suggestions were a good starting place.


Visit my blog at: http://technobloggings.blogspot.com!
shaunwinginAuthor Commented:
Tx. automatically at boot. Its a Raid Driver.
you can pass a "--preload <driver>" on the kernel line of grub.

Or you need to make sure it is specified correctly in modprobe.conf and run your mkinitrd stuff to generate the boot image.  Those routines should pick up what's needed from modprobe.conf.
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

Alright, so to have the kernel loaded at boot time you can simply edit:


simply enter the name of the driver you want to load:


On a separate line and you are good to go.  To see a list of currently enabled modules you can type:

lsmod at the command prompt to ensure it's being loaded as well.

Let me know if this helps.



E-Mail: mreith@gmail.com
Blogsite: http://technobloggings.blogspot.com
Twitter:  http://www.twitter.com/therealmreith
YouTube: http://www.youtube.com/technoblob (work in progress, visit back for updates and our premiere!)
shaunwinginAuthor Commented:
Tx mreith80

This is

[root@harrow ~]# lsmod
Module                  Size  Used by
ppp_synctty            13633  0
ppp_async              15169  1
ppp_generic            30037  6 ppp_synctty,ppp_async
slhc                   10433  1 ppp_generic
ipv6                  270305  38
xfrm_nalgo             13381  1 ipv6

Is used by 0 == no loaded?
How do I filter only the loaded ones pls...

Also I've no modules.conf only a modprobe.conf in etc
Should there be a modules.conf?
Look !!!

If you have done with RAID configuration in system then i suggest to boot up the system with linux dd and then once installation is done you need to redesign the disk arch in order to function the meta device otherwise /dev/sda will be usable only and another disks will be idle. Then follow below steps.

press CTRL+ALT+F2
cp -a /tmp/ramfs/DD-0 /mnt/sysimage/tmp
chroot /mnt/sysimage
cd /tmp/DD-0
sh ./fix_driver_order
cd /
press CTRL+ALT+F6 and click reboot

NOTE: i prefer using the FDD instead of CD rom for this purpose.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.