CentOs Install issue

Say,

How can I load a driver file once CentOs is installed.
See
http://h30499.www3.hp.com/t5/ProLiant-Servers-ML-DL-SL/Having-hard-times-in-installing-RHEL-6-on-DL120-G6/td-p/4755643

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?
shaunwinginAsked:
Who is Participating?
 
SandyConnect With a Mentor Commented:
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.
0
 
mreith80Connect With a Mentor Commented:
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

and

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

Hopefully these suggestions were a good starting place.

Regards!

Visit my blog at: http://technobloggings.blogspot.com!
0
 
shaunwinginAuthor Commented:
Tx. automatically at boot. Its a Raid Driver.
hpahcisr-1.2.6-9.rhel5.i686.dd
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
mccrackyCommented:
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.
0
 
mreith80Commented:
Alright, so to have the kernel loaded at boot time you can simply edit:

/etc/modules.conf

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

raid-module

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.

Regards,

Michael

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!)
0
 
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?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.