Advertisement
josacar

Ubuntu10.04_LTS-amd64-install.txt

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