You can use existing pc with Knoppix CD or other Linux PC
Extract the aar81xx.rhel4qu2.img.tar.gz file and mount the img file using the following command
# mount -o loop
Copy the modules.cgz file to other location eg : /tmp/module and extract the .cgz file using the zcat command
# zcat /tmp/module/modules.cgz | cpio -id
The modules are extracted to the current directory and find the module from
Copy this module in a floppy/usb
Start the Installation using Linux Disk and type the command “ Linux dd askmethod “ when the installation shows the “No hard drive found error “ , go to Alt+Crtl+F2 for new terminal and mount the module floppy disk
# mkdir /mnt/module
# mount /dev/fd0 /mnt/module
Load the module using the modprobe command
# modprobe /mnt/module/aar81xx.ko
Type the command dmsg for checking the Hard drive is detected or not . If it is loaded the Hard drive details will display.
Switch to Alt+Ctrl+F1 to resume the Installation and at the time of reboot screen comes switch to Alt+Crtl+F2
and add the module “ aar81xx.ko “ to /lib/modules/
eg: cp /mnt/module/aar81xx.ko /lib/modules/2.6.9-34.EL/kernel/drivers/scsi (for centos 4.3)
# echo "alias scsi_hostadapter arr81xx" >> /etc/modprobe.conf
# depmod -ae -F /boot/System.map-
eg. depmod -ae -F /boot/System.map-2.6.9-34.EL 2.6.9-34.EL (for centos 4.3)
Create initrd corresponding to module loaded. Take a backup of old initrd and create new by the following command
# mkinitrd -v -f /boot/initrd-2.6.9-34.EL.img 2.6.9-34.EL
If you want to do the same for smp kernal use the same methods or other wise skip the smp kernel in grub.conf
You may have to use "linux dd askmethod ext3" in the CentOS boot screen
ReplyDelete