{"id":6316,"date":"2016-10-11T16:12:09","date_gmt":"2016-10-11T08:12:09","guid":{"rendered":"http:\/\/rmohan.com\/?p=6316"},"modified":"2016-10-11T16:13:05","modified_gmt":"2016-10-11T08:13:05","slug":"centos7-on-an-hp-g5-dl380","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6316","title":{"rendered":"Centos7 on an HP G5 DL380"},"content":{"rendered":"<p>Starting with RHEL\/EL7 the drivers for the raid controller card, the P400i, are no longer loaded in by default. When you go to install Centos 7 on one of these you will likely see that it doesn\u2019t detect your LD.<\/p>\n<p>When you boot up and go into the install, press <code class=\"highlighter-rouge\">tab<\/code> to get to your install options. From here append <code class=\"highlighter-rouge\">hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1<\/code> to your boot options.<\/p>\n<p>The install should now pick up on your LD and you should be able to install as normal. After you reboot however you\u2019ll have to make this more permanent. At the grub screen press <code class=\"highlighter-rouge\">e<\/code> to get back to your boot options. From here append<code class=\"highlighter-rouge\">hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1<\/code> again so that you can get into the machine.<\/p>\n<p>Once you\u2019re logged in open up <code class=\"highlighter-rouge\">\/etc\/default\/grub<\/code> and add these options to the file. The file should now look something like:<\/p>\n<div class=\"highlighter-rouge\">\n<pre class=\"highlight\"><code>GRUB_TIMEOUT=5\r\nGRUB_DEFAULT=saved\r\nGRUB_DISABLE_SUBMENU=true\r\nGRUB_TERMINAL_OUTPUT=\"console\"\r\nGRUB_CMDLINE_LINUX=\"rd.lvm.lv=centos\/root rd.lvm.lv=centos\/swap crashkernel=auto rhgb quiet hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1\"\r\nGRUB_DISABLE_RECOVERY=\"true\"\r\n<\/code><\/pre>\n<\/div>\n<p>Now run <code class=\"highlighter-rouge\">grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/code> and reboot the machine. It should be detected from now on each time you boot.<\/p>\n<p><strong>Success!<\/strong><br \/>\n<em>note: hpssacli installed separately<\/em><\/p>\n<div class=\"highlighter-rouge\">\n<pre class=\"highlight\"><code>[root@localhost ~]# hpssacli ctrl all show config\r\n\r\n\r\nSmart Array P400 in Slot 1                (sn: P61620E9SV69YJ)\r\n\r\n\r\n   Port Name: 1I\r\n\r\n   Port Name: 2I\r\n\r\n   Internal Drive Cage at Port 1I, Box 1, OK\r\n\r\n   Internal Drive Cage at Port 2I, Box 1, OK\r\n   array A (SAS, Unused Space: 0  MB)\r\n\r\n\r\n      logicaldrive 1 (546.8 GB, RAID 6, OK)\r\n\r\n      physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SAS, 146 GB, OK)\r\n      physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SAS, 146 GB, OK)\r\n      physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 146 GB, OK)\r\n      physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 146 GB, OK)\r\n      physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SAS, 146 GB, OK)\r\n      physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SAS, 146 GB, OK)\r\n\r\n\r\n\r\n<\/code><\/pre>\n<h1><a title=\"Installing RHEL 7 or CentOS 7 on older HP RAID controllers\" href=\"https:\/\/wsgzao.github.io\/post\/cciss\/\">Installing RHEL 7 or CentOS 7 on older HP RAID controllers<\/a><\/h1>\n<\/div>\n<p>For older hardware installed a new operating system, either Windows or Linux will encounter very often does not recognize the disk array card case, under normal circumstances loaded official or older ISO driving identification card to the RAID array through dd, but HP DL580 encountered this rather special, you need to modify the boot parameters to resolve, you can refer to the detailed reasons for extended reading. In this paper, in order to deploy RHEL 7 on HP DL580, for example, was inspired by an overseas article Installing CentOS 7 on older HP ProLiants, to express my sincere thanks.<\/p>\n<blockquote><p>Use hpsa.hpsa_allow_any = 1 ignore the detection and recognition of a disk array controller<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h3 id=\"?????\">First installation<\/h3>\n<ol>\n<li>RHEL 7.1 loaded ISO image to boot installation screen<\/li>\n<li>select<code>Install Red Hat Enterprise Linux 7.1<\/code><\/li>\n<li>Click <code>Tab<\/code>, in the quiet space added<code>hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1<\/code><\/li>\n<li>Step by step all the way to execution, to identify the drive to start the installation<\/li>\n<\/ol>\n<h3 id=\"????????\">Installation restart repair guide<\/h3>\n<ol>\n<li>RHEL 7.1 loaded ISO image to boot installation screen<\/li>\n<li>select<code>Trubleshooting?Rescue a Red Hat Enterprise Linux system<\/code><\/li>\n<li>Click <code>Tab<\/code>, in the quiet space added<code>hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1<\/code><\/li>\n<li>Step by step all the way to execution, to recognize the hard disk partition mount system<code>\/mnt\/sysimage<\/code><\/li>\n<li>Manually modify <code>\/boot\/grub2\/grub.cfg<\/code>, reboot into the system<\/li>\n<\/ol>\n<figure class=\"highlight bash\">\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<pre><span class=\"line\">1<\/span>\r\n<span class=\"line\">2<\/span>\r\n<span class=\"line\">3<\/span>\r\n<span class=\"line\">4<\/span>\r\n<span class=\"line\">5<\/span>\r\n<span class=\"line\">6<\/span>\r\n<span class=\"line\">7<\/span>\r\n<span class=\"line\">8<\/span>\r\n<span class=\"line\">9<\/span>\r\n<span class=\"line\">10<\/span>\r\n<span class=\"line\">11<\/span>\r\n<span class=\"line\">12<\/span>\r\n<span class=\"line\">13<\/span>\r\n<span class=\"line\">14<\/span>\r\n<span class=\"line\">15<\/span><\/pre>\n<\/td>\n<td class=\"code\">\n<pre><span class=\"line\">chroot \/mnt\/sysimage<\/span>\r\n<span class=\"line\"><span class=\"built_in\">cd<\/span> \/boot\/grub2\/<\/span>\r\n<span class=\"line\">cp grub.cfg grub.cfg.bak<\/span>\r\n\r\n<span class=\"line\">grub.cfg VI <\/span>\r\n<span class=\"line\"><span class=\"comment\"># quiet office space was added in the boot menu parameters, please note that there are two carefully screened<\/span><\/span>\r\n<span class=\"line\"> quiet hpsa.hpsa_simple_mode = <span class=\"number\">1<\/span> hpsa.hpsa_allow_any = <span class=\"number\">1<\/span><\/span>\r\n\r\n<span class=\"line\"><span class=\"comment\"># Save and exit reboot<\/span><\/span>\r\n<span class=\"line\"> : X <\/span>\r\n<span class=\"line\"><span class=\"built_in\">Exit<\/span><\/span>\r\n<span class=\"line\"> the init <span class=\"number\">. 6<\/span><\/span>\r\n\r\n<span class=\"line\"><span class=\"comment\"># After restarting stuck<\/span><\/span>\r\n<span class=\"line\"> you can try the second rescue startup items to try<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<div class=\"highlighter-rouge\">\n<pre class=\"highlight\"><code>\u00a0<\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Starting with RHEL\/EL7 the drivers for the raid controller card, the P400i, are no longer loaded in by default. When you go to install Centos 7 on one of these you will likely see that it doesn\u2019t detect your LD.<\/p>\n<p>When you boot up and go into the install, press tab to get to your [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6316"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6316"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6316\/revisions"}],"predecessor-version":[{"id":6318,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6316\/revisions\/6318"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}