Development Using VMWare Server ESXi

Cameron's picture

As the number of supported platforms (OS and Arch) for my software projects has increased I have been using VM's as development platforms more frequently. Personally I like VMWare's suite of free products as a VM solution and with their recent release of ESXi, I am even more impressed. 

While ESXi has had its issues...such as the recent one of slashdot fame where you couldn't power on your VM's if the hosts date was Aug 12, 2008 or later, it is still a solid platform with a tremendous feature set. The biggest problem we ran into was the hardware support. As we had just bought 4 new Quad Core 4GB RAM boxes to run VM's (orginally we were using vmware server) we wanted to use ESXi. Our boxes had the intel ICH8 chipset, though, and this is unsupported in ESXi, so we had to do a little hacking.

The first step was creating a live USB stick from the ESXi iso...this isn't too tough. You need a recent linux box with "syslinux". I used a Fedora 8 box, so the steps I followed assume that...

  1. Plug your USB stick in and mount the root partition (in my case 'mount /dev/sde1 /mnt/usb')
  2. Mount the ESXi iso locally (in my case 'mount -o loop esx-iso.iso /mnt/iso')
  3. Copy all of the files from the iso to the usb stick (cp -r /mnt/iso/* /mnt/usb)
  4. Copy the isolinux.cfg file to syslinux.cfg on the usb stick (cp /mnt/usb/isolinux.cfg /mnt/usb/syslinux.cfg)
  5. Unmount the iso and the usb stick (umount /mnt/iso; umount /mnt/usb)
  6. Initialize the MBR of the stick (cat /usr/lib/syslinux/mbr.bin > /dev/sde)
  7. Run syslinux on the usb stick (syslinux /dev/sde)

At this point your USB stick will boot the stock ESXi image. Now we can easily modify the installation media without burning new cd's! (I even did this on an IPod shuffle so I can listen to music and install ESXi server :) )

The easiest way to get through the install is to update the oem.tgz file on the usb stick...you need to take to files from binmod.tgz (/etc/vmware/simple.map and usr/share/hwdata/pci.ids) and copy them into oem.tgz in the same directory structure. The extracted oem.tgz archive gets overlaid over the extracted binmod.tgz so the paths need to be identical. In the pci.ids file I had to add entries for my ICH controller...I added all of the entries based on the various BIOS configurations (the top and bottom lines are from the original file and can be used as a reference point):

27df 82801G (ICH7 Family) IDE Controller
2820 82801H (ICH8 Family) 4 port SATA IDE Controller
2821 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA AHCI Controller
2824 82801HB (ICH8) 4 port SATA AHCI Controller
2825 82801H (ICH8 Family) 2 port SATA IDE Controller
2828 Mobile SATA Controller IDE (ICH8M)

I then had to update the the simple.map to include the directives to load the appropriate kernel drivers for these devices...

8086:2820 0000:0000 storage ata_piix
8086:2821 0000:0000 storage ahci
8086:2824 0000:0000 storage ahci
8086:2825 0000:0000 storage ata_piix
8086:2828 0000:0000 storage ata_piix

With these updates tar-gziped into oem.tgz on my USB stick and configing my BIOS to use AHCI I was able to install ESXi. I did get a kernel panic though as my update was not inside the installed image. Inside the install.tgz archive there is a VMware-VMvisor-big-3.5.0_Update_2-103909.i386.dd.bz2 which I needed to extract, mount, update with the same changes, unmount compress, and re-archive. The VMware-VMvisor-big-3.5.0_Update_2-103909.i386.dd.bz2 is really just a harddrive disk dump and the oem.tgz file lives on partition 5 inside this image. I used ISCSI with fileio to mount the image, but that is because I already had ISCSI all set up. (I have added instructions for an easier method than iSCSI...see my comment at the bottom or just go to http://www.grid.org/blog/cameron/updating-vmware-esxi-disk-dump-file)

After I updated install.tgz and put that back on my USB stick I was able to install and run vmware ESXi. I have been using it now for about 2 weeks and am loving the snapshot manager, increased network configuration options, and general performance improvement. Of course when the recent Time Bomb issue happened the VMWare patch broke my install. If you wish to apply the new VMWare patch you must:

  1. Before installing the patch use the VMWare SSH hack that you can find on the internet to enable ssh access.
  2. Reboot your host
  3. Apply the patch
  4. Ssh to the host
  5. Run 'find / -name oem.tgz' and note the locations of all of the oem.tgz files.
  6. Scp the oem.tgz from your USB stick to the host.
  7. Copy oem.tgz to all of the locations displayed in 5.
  8. Reboot your machine

After running this I was able to have a Time Bomb patched VMWare ESXi server running on my ICH8 board.

 

-Cameron

4
Average: 4 (4 votes)

Comments

I was facing this kind of

I was facing this kind of problem from last 1 week. Your detailed instruction was really helpful but still I am facing some problem. Can you give some details?

Sophie;
Puppies for sale
&
Dogs for sale

Fantastic post. Bookmarked

Fantastic post. Bookmarked this site and emailed it to a few friends, im sure itll help all.

<a href="http://www.isntmoneyoppurtunities.com">Option trading</a>

<a href="http://goldia.com/gold_chain.asp">Gold Chain</a>

<a href="http://www.vcc4you.net">Paypal Vcc</a>

 

 

تحميل

تحميل برامج
برامج جوالات
العاب
بنات
برامج
تكنولوجيا
كتب تعليم
UltraSurf
العاب
برامج نت
Internet Download Manager
ProgDVB
برامج مجانية
أفضل المواقع العربية
دليل مواقع
مشاهدة محطات مشفرة Online TV Player 3.0.0.940
Internet Download Manager 5.17 Build 4
رقص شرقي anyTV Pro 4.32
OnLineLive 7.1.1
هزي يانواعم ProgDVB 6.06.2
SopCast 3.0.3
منتدى برامج نت
Falco Image Studio 3.6
لعبة تزلج على الجليد
UltraSurf 9.4
كاثرين هيغل Katherine Heigl
محطة غنوة FreeZ Online TV 1.0
Free Video to Mp3 Converter 3.1.3.51
Advanced MP3 Converter 2.10
Xilisoft Video to Audio Converter 5.1.23.0515
Blaze Media Pro 8.02
AKRAM Media Creator 1.11
DVD Audio Extractor 4.5.4
Free WMA to MP3 Converter 1.16
لعبة نينجا المتقدم
لعبة قذف كرة
لعبة دراجات البهلوانية
لعبة اعداء الغابة
تحميل برامج
Download DivX Subtitles 2.0
BullGuard 8.5
Google Chrome 2.0.181.1 Dev
Dell Studio XPS Desktop 435T Intel Matrix Storage Manager A00
Gigabyte GA-EP45-UD3P Bios F9
Ambush
HDConvertToX 1.1.229.1764
MSI Wind Nettop CS 120 Realtek Audio Driver 5.10.0.5618
Biostar T41-A7 6.x Realtek On-Board Audio Driver 5.10.0.5735 for 2000/2003/XP
TweakNow RegCleaner 4.1.1
SpeedItup Free 4.97
برامج العاب -
Internet Download Manager -
برامج جوالات -
العاب -
محطة غنوة -
قنوات فضائية -
بنات -
تكنولوجيا -
كتب تعليم -
UltraSurf -
ق ذ -0

regarding step 6

I didn't get the step 6 where you mentioned Scp the oem.tgz from your USB stick to the host, could you tell me the command Scp means. thanks

http://www.r4i.co.uk

http://www.r4-ds.com.au

http://www.punkmonk.info

http://www.inquent.biz

http://www.digitaleletronics.com

Thanks

This is really helpful. As I was saying (before the rich text editor crashed!) I use VMware for all of my development work (mainly .net these days). Thanks. John, Business Opportunity Now, UK.

NIce

A totally interesting post. Although i still need to learn few stuff but then this would definitely help.

 
loans consolidate

fashion jewelry

5

choose fashion jewelry or  wholesale jewelry   and make them buy themselves that called handmade jewelry  ,especially the crystal jewlery is the most popular with yong girls,discount jewelry,bridal jewelry  ,may choose fashion jewelry  ,including pearl jewelry  wholesale costume  jewelry      ,   wholesale shell jewelry.wholesale pearl  ,  wholesale turquoise jewelry, wholesale crystal   jewelry, wholesale fashion jewelry  , wholesale handmade jewelry ,wholesale coral jewelry,  jewelry wholesale ,   costume jewelry  

I did get a kernel panic

I did get a kernel panic though as my update was not inside the installed image. Inside the install.tgz archive there is a VMware-VMvisor-big.
Regards,
free games

Me too

I got this same kernal panic as well,

Bank Rates

I am having problem making

I am having problem making the USB device booteable, in point number 7 (Run syslinux on the usb stick (syslinux /dev/sde)), it say me that I have to specify the filesystem and I cant continue with the other steps. When I try to boot from the USB device, I get a Boot Error, and cant continue.
club penguin

I know VMware ESXi is the

I know VMware ESXi is the easiest way to get started with virtualization—and it’s free, but after plugin the Fedora 8 box, if the image is not in the format of iso, is there any other way to mount the image?
Steve - gmat

Fantastic post. Bookmarked

Fantastic post. Bookmarked this site and emailed it to a few friends, your post was that great, keep it up.
Useful information for users of drupal.
Drupal very informative site i found many things
Thank you very much for this information.
I like this site
Good post thanks for sharing.
Descargas Descargas, Baixar Download Baixar Download, Telecharger download Telecharger download,
Free Download Free Download, Free Driver Downloads Free Driver Downloads, Neu Download Neu Download,
Software Gratis Software Gratis, yeni programlar yeni programlar, canli tv canli tv,
isim anlamlari isim anlamlari, sarki sozleri sarki sozleri, yemek tarifleri yemek tarifleri,
magazin magazin, ruya tabirleri ruya tabirleri
fikra fikra, yeni oyunlar yeni oyunlar, video izle video izle,

Fantastic post. Bookmarked

Fantastic post. Bookmarked this site and emailed it to a few friends, your post was that great, keep it up.
Useful information for users of drupal.
Drupal very informative site i found many things
Thank you very much for this information.
I like this site
Good post thanks for sharing.
Descargas Descargas, Baixar Download Baixar Download, Telecharger download Telecharger download,
Free Download Free Download, Free Driver Downloads Free Driver Downloads, Neu Download Neu Download,
Software Gratis Software Gratis, yeni programlar yeni programlar, canli tv canli tv,
isim anlamlari isim anlamlari, sarki sozleri sarki sozleri, yemek tarifleri yemek tarifleri,
magazin magazin, ruya tabirleri ruya tabirleri
fikra fikra, yeni oyunlar yeni oyunlar, video izle video izle,

Thanks for the great

Thanks for the great tutorials and tips. I will try to follow and come up with my own device. DWI Attorney

 

debt consolidation

home insurance

Thanks for the knowledge on.......

Can we share about that more information about that VMWare Server........

Regards

Seo Company India

home

I did get a kernel panic

I did get a kernel panic though as my update was not inside the installed image. Inside the install.tgz archive there is a VMware-VMvisor-big-3.5.0_Update_2-103909.i386.dd.bz2 which I needed to extract, mount,
indoor tanning lotion - sunbed tanning - tanning bulbs - tanning bed lotion

Reply

I am having problem making the USB device booteable, in point number 7

i am not able to run

i am not able to run syslinux on the usb stick (syslinux /dev/sde)
Custom Essay

Well thanks for the detailed

Well thanks for the detailed instructions , i am not fully able to understand how to make a USB stick can you please explain it ?
Thanks.
Refurbished HP Laser Printers

seems like the isolinux.cfg

seems like the isolinux.cfg is either copyright protected or else it does not replace the original file after copying, so is there any other alternate way? Toronto Condos | Forex Robot

Go and get an app called

Go and get an app called unetbootin    works on linux/windows  and will make it bootable for you.

Thanks, you save my day!

Thanks, you save my day! samsung lcd tv

I have been using it now for

I have been using it now for about 2 weeks and am loving the snapshot manager, increasedr4 nintendo ds network configuration options, and general performance improvement i am really impressed with it .
Mobile News

Tyan Thunder n6550w MCP55 woes

Hello 

I need help.   I'm trying to install on a Tyan Thunder n6550w which has a MCP55 nVidia SATA controller.   I was able to make a bootable usb stick.   The funny thing is though that the PCI IDs are already in the simple.map and pci.ids files?  They have the right ids  although the sata_nv module is listed for both 037f and 037e.   I'm assuming that the module supports to variants of the MCP55 chip.    I have followed all of the directions and it still dosn't recognise the drives?  Anyone else have experience with this?

ICH8 controller only 2 drives availiable

Hi, I am able to run esxi on my ICH8 board, however I can use only first two hard drives for storage (4 drives attached), doe anyone have an idea how to convince esxi to see the other two drives?

another way to modify the image

In case no one has mentioned this yet: having booted ESXi from a USB drive, you can enable ssh (using the well-publicized, unsupported hack), modify /bootbank/oem.tgz directly, and reboot.  Worked great for me (I have a dg965ry as well).

I have a 3Ware 9650SE as well. 3Ware supplies a custom oem.tgz, and this is their documented method for installing it.

Thank you for the great info!

dg35ec install on esx 3.5

hi, is it able to install on esx 3.5 install of esxi without problem?

Help for IDE controller

Hi,

I utilized your method to modify my ESXi USB key for my ICH8 chipset. It works fine, thanks a lot. I've got an Intel DG965RY motherboard and my IDE CDROM drive is not recognized...

Can you help me to update my pci.ids and my simple.map to load my IDE controller?

Thanks 

 

Cameron's picture

An easier way to update the disk dump than iSCSI

I have written a new article that describes an easier way than using iSCSI to get access to the disk dump's install.tgz. You can find it here:

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

 

It's working

Everything seems to be working good not that I used this proper extension while making a modification on our ged online test page . I also updated as you described above and it is working much better on our main page http://www.getged.org/ too. Thanks!

I updated install.tgz and

I updated install.tgz and put that back on my USB stick I was able to install and run vmware ESXi. I have been using it now for about 2 weeks and am loving the snapshot manager, increased network configuration options, and general performance improvement.
accelerated bsn - loan forgiveness for teachers - loan deferment - student loan deferment

Hi, thank you very mucho for

Hi, thank you very mucho for the guide, I have exactly the same motherboard you have: INTEL DG35EC, or at least the same sata controller.

I am having problem making the USB device booteable, in point number 7 (Run syslinux on the usb stick (syslinux /dev/sde)), it say me that I have to specify the filesystem and I cant continue with the other steps. When I try to boot from the USB device, I get a Boot Error, and cant continue.

I would be very gratefull if you could give me a hand with this issue.

Thanks.

Pablo

Finally I could

Hi, I finally could make it work, this software is grate and your solution is eve better.

Thank you very much

Regards,

Pablo.-