曙光A420r-G安裝centos5.5

來源:互聯網
上載者:User


曙光A420r-G安裝centos5.5 一、環境伺服器:曙光 天闊A420r-G作業系統:centos 5.5   x86-64伺服器內建三塊500G硬碟,並通過RAID卡設定為RAID 5磁碟陣列,但在安裝系統的過程中卻一直無法順利安裝,原因就是缺乏raid卡的驅動,於是跟曙光客服聯絡,從隨機導航光碟片中獲得了驅動程式,但由於該驅動程式不是所需要的img格式,所以一直載入不成功。此前通過百度查詢,一一試如下做法,均告失敗。  www.2cto.com   1、將驅動拷貝到u盤(fat32格式),然後在安裝的時候通過linux dd命令載入,失敗2、方法同1,只是u盤格式為fat格式,失敗3、方法同上,只是將u盤格式化為ext3格式,失敗4、同以上各種,將驅動至於u盤根目錄,均失敗看來只有img格式可行了,但手頭沒有img格式的驅動,該如何呢,經網上查詢,可以自己製作img格式的檔案,方法如下 二、製作img檔案下面的代碼是實際操作命令,對紅色的內容添加註釋如下:[root @localhost /]# mkfs.ext3 -m0 /dev/ram1   #將/dev/ram1格式化為ext3檔案系統mke2fs 1.39 (29-May-2006) Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) 4096 inodes, 16384 blocks 0 blocks (0.00%) reserved for the super user First data block=1 Maximum filesystem blocks=16777216 2 block groups 8192 blocks per group, 8192 fragments per group 2048 inodes per group Superblock backups stored on blocks:         8193Writing inode tables: done                            Creating journal (1024 blocks): doneWriting superblocks and filesystem accounting information: done This filesystem will be automatically checked every 21 mounts or180 days, whichever comes first.  Use tune2fs -c or -i to override.[root@localhost /]# mount /dev/ram1 /mnt  #將該目錄mount到目錄/mnt,由於是剛格式化,所以其中內容為空白[root@localhost /]# cd /mnt[root@localhost mnt]# ls  lost+found[root@localhost mnt]# cp /tmp/u/* . #將事先準備好的驅動程式拷貝進去 [root @localhost mnt]# ls  #查看其中的內容install     modinfo        modules.cgz  modules.pcimap  pcitable  rhdd lost+found  modules.alias  modules.dep  pci.ids         readme [root @localhost mnt]# cd .. [root @localhost /]# umount /dev/ram1 #卸載該檔案系統[root @localhost /]# dd if=/dev/ram1 of=/tmp/raid.img #通過dd命令將該檔案系統的內容轉換為img格式的檔案,存放在/tmp目錄下32768+0 records in 32768+0 records out 16777216 bytes (17 MB) copied, 0.683585 seconds, 24.5 MB/s [root @localhost /]# ls /tmp/raid.img /tmp/raid.img [root @localhost /]# ls /tmp/raid.img -lh -rw-r--r-- 1 root root 16M 06-12 11:10 /tmp/raid.img [root @localhost /]# mount /dev/sda1 /mnt #掛載u盤[root @localhost /]# cp /tmp/raid.img /mnt #將做好的img檔案拷貝到u盤[root @localhost /]# umount /mnt [root @localhost /]# umount /dev/sda1  三、安裝centos系統將按照光碟片裝入光碟機,有raid驅動img檔案的u盤插入usb介面,從光碟片啟動,到引導介面後,輸入linux dd斷行符號,當提問do you have a driver disk?時,選yes,然後選擇sda,然後選擇剛製作好的img 檔案raid.img,斷行符號後會載入該驅動檔案,當提問do you want to load any more driver disks?時,選No,接下來就跟普通安裝linux完全相同了。四、說明由於帶有raid卡,所以當raid驅動沒載入成功時,進入安裝介面後,要麼看不到硬碟,要麼看到的不是raid後的硬碟,而是一個個的孤立硬碟,此時雖然可以進行安裝過程,但安裝後無法啟動相同。當raid驅動載入成功後,進入安裝介面後,看到的硬碟將是raid設定後的大小,而不是一個個孤立的硬碟。 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.