Skip to content

oscarpavon/prufus

Repository files navigation

prufus

prufus_gui 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

Dependencies

  • 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)

Linux Mint/Ubuntu

Build dependency

sudo apt-get install git
sudo apt-get install libgtk-4-dev

Runtime dependency

sudo apt install wimtools

Build

git clone https://github.com/oscarpavon/prufus
cd prufus
make

Install

sudo make install

This will install the program, the program launcher, the icon and create a ".desktop" in your Desktop

Warning

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.

How to use

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"

Terminal

Example:

sudo prufus.sh ./Downloads/Windows.iso /dev/sdb

Development

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

About

Create bootable USB from .iso image in GNU/Linux

Topics

Resources

License

Stars

Watchers

Forks