Skip to content

Instantly share code, notes, and snippets.

@ThomasLeister
Created September 6, 2017 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThomasLeister/c60895298bf3a3a1d229dc77e514d8b4 to your computer and use it in GitHub Desktop.
Save ThomasLeister/c60895298bf3a3a1d229dc77e514d8b4 to your computer and use it in GitHub Desktop.
Make Windows 10 boot USb stick on Linux
lsblk
sudo fdisk /dev/sdb
List all partitions
Delete all partitions by pressing "d"
Create new primary Partition with full size (enter, enter, ...)
Set partition type by pressing "t" and set to FAT32 (choice "b")
write everything to disk:
w
sudo sync
Write filesystem to new partition
sudo mkfs.vfat /dev/sdb1
Make Windows 10 mount dir:
mkdir ~/win
Mount win 10 image:
sudo mount -o loop ~/ISOs/Windows10.iso ~/win
write data from image to usb mountpoint:
rsync -av --progress ~/win/ /run/media/thomas/USBstick\
sync again:
sudo sync
=> Finished!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment