====== Creating a bootable USB stick ======
{{template>vorlagen:tutorialdetails|tutname=Erstellen eines bootfähigen USB Sticks|tutautor=[[en:psycore]]|tutversion=1.0|tutquelle=tut:win:usb_boot}}
===== Foreword =====
For netbooks and other devices without a DVD drive, it may be necessary to create a bootable USB stick. This tutorial explains how to do this.
===== Warning =====
All data will be deleted from the USB stick during the process. **Create a data backup!!!**
===== Prepare USB stick with Diskpart =====
Opens a console window: Click on Start --> Run --> cmd --> Enter
==== Diskpart commands ====
Now enter the commands one after the other:
diskpart
The Diskpart tool is now executed. Lists all discs:
list disk
Now select the number of the USB stick (in this example 4). **ATTENTION!!! Do not select the wrong disc, otherwise there is a risk of a data disaster!!!**
select disk 4
The following commands now set the process in motion (explanation can be found below).
clean
create partition primary
select partion=1
active
format fs=fat32 quick
assign
exit
Explanation:
* clean --> deletes all data from the USB stick
* create partition primary --> creates a primary partition
* select partion=1 --> select created partition
* active --> mark partition as active
* format fs=ntfs quick override --> format partition as NTFS, quick override
* assign --> Associate with Windows Explorer
* exit --> Exit Diskpart
===== Copy data to the medium =====
Now the data must be copied to the USB stick. Let's assume that the CD with the data is in drive G and the USB stick is drive H.
You must start the copying process via the command line so that all the data is copied.
xcopy G:\*.* H:\*.* /S /E /F
Once the copy process is complete, the stick can be used as a boot medium.