Installing RHEL 7 or CentOS 7 on older HP RAID controllers

前言

針對老的硬件安裝新的操作系統(tǒng),無論是Windows還是Linux很多時候都會遇到無法識別磁盤陣列卡的情況,一般情況下通過dd加載官方或者老版本ISO中的驅(qū)動識別RAID陣列卡即可,但這次遇到的HP DL580比較特別,需要修改引導(dǎo)參數(shù)來解決,詳細原因可以參考擴展閱讀。本文主要以在HP DL580上部署RHEL 7為例,靈感來源于國外的一篇文章Installing CentOS 7 on older HP ProLiants,在此表示由衷的感謝。

使用hpsa.hpsa_allow_any=1忽略控制器檢測識別磁盤陣列


更新記錄

2015年12月03日 - 初稿

閱讀原文 - http://wsgzao.github.io/post/cciss/

擴展閱讀


Problem

A quick google brought up this StackOverflow article.

CentOS 7 x64 and HP Proliant DL360 G5 SCSI Controller compatibility - http://serverfault.com/questions/611182/centos-7-x64-and-hp-proliant-dl360-g5-scsi-controller-compatibility

PROBLEM: RHEL7 removes the the the CCSIS driver and you need to load the kernel component correctly before it can see any drives.

There are two parts to this install:

  1. Loading the kernel component for the installer (or rather allow HPSA to load any old driver)
  2. Altering the bootloader to ensure that on boot the kernel uses the same HPSA directives, otherwise after install it’ll boot and guess what… it won’t see your drives!

RHEL 7

第一次安裝

  1. 加載RHEL 7.1的ISO鏡像引導(dǎo)至安裝畫面
  2. 選擇Install Red Hat Enterprise Linux 7.1
  3. 按一下Tab,在quiet后空格加入quiet hpsa.hpsa_allow_any=1
  4. 按步驟一路執(zhí)行,識別硬盤開始安裝

安裝重啟修復(fù)引導(dǎo)

  1. 加載RHEL 7.1的ISO鏡像引導(dǎo)至安裝畫面
  2. 選擇Trubleshooting→Rescue a Red Hat Enterprise Linux system
  3. 按一下Tab,在quiet后空格加入quiet hpsa.hpsa_allow_any=1
  4. 按步驟一路執(zhí)行,識別硬盤掛載系統(tǒng)分區(qū)至/mnt/sysimage
  5. 手動修改/boot/grub2/grub.cfg,重啟后進入系統(tǒng)
chroot /mnt/sysimage
cd /boot/grub2/grub.cfg
cp grub.cfg grub.cfg.bak

vi grub.cfg
#在啟動菜單處quiet空格加入?yún)?shù)
quiet hpsa.hpsa_allow_any=1

#保存退出重啟
:x
exit
init 6

CentOS 7

CentOS 7 and older HP RAID controllers - http://jordanappleson.co.uk/linux/2014/09/18/centos-7-and-hp-raid-drivers/

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容