VMware
1 2 Previous Next 24 Replies Last post: Feb 22, 2009 10:46 AM by Stan007  

Installing ESXi on whiteboxes? Were your sata disks not detected? Try this... posted: Aug 29, 2008 3:17 PM

Click to view thingy's profile Novice 20 posts since
Sep 2, 2006

Installing ESXi on whiteboxes where the installer mistakenly(?) detects the sata controllers as IDE interfaces

  • Use the instructions on this blog for creating a bootable usb stick with the contents of the ESXi installation ISO. These instructions will show you a simple way of updating the pci.ids and simple.map files so that your sata controller is recognised by ESXi.

http://www.grid.org/blog/cameron/development-using-vmware-server-esxi
+
http://www.grid.org/blog/cameron/updating-vmware-esxi-disk-dump-file

  • Boot from the usb stick and once you get to the Welcome to the VMware ESX Server screen, hold down Ctrl + Alt and press F1 to switch to a different console

  • Login as root with a blank password

  • If you have followed the instructions in the above blog and your sata disks were detected by vmkernel then check the output of the following commands to confirm this:


    • fdisk -l
    • ls /dev/disks
    • esxcfg-vmhbadevs

  • All of the above commands should show you some vmhbaXX devices, where one of these will be the usb stick and others will be your sata disks.If these don't show you a vmhbaXX device other than your usb stick, then either the vmkernel didn't recognise your disks(check pci.ids/simple.map files) or your controller is not supported at all

IMPORTANT: ESXi seems to format ALL usable disks installed into the system during the installation and so do not keep any data on the machine you are installing ESXi onto. It should be a totally bare metal machine whose contents can be trashed!

  • Change directory to the /usr/lib/vmware/installer/Core/ folder
cd /usr/lib/vmware/installer/Core/
  • Use the vi editor to modify the TargetFilter.py file

  • In the IDEFilter() function, change the return line so that it matches what is shown below:
Original line: return interface.GetInterfaceType() == ScsiInterface.SCSI_IFACE_TYPE_IDE
Modified line: return interface.GetInterfaceType() == ScsiInterface.SCSI_IFACE_TYPE_ISCSI
  • Save the file and run the installer again by typing in:
install

NOTE: It seems the installer automatically switches the console upon running and so you need to switch back to the first console by holding down CTRL+ALT and pressing F1

You should be able to continue with the install as normal from now on.

Reply to this thread if this worked or not. Also, this is COMPLETELY unsupported by VMware as you are using hardware not in their certified as compatible list!


Click to view nick.couchman's profile Champion 4,969 posts since
Jan 13, 2006
On some of the SuperMicro machines just switching the BIOS configuration for the SATA controller from "Legacy" to either "Native" or "Enhanced" seems to work, fine, too.
Click to view joonny's profile Novice 8 posts since
Aug 31, 2008

Hi thingy,

how can I create the simple and pci files ??

thanks.

Click to view Dave.Mishchenko's profile Guru 8,948 posts since
Nov 15, 2005
You would modify the existing ones - http://www.vm-help.com/esx/esx3i/customize_oem_tgz.php. What are you trying to accomplish?
Click to view joonny's profile Novice 8 posts since
Aug 31, 2008

Hi there,

I am trying to install esx3i on my pc that I just bought for this.

CPU:amd5200+

4gb

MB: GA-MA78GM-S2H

Can I install esxi 3 ?

regards,

Click to view Dave.Mishchenko's profile Guru 8,948 posts since
Nov 15, 2005
What sort of storage controller and NIC do you have? Here's a list of what ESXi will recognize (no guarantee that all the compents will work) - http://www.vm-help.com/esx/esx3i/Hardware_support.php. If you have a storage / NIC controller that isn't on the list you will be out of luck but

1) You can install ESXi to an IDE drive (assuming ESXi recognizes the IDE controller) - http://www.vm-help.com/esx/esx3i/ESXi_install_to_IDE_drive/ESXi_install_to_IDE_drive.php
2) You could try booting from USB (but you would then need another NFS / iSCSI server for VM storage - http://www.vm-help.com/esx/esx3i/Boot%203i%20from%20USB%20flash%20drive.html
3) You can add a cheap SATA controller / NIC to get ESXi to work on the PC - http://www.vm-help.com/Whitebox_HCL.php
Click to view joonny's profile Novice 8 posts since
Aug 31, 2008

Thing is

I have added the compatible Nic(intel one), means only problem is storage controller issue.

My question is,

Can I still install esxi 3.5 on the "Gigabyte GA-MA78GM-S2H
Local SATA not tested (added LSI MegaRaid 150)
"with the workaround "thingy"'s step.

or the workaround also has limited on "unsupported but working"Mother board ?

thanks.

Click to view Dave.Mishchenko's profile Guru 8,948 posts since
Nov 15, 2005
Are you able to get the PCI ids for the storage controller. The spec page seems to list an AMD storage controller, in which case I think you'll be out of luck.

The solution given above deals with the situation in which a controller
1) can function in IDE / SATA modes
2) has an entry in the pci id database files for the IDE mode.

This doesn't deal with hardware that is not listed and doesn't have a driver for it.
Click to view joonny's profile Novice 8 posts since
Aug 31, 2008

Hi thingy,

Thanks for the reply.

Now, I have following situation.

I bought 2systems of : amd 5200+, 4GB, Intel Nic, ma78gm-s2h(mb)

However it does require Megaraid card to complete the esx installation. I thought I could use all the steps you have described, however it did not work.

Seems I have to replace m/b or cpu&m/b together because amd m/b list has way less than intel ones.

Can you please recommend me what should I do ? I am in sydney and we do not have all the m/b in the list due to discontinued or small market.

I am thinking of replacing the cpu and m/b (actually buying).

Any idea ?

Thanks again.

Click to view Dave.Mishchenko's profile Guru 8,948 posts since
Nov 15, 2005
However it does require Megaraid card to complete the esx installation. I thought I could use all the steps you have described, however it did not work.

You would need to add either a supported storage controller or on that works. The megaraid 150 is such an example, but there are other options.

Seems I have to replace m/b or cpu&m/b together because amd m/b list has way less than intel ones.
I wouldn't worry about the list having less AMD systems - you'll just need to get a controller that will work.
Can you please recommend me what should I do ? I am in sydney and we do not have all the m/b in the list due to discontinued or small market.
Are you going this for production or test? If it's test you could add an adaptec SCSI card, or something like the Megaraid 150-4.
Click to view joonny's profile Novice 8 posts since
Aug 31, 2008

its going to be test environment, and the cost of getting the megaraid 150-4 is more than replacing the m/b:

NEW LSI Logic MegaRAID SATA 150-4 RAID Storage Adapt...http://pics.ebaystatic.com/aw/pics/s.gif

http://pics.ebaystatic.com/aw/pics/paypal/logo_paypalPP_16x16.gif http://pics.ebaystatic.com/aw/pics/bin_15x54.gif $240.99 Free

Also Scsi card, means I have to get another 2 sets of scsi drive.


Click to view joonny's profile Novice 8 posts since
Aug 31, 2008

This is great that I can use that SATA controller : Promise SATA300 TX2plus

Thanks Thingy, now I have 2 questions left... hehe.

1. Would this be only low profile ? means, I need to find another normal size one for my med size desktop pc case ?

2. With this controller, should I still go through all the workaround way to install esxi 3.5 or esx 3.5 ?

Thanks again thingy.

regards,

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities