求助,Ubuntu 10.04安装时不识别raid1硬盘

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
webappl
帖子: 17
注册时间: 2009-12-07 22:46

求助,Ubuntu 10.04安装时不识别raid1硬盘

#1

帖子 webappl » 2010-09-20 18:48

打算安装ubuntu到一个ibm的服务器上,
目前服务器上有2块一样的scsi硬盘,2块一样的sata硬盘,各自组成raid 1
raid卡是ServeRAID M1015 SAS/SATA Controller
但是安装ubuntu时认不出硬盘来
应该是ubuntu没有相应的驱动
网上有人提供了一个驱动文件megaraid_sas.ko,见http://ubuntuforums.org/showthread.php?t=1507344
请问在安装ubuntu时怎么加载这个驱动文件呢?

另外有其他的解决办法吗?

谢谢先
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: 求助,Ubuntu 10.04安装时不识别raid1硬盘

#2

帖子 leeaman » 2010-09-20 18:52

不清楚...换个server版本试试看?
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
webappl
帖子: 17
注册时间: 2009-12-07 22:46

Re: 求助,Ubuntu 10.04安装时不识别raid1硬盘

#3

帖子 webappl » 2010-09-20 19:05

leeaman 写了:不清楚...换个server版本试试看?
用的就是ubuntu的server版
webappl
帖子: 17
注册时间: 2009-12-07 22:46

Re: 求助,Ubuntu 10.04安装时不识别raid1硬盘

#4

帖子 webappl » 2010-09-20 22:02

安装过程中怎么才能加载raid驱动程序呢?
在线等
头像
blambin
帖子: 283
注册时间: 2009-09-22 17:00
系统: arch , win10
联系:

Re: 求助,Ubuntu 10.04安装时不识别raid1硬盘

#5

帖子 blambin » 2010-09-20 22:53

google search 你的标题。。 :em06
目前已經全面轉移 至 洗发水神教
头像
qiang_liu8183
论坛版主
帖子: 10699
注册时间: 2006-09-10 22:36
系统: Arch Debian
来自: 北京

Re: 求助,Ubuntu 10.04安装时不识别raid1硬盘

#6

帖子 qiang_liu8183 » 2010-09-20 23:30

还是软raid好配一些,硬raid驱动就是恶梦
看破、放下、自在、随缘、念佛
真诚、清净、平等、正觉、慈悲
webappl
帖子: 17
注册时间: 2009-12-07 22:46

Re: 求助,Ubuntu 10.04安装时不识别raid1硬盘

#7

帖子 webappl » 2010-09-21 0:39

一个叫lechien73的人回答了在安装时加载驱动的方法,转贴如下(稍作了修改)
原文见我在ubuntuforums问的帖子 http://ubuntuforums.org/showthread.php?t=1578282

First you will need to copy the driver to a floppy disk or USB stick. During the text-based part of the installer, but before it starts to probe for hardware drivers, do the following:

* Press Ctrl-Alt-F2 to switch to a BusyBox prompt
* Insert the floppy that contains your driver file
* Type:

代码: 全选

      mkdir /mnt/floppy
      mount /dev/fd0 /mnt/floppy
      cp /mnt/floppy/megaraid.ko  /lib/modules/2.6.32-24-generic/kernel/drivers/scsi/
**因为我是用usb disk的,所以我用的是如下代码(毕竟软盘很少了)

代码: 全选

      mkdir /mnt/usb
      mount -t vfat /dev/sda1 /mnt/usb
      cp /mnt/usb/megaraid.ko  /lib/modules/2.6.32-24-generic/kernel/drivers/scsi/
**如果目录/lib/modules/2.6.32-24-generic/kernel/drivers/scsi/不存在,需要mkdir ...

* Press Ctrl-Alt-F1 to switch back to the installation, and allow the install to go ahead.

Note that the kernel version I have supplied in the 'cp' command (2.6.32-24-generic) may be different for your install. I have taken this from a stock Ubuntu Server 10.04.1 installation CD. To see what version you have, type:

代码: 全选

uname -r
at the BusyBox prompt.

附带说明一下,以上的方法还没有测试是否有效,因为在安装ubuntu server时必须上网update,偏偏要装的这台机器还没法接入网络,崩溃
webappl
帖子: 17
注册时间: 2009-12-07 22:46

Re: 求助,Ubuntu 10.04安装时不识别raid1硬盘

#8

帖子 webappl » 2010-10-24 18:29

webappl 写了:一个叫lechien73的人回答了在安装时加载驱动的方法,转贴如下(稍作了修改)
原文见我在ubuntuforums问的帖子 http://ubuntuforums.org/showthread.php?t=1578282

First you will need to copy the driver to a floppy disk or USB stick. During the text-based part of the installer, but before it starts to probe for hardware drivers, do the following:

* Press Ctrl-Alt-F2 to switch to a BusyBox prompt
* Insert the floppy that contains your driver file
* Type:

代码: 全选

      mkdir /mnt/floppy
      mount /dev/fd0 /mnt/floppy
      cp /mnt/floppy/megaraid.ko  /lib/modules/2.6.32-24-generic/kernel/drivers/scsi/
**因为我是用usb disk的,所以我用的是如下代码(毕竟软盘很少了)

代码: 全选

      mkdir /mnt/usb
      mount -t vfat /dev/sda1 /mnt/usb
      cp /mnt/usb/megaraid.ko  /lib/modules/2.6.32-24-generic/kernel/drivers/scsi/
**如果目录/lib/modules/2.6.32-24-generic/kernel/drivers/scsi/不存在,需要mkdir ...

* Press Ctrl-Alt-F1 to switch back to the installation, and allow the install to go ahead.

Note that the kernel version I have supplied in the 'cp' command (2.6.32-24-generic) may be different for your install. I have taken this from a stock Ubuntu Server 10.04.1 installation CD. To see what version you have, type:

代码: 全选

uname -r
at the BusyBox prompt.

附带说明一下,以上的方法还没有测试是否有效,因为在安装ubuntu server时必须上网update,偏偏要装的这台机器还没法接入网络,崩溃
因为有人问我如何安装成功没有,因此特地说明一下
1. 如果要安装Ubuntu 10.04 LTS,必须要下载版本为10.04的ubuntu,而不是10.04.1
2. 到LSI的官方网站下载 MegaRAID SAS 9240-4i / 9240-8i针对ubuntu 10.04的驱动
3. 按照下载的驱动文件包里的readme进行安装(其实就是上面写的步骤)

另外,现在的10.10版本已经支持ibm ServeRAID m1015了
huangzuoran
帖子: 12
注册时间: 2014-08-22 19:32
系统: ubuntu 14.04 LTS

Re: 求助,Ubuntu 10.04安装时不识别raid1硬盘

#9

帖子 huangzuoran » 2014-08-25 19:49

Ubuntu 14.04 LTS 的LSI的版本针对的是哪个型号,谢谢!急需要用。
回复