Skip to content

Instantly share code, notes, and snippets.

@nixpulvis
Created February 7, 2019 21:07
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 nixpulvis/788a9ef8e6152fa95645b66cf8689b5c to your computer and use it in GitHub Desktop.
Save nixpulvis/788a9ef8e6152fa95645b66cf8689b5c to your computer and use it in GitHub Desktop.
Install Windows 10 From Linux
fdisk /dev/sdY
# create single partition type 7+bootable partition
mkfs.ntfs -f /dev/sdY1
ms-sys -7 /dev/sdY
mount -o loop win7.iso /mnt/iso
mount /dev/sdY1 /mnt/usb
cp -r /mnt/iso/* /mnt/usb/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment