<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech4Him - Technology with Integrity &#187; 2950</title>
	<atom:link href="http://blog.tech4him.com/tags/2950/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tech4him.com</link>
	<description>A Christian technology chaos wrangler and his thoughts</description>
	<lastBuildDate>Wed, 24 Mar 2010 23:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu 6.06 Server LTS Installation on Dell PE 2950 / PERC5</title>
		<link>http://blog.tech4him.com/2008/01/ubuntu-6-06-server-lts-installation-on-dell-pe-2950-perc5/</link>
		<comments>http://blog.tech4him.com/2008/01/ubuntu-6-06-server-lts-installation-on-dell-pe-2950-perc5/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 23:34:46 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[2950]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 6.06]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>
Yesterday we finished the installation of a new server. There has
been alot of discussion about how to install Ubuntu 6.06 onto a <a href="http://www.dell.com/content/products/productdetails.aspx/pedge_2950?c=us&#38;cs=04&#38;l=en&#38;s=bsd" target="_blank">Dell
PowerEdge 2950 server</a> with a PERC 5 RAID controller. Really the
discussion has been about support for the PERC 5 controller and linux
kernel's earlier than 2.6.17. The megaraid_sas driver is needed but not properly handled in Ubuntu 6.06 LTS.
</p>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-121" title="pedge_2950_3_overview1" src="http://blog.tech4him.com/wp-content/uploads/pedge_2950_3_overview1-300x131.jpg" alt="pedge_2950_3_overview1" width="300" height="131" />Yesterday we finished the installation of a new server. There has<br />
been alot of discussion about how to install Ubuntu 6.06 onto a Dell<br />
PowerEdge 2950 server with a PERC 5 RAID controller. Really the<br />
discussion has been about support for the PERC 5 controller and linux<br />
kernel&#8217;s earlier than 2.6.17. The megaraid_sas driver is needed but not properly handled in Ubuntu 6.06 LTS.<span id="more-9"></span></p>
<p>We really wanted to use Ubuntu 6.06 LTS because of the long-term<br />
support through 2011 however the kernel with this version does not<br />
properly recognize the raid containers created and manager by the PERC<br />
5 controller. Luckily, we knew this before the server was ordered and<br />
had a number of contingency plans. One of the biggest threads we found<br />
about the topic is <a href="http://ubuntuforums.org/showthread.php?t=226114" target="_new">located here</a> in the Ubuntu forums.</p>
<p>So here is the disk configuration. We had four (4) 250GB SATA drives<br />
with two bays empty. We proceeded to use the <a href="http://releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-i386.iso" target="_blank" class="broken_link">Ubuntu 6.06.1 LTS Alternate<br />
CD</a> to perform the installation. The installation was done with all the<br />
primary defaults. Now when the installer is detecting the networking<br />
hardware it did not detect the two onboard GB Broadcom NICs. No<br />
problem, just continue.</p>
<p>Now came the detection of the hard disks and partitioning. The<br />
installer detected all four (4) physical drives (sda, sdb,sdc and sdd)<br />
AND the only large raid volume (sde). (Note: In Ubuntu 6.10, 7,04 and<br />
7.10, only the one large raid volume was listed and correctly so.) At<br />
this point we selected drive sde, the large raid volume and chose to<br />
use all the available space. This allowed the installer to<br />
automatically create the necessary partitions.</p>
<p>The installation continued until the cd was ejected and the message<br />
to hit enter to continue appeared. At this point, DO NOT hit continue.<br />
Instead we need to modify the grub menu list. So we need to goto a<br />
console by hitting Alt + F2.</p>
<p>We are following some of the items listed in reply #20 of the above<br />
thread. You can use his code as a script or do what we did and do it<br />
manually in order to be sure we had everything correct.</p>
<blockquote><p>chroot /target</p>
<p>echo megaraid_sas &gt;&gt; /etc/mkinitramfs/modules<br />
cp /boot/initrd.img-2.6.15-26-386 /boot/initrd.img-2.6.15-26-386.old<br />
mkinitramfs -o /boot/initrd.img-2.6.15-26-386 2.6.15-26-386</p>
<p>grub-install /dev/sde</p></blockquote>
<p>Here is where we change (hd4,0) to (hd0,0) in menu.lst</p>
<blockquote><p>grep hd4 /boot/grub/menu.lst<br />
cp /boot/grub/menu.lst /boot/grub/menu.lst.orig<br />
sed -e &#8217;s/hd4/hd0/g&#8217; /boot/grub/menu.lst.orig &gt; /boot/grub/menu.lst</p>
<p><code><br />
</code></p></blockquote>
<p>Finally, remember that the two (2) onboard nics were not detected.<br />
The nice things is all we need to do is to add the entries for the<br />
interfaces are added and the bnx2 module driver will be automatically<br />
loaded. The thread mentioned above has you do the following in your script:</p>
<blockquote><p>echo &#8216;<br />
# The Ethernet network interface<br />
auto eth0<br />
iface eth0 inet dhcp</p>
<p>auto eth1<br />
iface eth1 inet dhcp<br />
&#8216; &gt;&gt; /etc/network/interfaces</p>
<p>touch /etc/resolv.conf</p></blockquote>
<p>We simply did the following and decided to goahead and put all the static IP information for the server in now and add the dns servers to the resolv.conf</p>
<blockquote><p>vi /etc/network/interfaces</p>
<p>auto eth0<br />
iface eth0 inet static<br />
address xxx.xxx.xxx.xxx<br />
netmask 255.255.255.0<br />
network xxx.xxx.xxx.0<br />
broadcast xxx.xxx.xxx.255<br />
gateway xxx.xxx.xxx.xxx</p>
<p>auto eth1</p>
<p>iface eth1 inet static<br />
address xxx.xxx.xxx.xxx<br />
netmask 255.255.255.0<br />
network xxx.xxx.xxx.0<br />
broadcast xxx.xxx.xxx.255<br />
gateway xxx.xxx.xxx.xxx</p></blockquote>
<p>And now the resolv.conf</p>
<blockquote><p>touch /etc/resolv.conf</p>
<p>nameserver xxx.xxx.xxx.xxx<br />
nameserver xxx.xxx.xxx.xxx</p></blockquote>
<p>This biggest things is to get the &#8216;root&#8217; entries in the menu.lst<br />
file correct. Below is the last part of our menu.lst file. Notice that<br />
the three &#8216;root&#8217; etries are using hd0,0 instead of what was originally<br />
there, hd4,0.</p>
<blockquote><p>/boot/grub/menu.lst<br />
&#8230;<br />
## ## End Default Options ##</p>
<p>title           Ubuntu, kernel 2.6.15-26-386<br />
root            (hd0,0)<br />
kernel          /boot/vmlinuz-2.6.15-26-386 root=/dev/sde1 ro quiet splash<br />
initrd          /boot/initrd.img-2.6.15-26-386<br />
savedefault<br />
boot</p>
<p>title           Ubuntu, kernel 2.6.15-26-386 (recovery mode)<br />
root            (hd0,0)<br />
kernel          /boot/vmlinuz-2.6.15-26-386 root=/dev/sde1 ro single<br />
initrd          /boot/initrd.img-2.6.15-26-386<br />
boot</p>
<p>title           Ubuntu, memtest86+<br />
root            (hd0,0)<br />
kernel          /boot/memtest86+.bin<br />
boot</p>
<p>### END DEBIAN AUTOMAGIC KERNELS LIST</p></blockquote>
<p>Now press Alt+ F1 to go back to the installer window and hit enter to reboot. That should be it! Now, if for some reason it does not work, don&#8217;t panic. If GRUB is loading but not finding the /root filesystem just go back to the GRUB menu, hit &#8216;e&#8217; to edit the primary menu selection. This takes you to the command line editor, check and be sure (hd0,0) is in the line and not (hd4,0). If not, changeit right there and then hit &#8216;enter&#8217;. When back at the grub menu, hit &#8216;b&#8217; to boot that selection.</p>
<p>Blessings.</p>
<img src="http://blog.tech4him.com/?ak_action=api_record_view&id=9&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.tech4him.com/2008/01/ubuntu-6-06-server-lts-installation-on-dell-pe-2950-perc5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
