Bootable USB Media Notes Revision as of Sunday, 20 December 2015 at 19:56 UTC

Assume that your USB disk’s drive letter is D:

CentOS/Fedora Bootable Installation Key

 mkfs -t vfat /dev/
 mkfs /dev/

 livecd-iso-to-disk /full/path/to/CentOS_image.iso /dev/

On Windows

Step 1 : Use diskpart to create bootable media

 diskpart 
 select disk 1
 clean 
 create partition primary 
 select partition 1 
 active 
 format fs=fat32 
 assign 
 exit

For the step highlighted above, use list disk to make sure that your
USB stick is, indeed, disk 1. At this point, the USB stick has a
primary partition and should be bootable. However, it doesn’t have
anything to boot per se.

Step 2 : Use xcopy to copy over the files to be booted

From the directory containing the boot files (these could be Windows
installation files, for example), issue:

 xcopy *.* /s/e/f D:\ 

Where D: is the drive letter of your USB stick. Et voila! Install
away!

Other notes and resources

Category:Nikhil’s Notes
Category:From a past sysadmin
life