how to make USB FLASH bootable by command line

installing OS by using usb flash become an easiest and fastest way of installing OS especially linux or windos OS ...now days people prefer to use more softwares like unetbooting or lili usb creator to make their usb flash bootable today am introducing another way of making usb bootable by using dos command you only just need to have OS setup files which including boot
here are the procedures :
insert your usb flash on PC and open cmd on start and type the following

   diskpart
   list disk
   select disk {number}
   clean                                                                        
   create partition primary
   select partition 1
   active
   format fs=fat32 quick
   assign
   exit

after that copy your setup files into usb flash  and ready for doing installation...!

thank you!
dont forget to share with others

Comments