You can create a bootable USB with Windows installer from GNU/Linux. And then you can install Windows on another computer. Useful for computer repair people or if you want to go back to Windows from Linux after a disappointment.
This is an open source project with GPL 3 license. That means you can modify it like you want, change the name or even sell it as long as you distribute with your changes to the source code.
This program it's for only GNU/Linux
- GNU/Linux
- make
- gcc
- GTK-4.16.7
- rsync
- wimlib-imagex (this program divide the big Windows installation file in parts because the restriction of FAT32 filesystem about 4GB per file)
- dosfstools (very important, it's for create the first partition EFI)
- ntfs3g (for creating a second partition for user data and set disk label)
sudo apt-get install git
sudo apt-get install libgtk-4-dev
sudo apt install wimtools
git clone https://github.com/oscarpavon/prufus
cd prufus
make
sudo make install
This will install the program, the program launcher, the icon and create a ".desktop" in your Desktop
Every command for manipulate disks in GNU/Linux are for privilege user. You don't even can seen your USB without "sudo". And the GUI need "sudo" for format the USB.
This program only work with GPT partitions tables. Only UEFI is supported and only EFI will be supported.
NONE Windows hack here like remove TPM requirement. And never will be implemented neither.
You will see an icon in your desktop. Double click on it and enter your password.
Select the .iso file and click on "Create bootable USB"
Example:
sudo prufus.sh ./Downloads/Windows.iso /dev/sdb
If you want code navigation and code completation you can use clangd for your text editor
./generate_compile_commands.sh
You can ask in: Threads