Skip to content

Instantly share code, notes, and snippets.

@mort3za
Created April 2, 2020 11:38
Show Gist options
  • Save mort3za/fbcf9c5505483863f96ca130d3b2f315 to your computer and use it in GitHub Desktop.
Save mort3za/fbcf9c5505483863f96ca130d3b2f315 to your computer and use it in GitHub Desktop.
Install windows from linux
# install windows from a usb stick
Go to microsoft website and download iso file (on confirm step you may need a vpn)
Install virtualbox
Install guest additions (to enable shared folders)
Add a shared folder and copy the iso file there, then move iso file to desktop of virtual machine
Install extension pack https://www.virtualbox.org/wiki/Download_Old_Builds_5_2 and add virtualbox user to your user group https://www.techrepublic.com/article/how-to-enable-usb-in-virtualbox/
Logout then login in linux
Insert usb stick, add it in virtualbox settings > usb settings (use controller usb 3 or 2)
Reboot virtualbox machine
Download Rufus https://rufus.ie/
Create a bootable usb by rufus (use GPT and UEFI for newer systems and ntfs format)
Eject usb and insert to target laptop
Config the boot order in bios settings
Boot windows installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment