For the first edition of this series, I have decided to create a USB boot disk for something special…… VMWare ESXi 4.0. This came about when I didn’t have a DVD burner to burn the downloadable ISO file to a DVD.
I want to be very clear about this article. This article does NOT explain how to install the VMWare hypervisor ON a USB drive or TO a USB drive. It explains only how to make a bootable USB drive as a bootable VMWare disk in order to install VMWare ESXi on a hard drive in a compatible computer. The USB drive will work just as if you booted a computer from the VMWare DVD. Lets get started, shall we?
First, some rules and guidelines about this entire process. These instructions are for creating the USB drive from a Windows 7 64 bit computer (no offense to Linux gurus). Unless you have User Account Control disabled, be sure to launch all programs using “Run As Administrator” (hold SHIFT and right-click on the file to see Run As Administrator appear in the context menu). If you disabled User Account Control in Vista or Windows 7, then you have nothing to worry about. These instructions only work with VMWare ESX or ESXi versions 4.0 or 4.0 Update 1. This WILL NOT WORK with VMWare ESX or ESXi 4.1. There is some strange hardware issue with v4.1 where it ‘forgets’ where the boot media is after you have selected a SATA hard drive to install the software to. I think this is due to the fact that VMWare is starting to force administrators to purchase hardware that is on the official VMWare Hardware Compatibility List (HCL) for support reasons. It doesn’t matter though. After you have installed 4.0 or 4.0 Update 1 on the target computer you can upgrade to 4.1.
You will need 3 things to get started….
- USB drive at least 512mb in size.
- Copy of the VMWare ESX or ESXi 4.0 Update 1 Installable ISO file.
- Copy of Multiboot ISOs USB Creator from www.pendrivelinux.com.
- Launch Multiboot ISOs USB Creator as an administrator.
- Click “agree” at the EULA, click NO when prompted if you want to try the experimental version.
- Select your USB drive, check the box to format the drive, highlight “MemTest86+”, check the box to download the ISO, then click the “Create” button (screenshot of the options you need to make is below):
- When the program has complete, click Next, then NO if asked to add more distros. Click Finish to close the program.
- Navigate to the root of the USB disk in Windows Explorer (you will notice that the volume name is “MULTIBOOT”).
- Copy the VMWare ESXi ISO file directly to the root of the multiboot USB drive.
- Rename the ISO to “VMWARE40.ISO”.
- Open the MENU.LST file in a text editor.
- Paste this text EXACTLY as it is shown below at the end of the file and save it:
find --set-root /vmware40.iso
map --mem /vmware40.iso (hd32)
- Safely remove the USB drive from the Windows computer.
- Boot your target computer from the newly created USB drive.
- At the boot menu, select VMWare and wait a moment.
- The VMWare installation menu will appear.
This is just one of the ways to create USB bootable media to install VMWare ESX or ESXi. I could have used Syslinux, but using the Multiboot ISO USB tool is much cooler. Reason being is because it is possible to keep on adding more bootable ISOs to the drive and add more entries into the MENU.LST file. You could add such things like a Windows 7 ISO, Windows XP ISO, different Linux distro ISOs, bootable antivirus ISOs, Citrix XenServer, Hyper-V Server R2, or other bootable ISOs and make the ultimate boot USB drive (provided there is enough space available)! But, I don’t have time for that toady. Maybe I will describe how to do this in another post at another time :)