Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ubuntu 10.04 LTS Server AMD64 x64 Installation Instructions:
- 1. Copy "megaraid_sas.ko"
- Copy "initrd.img-2.6.32-21-server" to an USB-key
- 2. Boot off Ubuntu-xx cd, Until a screen Detect disks said "No disk drive was detected"
- 3. Insert your USB-key, select for <Go back>, press on Detect disks
- 4. Press ALT+F2. exit to console
- 5. fdisk -l (scan for device, assume my USB-key is /dev/sda1)
- 6. mkdir /mnt2 ; mount /dev/sda1 /mnt2
- 7. uname -r (verify that your kernel is 2.6.32-21-generic)
- 8. cp -f /mnt2/megaraid_sas.ko /lib/modules/2.6.32-21-generic/kernel/drivers/scsi/megaraid
- 9. cp -f /mnt2/initrd.img-2.6.32-21-server /etc
- 10. umount /dev/sda1 and remove your USB-key from the installation system
- 11. Press ALT+F1 to return to Unbuntu installer screen and select "Go back", next screen select "Detect disks" press enter
- (Expect MegaRAID driver get load and display disk partition)
- Proceed to installation
- 12. DO NOT REBOOT after Ubuntu is done. Exit to console again (ALT+F2)
- Check for kernel version
- 13. ls -l /target/boot (expect to see kernel 2.6.32-21-server)
- 14. cp -f /etc/initrd.img-2.6.32-21-server /target/boot/initrd.img-2.6.32-21-server
- Press ALT+F1 to return to the installer screen and REBOOT
- ****** NOTE ******
- Instructions for recompiling/updating megaRAID sas driver
- 1. sudo -s (must login as root)
- 2. apt-get install build-essential ; apt-get install libncurses5 ; apt-get install libncurses5-dev
- 3. apt-get install linux-headers-<new-kernel>
- 4. cd /usr/src ; ln -s linux-headers-<new-kernel> linux
- 5. tar zxvf megaraid_sas-v00.00.05.21-src.tgz ; cd /usr/src/v00.00.05.21
- 6. make οΏ½C /lib/modules/<new-kernel/build/ M=`pwd` (recompile megaraid_sas source)
- 7. cp megaraid_sas.ko /lib/modules/<new-kernel>/kernel/drivers/scsi
- 8. rm /boot/initrd.img-<new-kernel>
- 9. update-initramfs -c -k <new-kernel>
- Replace <new-kernel> with actual kernel version eg 2.6.32-21-generic
- URL: http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/megaraid_sas_8888elp/
- INTEL: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=18570&lang=eng
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement