SNFS

Step 7 Change directory (cd) into /usr/src and create a link to the kernel source. Enter:

#cd /usr/src

#ln -s linux-2.4.19.SuSE linux-2.4

Step 8 Change directory (cd) into linux-2.4 and delete any leftover config files in the directory. Copy the original config file into the current directory and re-name the .cfg file. Enter:

#cd linux-2.4

#cp /boot/vmlinuz.config /usr/src/linux-2.4/.config

Step 9 Configure the kernel, build the kernel, build the modules and install the modules. Enter:

#make oldconfig

#make dep bzImage modules modules_install

Step 10 Copy the kernel into the /boot directory. Edit the /etc/sysconfig/kernel line that reads INITRD_MODULES="aacraid reiserfs" to include qla2300.

Step 11 Create a ramdisk. Enter:

#pwd /usr/src/linux-2.4

#cp `find . -name bzImage` /boot/vmlinuz-suse

#grep INITRD /etc/sysconfig/kernel

INITRD_MODULES="aacraid reiserfs"

#vi /etc/sysconfig/kernel

#grep INITRD /etc/sysconfig/kernel INITRD_MODULES="aacraid reiserfs qla2300"

#cd /boot

#mkinitrd -k vmlinuz-suse -i initrd-suse

Setting Up StorNext FS on Linux

5-7

Page 69
Image 69
ADIC 2.2 manual # make oldconfig # make dep bzImage modules modulesinstall