- Saved searches
- Use saved searches to filter your results more quickly
- WoeUSB/WoeUSB
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- WoeUSB
- Поддерживаемые образы
- Поддерживаемые версии Windows
- Поддерживаемые режимы
- Установка WoeUSB в Linux
- Как создать установочную флешку с Windows
- Установка
- Установка в openSuse
- Установка в Gentoo
- How to install WoeUSB on Ubuntu 22.04 | 20.04 LTS
- Steps to install and use WoeUSB on Ubuntu Linux
- Add WoeUSB PPA repository
- Refresh APT Index Cache
- Install the WoeUSB CLI + GUI on Ubuntu 22.04 | 20.04
- Check Version
- Install Command-line version
- Download WoeUSB Bash Script:
- Make the file executable
- Use WoeUSB to create a Windows bootable drive on Ubuntu
- Uninstall WoeUSB From Ubuntu 22.0 | 20.04
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
A Microsoft Windows® USB installation media preparer for GNU+Linux
WoeUSB/WoeUSB
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Signed-off-by: 林博仁(Buo-ren Lin)
Git stats
Files
Failed to load latest commit information.
README.md
A Microsoft Windows® USB installation media preparer for GNU+Linux
- Support Legacy PC/UEFI booting
- Support FAT32 and NTFS filesystems
- Support using physical installation disc or disk image as source
Supported Windows® installation images
NOTE: Non official installation media may be supported, but not guaranteed
The following are the dependencies that WoeUSB requires, in one way or another. Refer the wiki for distro-specific information.
WoeUSB will not be able to function without these software installed in their proper locations:
- GNU Bash
For interpreting and executing the program logic
Requires >= 4.3 - The GNU Core Utilities(Coreutils)
For common Unix utilities necessary for basic operations - util-linux
For low-level utilities interacting with storage devices, etc - GNU Grep and Gawk
For parsing necessary information out from a command output - The GNU Find Utilities
For enumerating files required for operation - GNU GRUB
For installing the bootstrap code used in a Legacy PC boot
We specifically requires modules of the i386-pc architecture, for Debian-based distributions these are provided via the grub-pc-bin package - GNU Parted
For manipulating disk partition table and partitions - GNU Wget
For acquiring Pete Batard’s UEFI:NTFS UEFI bootloader - dosfstools
For creating FAT filesystem in —device creation method - NTFS-3G
For creating NTFS filesystem in —device creation method - wimlib
For splitting install.wim Windows Imaging (WIM) archive so that archives over 4GiB can be fit in an FAT32 filesystem
Without the following dependencies WoeUSB will still able to run, but some functionalities will be unavailable:
- p7zip
For workaround the problem where the Windows 7 installation media doesn’t ship their UEFI bootloader in the proper location - Pete Batard’s UEFI:NTFS UEFI bootloader
For supporting NTFS filesystems in the target USB key - GNU gettext
For supporting message internationalization(I18N)
To be addressed. For now refer Run from source.
WoeUSB is a program that can be run without installation(excluding its dependencies):
- Download the program(woeusb-N.N.N.bash) from the Releases page
- Fix the missing executable file permission ( chmod +x path/to/woeusb-N.N.N.bash )
- Launch a terminal application and run the program via the appropriate path( sudo path/to/woeusb-N.N.N.bash —help )
The following are the environment variables that may change WoeUSB’s runtime behavior:
Variable name | Usage |
---|---|
RUFUS_UEFI_NTFS_VERSION | The release tag/revision of the Rufus source tree to fetch the UEFI:NTFS image from, will use a tested version by default |
WoeUSB is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
WoeUSB is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with WoeUSB. If not, see http://www.gnu.org/licenses/.
Identify otherwise specified licenses applicable to a certain product/development asset
If the asset is in plaintext format:
- Check the SPDX-License-Identifier tag in the file’s header
- Check the .reuse/dep5 file from the source tree/release tree directory
If the asset is not in plaintext format:
Check the .reuse/dep5 file from the source tree/release tree directory
- WoeUSB is a fork of Colin GILLE’s WinUSB project, without standing on their shoulders WoeUSB will not exist in the first place
- We would like to thank @slacka for the maintenance of the WoeUSB project when it was hosted under their namespace, they have been extremely helpful and cooperative in many conversations that contributed in WoeUSB’s improvement
- We would like to thank Pete Batard for their splendid work on the UEFI:NTFS UEFI bootloader, which is included in WoeUSB to enable the NTFS filesystem support
- Source code contributors on GitHub:
- Contributors to WoeUSB/WoeUSB
- Contributors to slacka/WoeUSB
About
A Microsoft Windows® USB installation media preparer for GNU+Linux
WoeUSB
WoeUSB — программа для создания загрузочной флешки для установки Windows. Программа создает загрузочную флешку из образа Windows.
Программа является форком утилиты WinUSB. WoeUSB позволяет создать установочную загрузочную USB-флешку из образа Windows.
WoeUSB состоит из двух компонентов:
- woeusb — непосредственно сама программа, которая работает из командной строки.
- woeusbgui — графическая оболочка (интерфейс) для woeusb (использует библиотеку WxWidgets).
Поддерживаемые образы
Для создания флешки можно использовать:
Поддерживаемые версии Windows
Программа поддерживает запись образов следующих версий Windows:
- Windows Vista
- Windows 7
- Window 8.x
- Windows 10
- Редакции: Home, Pro, Windows PE и другие.
Поддерживаемые режимы
- Legacy
- MBR-style
- IBM PC compatible bootmode
- Native UEFI для Windows 7 и новее (целевая файловая система только FAT)
Установка WoeUSB в Linux
Программа есть в репозиториях дистрибутивов Fedora, openSUSE, Gentoo. Название пакета: woeusb.
Для установки WoeUSB в Ubuntu можно воспользоваться PPA-репозиторием. Выполните в терминале следующие команды:
sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install woeusb
Запустить графическую версию программы можно из командной строки, выполнив:
Или использовать консольную версию. Команда:
Как создать установочную флешку с Windows
Создать установочную флешку в WoeUSB очень просто.
Подготовьте файл ISO-образа или DVD-диск с Windows, и вставьте USB-флешку в компьютер.
Запустите программу (woeusbgui).
В программе выберите пункт From a disk image (iso) , если вы хотите записать ISO-образ. Затем укажите файл ISO-образа.
Если вы создаете флешку, используя CD/DVD-диск с Windows, то выберите пункт From a CD/DVD drive .
Далее в списке Target device выберите флешку, на которую будет записан образ.
Нажмите кнопку Install.
Установка
Установка в openSuse
sudo zypper install woeusb
Установка в Gentoo
sudo emerge -a sys-boot/woeusb
How to install WoeUSB on Ubuntu 22.04 | 20.04 LTS
WoeUSB is an open-source tool to create Windows USB bootable installation sticks from an ISO file or DVD on Linux systems. The program supports Windows 7, Windows 8.1, and Windows 10 ISO files and can be used via a graphical user interface or in a terminal. Yes, we can use its command-line utility called woeusb or the graphical version based on WxWidgets, a GUI wrapper for woeusb .
The boot types supported by this Linux bootable USB maker are:
- Legacy / MBR-style / IBM PC compatible boot mode
- Native UEFI booting on FAT32 on the stick
Here in this tutorial, will let you know the ways to install WoeUSB on Ubuntu 22.04/20.04, Linux Mint, Debian, and Elementary. There are two to install WoeUSB one is by adding its repository and the second one using SNAP packages. However, the snap method didn’t work after the installation of this Windows bootable USB maker, it wouldn’t open at all, and somehow it opened but didn’t recognize the attached USB drive.
Steps to install and use WoeUSB on Ubuntu Linux
#1st Way using PPA repository.
Add WoeUSB PPA repository
There is a PPA repository known as Tomtomtom that provides packages of WoeUSB to easily install on even Ubuntu 22.04. So, open your command terminal – the keyboard shortcut for that is Ctrl+Alt+T. After that run the given command:
sudo add-apt-repository ppa:tomtomtom/woeusb -y
Refresh APT Index Cache
Although it is not necessary because running the PPA command will also refresh the APT cache, however just to ensure our system is up to date, run the given command once.
sudo apt update && sudo apt upgrade
Install the WoeUSB CLI + GUI on Ubuntu 22.04 | 20.04
Now, like any other open source software, we can install the WoeUSB with its graphical user interface and CLI on our Ubuntu Linux using APT and terminal. So, execute the given command and you are done.
sudo apt install woeusb woeusb-frontend-wxgtk -y
Check Version
To confirm this USB bootable maker is on our system and working fine, let’s first check its version:
If you get the following error:
Reading package lists. Done Building dependency tree Reading state information. Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: woeusb : Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) but it is not installable
- Then, first, we have to install the libwxgtk3.0 manually. Here is the command to do that:
wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets3.0/libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb
Replace the filename with the package you downloaded above or simply run the below command:
sudo dpkg -i libwxgtk*_amd64.deb
sudo apt install woeusb woeusb-frontend-wxgtk -y
#2nd way using the bash script:
Install Command-line version
Another way to use the WoeUSB is via its bash script command tool. However, first, install some required dependencies.
sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin wimtools
Download WoeUSB Bash Script:
Go to GitHub, here is the Link and download the latest release:
Make the file executable
Note: You will see the options that can be used via the above command-line tool.
Use WoeUSB to create a Windows bootable drive on Ubuntu
Once you have successfully installed the software, it’s time to run it. Go to Activities and in the applications search for WoeUSB, when its icon appears, click it to run the program.
- Run WoeUSB
- Click on the folder icon to open file explorer, and select the Windows ISO file that you want to use to create a bootable USB drive.
- Select the filesystem you would like to use FAT or NTFS.
- The WoeUSB will automatically detect and show the attached pen drives.
- Select the one you want to use.
- Finally, click on the INSTALL button.
In case you get an error when you hit the Install button. "Log: WoeUSB ============================== Error: Target device is currently busy, unmount all mounted partitions in target device then try again Target device is busy, please make sure you unmount all filesystems on the target device or shut down the computer before detaching it."
- Go to the File Manager of Ubuntu, on the left side panel you will see your attached pen drive. Right-click on that and click on the Format button.
- Now, select the For use with Windows (NTFS) file system and format your USB drive.
After that on WoeUSB, click on the Refresh button, select the Drive and again click on the Install button. This time it will be perfectly fine.
Uninstall WoeUSB From Ubuntu 22.0 | 20.04
Maybe due to some reason, WoeUSB would not be working or there are chances you won’t require it anymore on your system. If that is so, here is the command to remove WoeUSB completely from Ubuntu Linux.
sudo apt autoremove --purge woeusb*