1 Preparatory work
openSUSE 13.2
ESXi ISO file//vmware official website download Vmware-vmvisor-installer-5.1.0-799733.x86_64.iso, xxxxxx as build number
2. Initlize USB Disk
Fdisk/dev/sdb
"D" Removes all partitions
"N" creates a primary partition that spans the entire disk 1
The "T" Setting file system is FAT32 (LBA) and the code is "C"
"A" sets the boot tag for primary partition 1
"P" Print partition table
The results should resemble the following table:
disk/dev/sdb:8076 MB, 80761322352 bytes
186 heads, Sectors/track, 3028 cylinders
Units = Cylinders of 5208 * 2666496 bytes
Device Boot Start End Blocks Id System
/DEV/SDB1 * 1 3029 7885824 c W95 FAT32 (LBA)
"W" writes to the partition table and exits
3. fomate disk with a bit
- Mkfs.vfat-f 32-n ESXI/DEV/SDB1
4. Install Syslinux and write to MBR
- Syslinux/dev/sdb1
- Cat/usr/share/syslinux/mbr.bin >/dev/sdb
[NOTICE]: Must BE/DEV/SDB, NOT/DEV/SBD1
5. Mount USB Drive
- Mount/dev/sdb1/mnt/usb
6. Mount the ESXi installer ISO image
- Mount-o Loop Vmware-vmvisor-installer-5.1.0-799733.x86_64.iso/mnt/iso
7. Copy the contents of the ISO image to the USB drive
- Cp-r/mnt/iso/*/mnt/usb/
8. Rename the Isolinux.cfg file to Syslinux.cfg
- Mv/mnt/usb/isolinux.cfg/mnt/usb/syslinux.cfg
9. Edit the Syslinux.cfg file
- Vim/mnt/usb/syslinux.cfg
In the/mnt/usb/syslinux.cfg file, change the append-c boot.cfg line to append-c boot.cfg-p 1.
10. Copy a new MENU.C32 file to the USB flash drive, overwriting the original file
- cp/usr/lib/syslinux/menu.c32/mnt/usb/
Note: Without this step, an error such as "Menu.c32:not a com32r image" will appear at boot time.
11. Uninstalling the USB flash drive
Umount/mnt/usb
12. Uninstalling the ISO image
Umount/mnt/iso
How to create a ' BOOT USB DISK ' for EXSI6.0