| Install vSphere5 ESXi from USB |
|
|
|
| Sunday, 16 October 2011 07:49 | |||
|
Connect a USB pen drive to a Linux OS, in my case a Ubuntu. # 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
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.
RSS feed for comments to this post