Login to participate
Endpoint Management & Virtualization ArticlesRSS

How To: Create Your Own Bootable ESX 3i USB Stick

erikw's picture

For our work we do a lot of testing, and a very good solution is using VMware. But VMware workstation is making our machine slow because we also start a guest system.

To overcome this I was searching for a solution to load ESX server on my machine This didn't work because ESX is meant to be used on a server, and my machine was not compatible. ESX just wants to use SCSI disks.

There is another solution: ESXI. Instead of making a lot of trouble to get this installed, I created a bootable ESXI-USB stick.
let's see how to do this:

Requirements:

You can also use your own favorite tools and larger USB flash drives, but 1 GB is enough space for the boot image.

Perform the following steps to create a bootable ESX Server 3i USB flash drive:

  1. Download ESX Server 3i Installable ISO. This can be found on the website of VMware, www.VMware.com/products/esxi.
  2. 2: Mount the ISO image with daemon tools, or extract it with your favorite unzipper.
  3. Extract INSTALL.TGZ from the root directory of the ISO image using the unzipper.
  4. Extract /usr/lib/VMware/installer/VMware-VMvisor-big-3.5.0-xxxxx.i386.dd.bz2 from INSTALL.TGZ using the unzipper
  5. Extract VMware-VMvisor-big-3.5.0-xxxxx.i386.dd from VMware-VMvisor-big-3.5.0-xxxxx.i386.dd.bz2 using the unzipper
  6. Attach the USB flash drive and make sure you no longer need the data on it.
  7. Use WinImage to transfer VMware-VMvisor-big-3.5.0-xxxxx.i386.dd to the USB flash drive.

    This can be done by using the steps below:

    1. Disk-> Restore Virtual Hard Disk image on physical drive...
    2. Select the USB flash drive (Warning: If you select the wrong disk you will lose data!)
    3. Select the image file VMware-VMvisor-big-3.5.0-xxxxx.i386.dd
    4. Confirm the warning message
    5. Wait for the transfer to complete (this task can be up to 20 minutes)
  8. Unplug the USB flash drive (Warning: Unplug it first before removing it from the machine!)
  9. Attach the USB flash drive to the machine you want to boot (Warning: If ESX Server 3i recognizes local drives, there is a slight possibility you loose data!)
  10. Turn the machine on and make sure the USB flash drive is selected as boot device
  11. Watch ESX Server 3i boot
  12. Configure ESXI. Most important is that you give it a IP address. After you have give it a IP address, you can connect to the stick with a virtual infrastructure client. This will give you all the benefits of the virtual infrastructure to build virtual machines or to mount existing virtual machines into the inventory.

NOTE: ESXI uses only some particular network cards, and the stick will not work on every machine. ESXI uses a kind of a unidriver that will load the driver. This behavior can be seen when you start the stick, and the IP address is 0.0.0.0. If you then go to configure, and you press the F2 button, you will not be able to configure anything. If you encounter this problem you can easily overcome this by inserting a standard intel network card.

When you have VMware Workstation 6, and you wish to use the VM's you build in VMware Workstation, make sure you make the VM's ESX compatible. The standard VMware Workstation 6 Virtual machines are not compatible.

Now you have a working VMware environment with all kinds of virtual machines. This will enable you to do various tasks with one computer.
I hope you enjoy this trick.

Regards
Erik Westhovens

jgallas's picture

SCSI disk requirement?

I am confused. Does this eliminate the need for a SCSI disk to install ESXi on? In other words, can I install it on a desktop or workstation class system using this method?

Or is the ESXi OS actually running live from the USB stick?

erikw's picture

ESXi is actuallu complete on the stick

Yes, USb does not have a scsi interface so it wil run without SCSI.
Yes, ESXI is complete on a stick
Yes you can install esxi and the image on a stick. If it is big enough.
Yes it also runs on most of the current hardware. it only depends on the network card.
Is this a nice trick or isn't it?

Regards
Erik
www.DinamiQs.com

Regards
Erik
www.DinamiQs.com
Dinamiqs is the home of VirtualStorm (www.virtualstorm.org)

jgallas's picture

Yes, great trick.

I am assuming you can install the guest OS on a PATA or SATA hard disk with no issues. If so, this is definitely something I am going to implement.

erikw's picture

SATA and NAS and UAS

I have my images on SATA, NAS and UAS. UAS is my nickname for USB attached Storage.
be sure to understand that VMWare does not support the trick, Neither do they like it, but what the heck.
It's better then get disappointed because ESX won't install on your client because VMware needs SCSi disks.

Regards
Erik
www.DinamiQs.com

Regards
Erik
www.DinamiQs.com
Dinamiqs is the home of VirtualStorm (www.virtualstorm.org)

jgallas's picture

Making VMware workstations ESX compatible

One more question. How does one make VMware workstation images ESX compatible? Is there a white paper somewhere that describes this?

erikw's picture

That's a easy question.

In Vmware workstation there is a button were you can make the images ESX 1 compatible. It converts the image back into a compatible version. Choose compatibility mode VMware 4 or 5.
They both work.

Regards
Erik
www.DinamiQs.com

Regards
Erik
www.DinamiQs.com
Dinamiqs is the home of VirtualStorm (www.virtualstorm.org)

haim96's picture

very good tip!

thanks!

CR3ATIV3_25's picture

I am slightly confused. Can

I am slightly confused. Can we use this utility to boot from an .iso on the flash drive?

mack_jason's picture

Great article. I got this

Great article. I got this to work using a 2 GB thumb drive using a NC6400. Upon starting I was not able to obtain an IP address via the wireless adapter but after switching to LAN it loaded up.

I disadvantage I found is that I'm unable to use my external hard drives as my datastores which will limit this for me. If anyone knows how to get around this I would like some assistance.

Otherwise, I'll stick to using Linux has my host and loading up VMserver.

erikw's picture

Loading external harddrives??

Do you have problems loading USB harddrives?
Probably that depends on the drivers.
I use a network attached storage, and that works fine.

Regards
Erik
www.DinamiQs.com

Regards
Erik
www.DinamiQs.com
Dinamiqs is the home of VirtualStorm (www.virtualstorm.org)

airoff's picture

A little clarification, please

Erik, this sounds promising. Here's the problem I've been having with ESXi.

My HP computer uses the Intel Matrix manager, and the install wouldn't recognize the drives.

Will the USB allow me to add the drivers I need, then install to the hard drive to eliminate the USB?

Thanks for a great tip!

Alan

miles2go's picture

Great for the sever admin.

Great for the sever admin. thanks