Install vSphere5 ESXi from USB PDF Print E-mail
Sunday, 16 October 2011 07:49

    Connect a USB pen drive to a Linux OS, in my case a Ubuntu.
    Download the vSphere 5 ESXi ISO installation file.
    On the Linux machine install syslinux and mboot.
    Execute the following commands:

# sudo apt-get install mbr syslinux
# sudo /sbin/fdisk /dev/sdb
# sudo umount /dev/sdb1
# sudo /sbin/mkfs.vfat -F 32 -n USB /dev/sdb1
# cd /tmp/
# sudo syslinux /dev/sdb1
# sudo install-mbr /dev/sdb
# sudo mkdir /mnt/cdrom
# sudo mkdir /mnt/usb
# sudo mount -o loop /tmp/VMware-VMvisor-Installer-5.0.0-469512.x86_64.iso /mnt/cdrom/
# sudo mount /dev/sdb1 /mnt/usb/
# sudo cp -r /mnt/cdrom/* /mnt/usb/
# sudo mv /mnt/usb/isolinux.cfg /mnt/usb/syslinux.cfg
# sudo vi /mnt/usb/syslinux.cfg

In the file /usbdisk/syslinux.cfg, change the line APPEND -c boot.cfg to APPEND -c boot.cfg -p 1.

# sudo umount /mnt/usb
# sudo umount /mnt/cdrom

Ready, says VMware.

But... When I put the USB drive in the server I get the BOOT prompt. The menu is not loaded correctly.

It has got something to do with that this syslinux kernel version needs another layout of the syslinux.cfg file. Untill I solve this issue I just type on the BOOT command prompt:

mboot.c32 -c boot.cfg -p 1

This works.

 

Comments  

 
0 #2 Roderick 2012-02-07 09:51
Great comment Kurt, thanks for sharing.
Quote
 
 
0 #1 kurt congdon 2012-02-06 22:33
FYI, I've found 2 ways to resolve the BOOT prompt that occurs:

1. Update menu.c32 to match the version of syslinux you used to create the boot usb.
2. Alternately, edit the syslinux.cfg, changing the DEFAULT statement from 'menu.c32' to 'Install'. Doing this completely removes the boot menu, and launches the vsphere installer directly.
Quote
 

More KB Articles