Skip to content

Instantly share code, notes, and snippets.

@kaineer

kaineer/tldr.md Secret

Last active June 17, 2021 14:23
Show Gist options
  • Save kaineer/e74055194e3591f1df07c676e5ff1da5 to your computer and use it in GitHub Desktop.
Save kaineer/e74055194e3591f1df07c676e5ff1da5 to your computer and use it in GitHub Desktop.
install win64 10 using usb stick
  • google windows 10 download
    • Follow instructions then download your ISO file
  • Mount ISO as archive
    • In my current linux mint it is made just by clicking ISO file in file manager. «Mount is archive» does not work, though.
  • Copy ISO content into temporary directory
  • Look into <tmp directory>/source, there's install.win there, it is >4G, isn't that pretty, huh?
  • Install wimlib
    • $ sudo add-apt-repository ppa:nilarimogard/webupd8
    • $ sudo apt update
    • $ sudo apt install wimlib
  • Again, change into <tmp directory>/source and do some magic:
    • $ wimsplit install.wim install.swm 3800
    • ...wait several minutes
    • $ rm install.wim # because, again, you cannot copy it into fat32 partition
  • Prepare usb, as usual with gparted:
    • .. do not forget to unmount
    • Create gpt partition table
    • Create fat32 partition, make it bootable (I always forget to do this before copying) everybody advises that but I never do and it still works for me
    • Mount usb
    • Copy files from <tmp directory> into fat32 partition
    • Unmount usb
    • Try to boot from it

And help us God.

Seems like it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment