Requirements
- A copy of VMware ESX 4. Download an evaluation copy from here (free VMware logon required)
- A copy of UNetbootin from here. UNetbootin allows you to create bootable Live USB drives for a variety of Linux distributions including VMware ESX 4.
- A USB stick. Nothing special is required here, for example I’ve got a couple of really cheap 1Gb sticks that work just fine.
How To
- Format your USB stick using Windows format. FAT32 file system is fine:
- Once format is complete, leave USB stick plugged in and start UNetbootin:
- Select “Diskimage” and locate your ESX 4 iso file.
- Select your USB drive.
- Click OK and let UNetbootin extract and copy the ESX 4 installation and boot sector files on the USB
- Close UNetbootin and open USB stick in Windows Explorer
- Open the file syslinux.cfg (located in the root of the USB) with Wordpad – NOT Notepad
- Add askmedia to the end of each text section. For example:
label ubnentry0
menu label Install ESX in graphical mode
kernel /isolinux/vmlinuz
append initrd=/isolinux/initrd.img vmkopts=debugLogToSerial:1 mem=512M quiet
becomes:
label ubnentry0
menu label Install ESX in graphical mode
kernel /isolinux/vmlinuz
append initrd=/isolinux/initrd.img vmkopts=debugLogToSerial:1 mem=512M quiet askmedia
Or alternatively replace the complete contents of syslinux.cfg with this:
default vesamenu.c32
prompt 0
menu title CH ESX4 Update 1 USB
timeout 100label unetbootindefault
menu label Install ESX in graphical mode
kernel /isolinux/vmlinuz
append initrd=/isolinux/initrd.img vmkopts=debugLogToSerial:1 mem=512M quiet askmedialabel ubnentry0
menu label Install ESX in text mode
kernel /isolinux/vmlinuz
append initrd=/isolinux/initrd.img vmkopts=debugLogToSerial:1 mem=512M text quiet askmedialabel ubnentry1
menu label ESX Scripted Install using USB ks.cfg
kernel /isolinux/vmlinuz
append initrd=/isolinux/initrd.img vmkopts=debugLogToSerial:1 mem=512M ks=usb quietlabel ubnentry2
menu label ESX Scripted Install to first disk
kernel /isolinux/vmlinuz
append initrd=/isolinux/initrd.img vmkopts=debugLogToSerial:1 mem=512M ks=file:///usr/lib/vmware/weasel/examples/ks-first-safe.cfg quietlabel ubnentry3
menu label ESX Scripted Install to first disk (overwrite VMFS)
kernel /isolinux/vmlinuz
append initrd=/isolinux/initrd.img vmkopts=debugLogToSerial:1 mem=512M ks=file:///usr/lib/vmware/weasel/examples/ks-first.cfg quietlabel ubnentry4
menu label ^Boot from first hard disk
kernel /ubnkern
append initrd=/ubninit
As you can see from the above, I’ve tweaked the boot menu to A) remove the “Default” entry B) Add a personalised boot menu title.
Save syslinux.cfg file back onto the USB and eject.
Easy and ESX installation is a lot quicker too!
I am getting error 15 file not found what does that mean
At what point do you get this error?
very nice.
I am completely impressed with the article I have just read. I wish the author of vworld.nl can continue to provide so much useful information and unforgettable experience to vworld.nl readers. There is not much to say except the following universal truth: On panel discussion shows, someone always says “It’s important to remember, they’re not a monolithic group” I will be back.
I prefer this method:
1. Download and extract syslinux: http://syslinux.zytor.com/wiki/index.php/Download
Extract it somewhere – lets say c:syslinux
2. Insert the USB drive if you have not already, make sure it is formatted fat32, and make note of the drive letter.
3. Open a command prompt. (In windows Vista or 7, make sure to Run as Administrator)
Change directory to the place you extracted syslinux win32.
cd c:syslinuxwin32
syslinux -m -f -a {drive}:
where {drive} is the drive letter of the USB drive.
4. Extract or copy the contents of the ESX iso image to the USB drive (you can use 7zip or winrar – no need to burn it)
5. rename directory isolinux to syslinux and the file isolinux.cfg within to syslinux.cfg.
6. edit .syslinuxsyslinux.cfg
remove
gfxboot bootlogo
prompt1
Add “askmedia”to every label
ie
LABEL esx
menu default
menu label Install ESX in graphical mode
kernel vmlinuz
append initrd=initrd.img vmkopts=debugLogToSerial:1 mem=512M quiet
becomes
LABEL esx
menu default
menu label Install ESX in graphical mode
kernel vmlinuz
append initrd=initrd.img vmkopts=debugLogToSerial:1 mem=512M quiet askmedia
all done
I shouldn’t be surprizing so hard at that.