Created
May 22, 2012 21:14
-
-
Save ekinertac/2771665 to your computer and use it in GitHub Desktop.
Create Bootable Thumb-Drive from windows(cmd)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ diskpart | |
$ list disk | |
select disk 2 # write your own disk number | |
clean # this will delete disk's partitions | |
create partition primary size=1000 # write disk size in MegaBytes) | |
select partition 1 # select parition you just created | |
active # set active partition | |
format fs=fat32 quick # quick format with fat32 file system (fat32/extFat/NTFS) | |
assign # mount the disk | |
exit | |
# use this tool if you install a linux dist. | |
# http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ | |
xcopy g:\*.* /s/e/f h:\ # copy all files and folder in g:\ drive to your new h:\ drive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment