Can I create a bootable windows USB from live Ubuntu? If so how?

currently my windows isn't booting so I need a Windows installation to fix it, but I don't have any pc to make one, so I'm using a software on my phone to turn the phone into bootable usb but it doesn't work with normal iso only hybrid ones like Linux, so I thought of using live Ubuntu to download the Windows iso and burn it to the USB, is this possible and how to do it, and what's the best Ubuntu version for it.


Solution 1:

is this possible

Yes

and what's the best Ubuntu version for it.

Does not matter.

and how to do it,

Download the ISO. Put in a thumb drive and install WoeUSB from software center. Or use:

sudo add-apt-repository ppa:tomtomtom/woeusb
sudo apt update && sudo apt install woeusb-frontend-wxgtk

WoeUSB is a simple tool that enable you to create your own usb stick windows installer from an iso image or a real DVD. It is a fork of Congelli501's WinUSB.

Do double-check that you have selected the correct device before proceeding. And you do need a valid Windows license to activate Windows. To get that from Linux use:

sudo cat /sys/firmware/acpi/tables/MSDM