3 - updating the driver – HighPoint RocketRAID 2340 User Manual
Page 63

Linux Driver Support
5-13
Step 4 Configure System to Automatically Load the Driver
To avoid typing in “insmod rr2340.o” each time the operating system is booted, the
system must be instructed to automatically load the module during bootup. To install
the module, type in the following commands (first change to the directory where the
proper rr2340.ko file is located):
1.
Edit the file “/etc/sysconfig/kernel”, and add the rr2340 module to the line
“INITRD_MODULES=…”
Example:
NITRD_MODULES=“reiserfs rr2340”
2.
Run the “depmod” command to update the module configuration:
# depmod
3.
Next, run the “mkinitrd” command to update the initrd file:
# mkinitrd
4.
If you are using the lilo boot loader, run lilo again:
# lilo
Step 5 Configure System to Mount Volumes during Startup
The system can be instructed to automatically mount the array(s) during startup by
modifying the file“/etc/fstab”.
For example, add the following line to tell the system to mount /dev/sda1 to location /
mnt/raid after startup:
/dev/sda1 /mnt/raid ext2 defaults 0 0
3 - Updating the Driver
To update the driver, simply reinstall the driver following the steps in previous
section, “ Install RocketRAID 2340 Driver on an Existing System ”.
Note: If the driver is loaded in initrd (when system is installed onto a disk or array
attached to the RocketRAID 2340), you need to run the mkinitrd command to update
the initrd file. If you are using the lilo boot loader, run lilo again (# lilo).