How to create a ' BOOT USB DISK ' for EXSI6.0

Source: Internet
Author: User

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

    1. Mkfs.vfat-f 32-n ESXI/DEV/SDB1

4. Install Syslinux and write to MBR

    1. Syslinux/dev/sdb1
    2. Cat/usr/share/syslinux/mbr.bin >/dev/sdb

[NOTICE]: Must BE/DEV/SDB, NOT/DEV/SBD1
5. Mount USB Drive

    1. Mount/dev/sdb1/mnt/usb


6. Mount the ESXi installer ISO image

    1. 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

    1. Cp-r/mnt/iso/*/mnt/usb/


8. Rename the Isolinux.cfg file to Syslinux.cfg

    1. Mv/mnt/usb/isolinux.cfg/mnt/usb/syslinux.cfg


9. Edit the Syslinux.cfg file

    1. 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

    1. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.