Installing solaris 10 on hp dl380

From KeegansWiki
Revision as of 12:35, 18 March 2010 by Keegan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The following is a basic tutorial on installing Solaris 10 on a HP DL380 G5. The steps are relatively the same for most HP servers. The problem lies int he fact that Solaris 10 (1/06) doesn't support this hardware by default. I got an error 'No disks found' during the installation process. Below is my solution.

Preparing the Server

Raid

I tried doing this without configuring a raid of the disks, but that didn't work. So, i created a 1+0 raid of two 142 gig drives.

Drivers

In order for Solaris to recognize your new raid disk, you'll need to install some drivers. here are the disk drivers for a HP dl380 G5. I encountered problems with the 2.x versions, so 1.70 worked for me. If you have a different HP server, go to hp.com, search for it, and find the disk drivers.

Download that tar file, gunzip / untar it. In the folder, you will see CPQary3.iso. Burn this to a cd. (Note: you can put the .pkg file on a usb drive, mount it, and use that instead of the cd. More on that later)

Installing Solaris 10

  • Boot off the Solaris Install disk like normal.
  • At the boot menu, select 'Install Drivers' which is option 5.
  • Insert the cdrom you burned the CPQary ISO to
  • Enter 'c' for CDrom, then press enter. It will install the drivers, tell you to put the Solaris install disk back in, and press enter
  • Continue the Solaris interactive installation like normal

Note: if you went the USB route, boot in to Single User Mode off the install CD, mount the USB drive, and pkgadd the package that was in the tar file

Post Install Issues

Boot Loop

Immediately after installing Solaris, my installation got stuck in a boot loop. Right after the grub screen, i would see a flash of text, then the system would reboot.

  • At the grub menu, highlight the first solaris option (the default boot choice), and hit e
  • select the kernel option, and hit e again
  • add the following to the end of the kernel line: ' kernel/unix' (no quotes, and note the space!)

You should now be able to boot. To make it permanent, add the same ' kernel/unix' string to /boot/grub/menu.lst. It should look something like this:

title Solaris 10 1/06 s10x_u1wos_19a X86
root (hd0,0,a)
kernel /platform/i86pc/multiboot kernel/unix
module /platform/i86pc/boot_archive

Network Drivers Missing

So now you've got a bootable Solaris 10 OS installed on a HP server, yay! But guess what...no network drivers (boo!) This was a pain for me to figure out, but once I got it, It's pretty simple.

  • Download the Hp Dl380 g5 network drivers here (if you don't have a hpdl380 g5 i dont know if these will work...get yours from the hp site)
  • gunzip / untar
  • cd to BRCMbnx-4.6.2-solaris10-i386/bnx
  • Depending on your Solaris version, you will need to cd to either gldv2 (any version of Solaris 10), or cd to gldv3 (Solaris 10 8/07 or beyond).
  • In here, simply run 'pkgadd -d BRCMbnx.pkg' and install the package

Now you have bnx0 and bnx1 as your inerfaces. Voila!