First of all
Be sure that the size of your USB media can be loaded with the following ISO official recommendations: The minimum boot media requires approximately MB, and the full installation media needs about 4.5 GB.
Secondly
already downloaded the ISO, and can be used under the Linux system, insert a USB flash drive and determine the name of the device under the Linux system, you can use the DMESG command to view the system's log information, generally in the end will see the following information:
[170.171135] SD 5:0:0:0: [SDB] attached SCSI removable disk
this time to ensure that the USB stick is not automatically mounted, you can use the command:
# FINDMNT/DEV/SDB
If you run the command without any output, you can do the next step. However, if you run the command after the output, it means that the device has been automatically suspended, you can uninstall with the Umount command, there is not much to say.
At last
Use the DD command to write the ISO installation image directly to the USB device:
# dd If=/path/to/image.iso OF=/DEV/SDB
All that is left is that the # symbol will appear after the wait time is complete, there is no progress bar.
Attention
SDB is a device name that is mounted on a USB drive and may not be the same.
Root permission is required for the operation process.
The operation process will erase the USB flash drive data, please back up first.
This article is from the "Cloud Computing Litter" blog, make sure to keep this source http://leegh.blog.51cto.com/8764149/1597132
Build CentOS 7 u disk installation media under Linux