Cannot install WoeUSB or WoeUSB-ng not sure about Ventoy


sysctl -a | grep -i model
Origin="AuthenticAMD" Id=0x100f53 Family=0x10 Model=0x5 Stepping=3
hw.model: AMD Athlon(tm) II X4 640 Processor
dev.rgephy.0.%pnpinfo: oui=0xe04c model=0x11 rev=0x5
uname -a
FreeBSD fir 15.0-RELEASE FreeBSD 15.0-RELEASE releng/15.0-n280995-7aedc8de6446 GENERIC amd64


My wife's windows 11 is broken. It boots to a completely black screen.

The only fix, I can think of, is an in-place windows 11 install.
On my FreeBSD 15 box, I have downloaded the win11 iso file, that will let me boot from usb and reinstall win11.

Now I need something to create the live usb from the iso file. WoeUSB is supposed to the easiest method, but it will not install.


pkg install WoeUSB
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'WoeUSB' have been found in the repositories


I also tried WoeUSB-ng


pip install WoeUSB-ng
...
running install
error: [Errno 2] No such file or directory: '/usr/share/polkit-1/actions'
...
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for wxPython
Failed to build WoeUSB-ng wxPython
ERROR: Could not build wheels for WoeUSB-ng, wxPython, which is required to install pyproject.toml-based projects


I am a little confused with Ventoy. There are many versions, I am not sure which one I need. There does not seem to be a FreeBSD version. Will the Linux version work?
 
Just use dd(1).
In the last example of the man page replace memstick.img with your file's name, and above all, watch out to name the right drive for your USB flashdrive (can also be /dev/da0 if there ain't no other drive attached) Ensure to pick the right drive for the output file (of) not to write your image to the wrong drive.
 
I believe that is a USB boot image, not an ISO image.
Doesn't matter. It's just an example for how to write an image file to an USB flashdrive.
As long as the image file size does not exceeds the flashdrive's size, no prob.

The process how to write an image file - iso, no iso, bootable or not - is the same:
dd simply copies byte by byte from if to of.
Any of those fancy "write image files to USB sticks" tools do exactly the same as dd. They just come with some fancy GUI.
I've written a lot many ISO files to USB flashrives. Some USB flashdrives refuse to be bootable (Search me.) If so, just try another stick.
If the image file provides a bootable medium it doesn't matter, if it's written to some CD, DVD, SD card or flashdrive.
 
I've never seen a Windows ISO boot after dd to USB, but not sure on specifics
Now I need something to create the live usb from the iso file.
If the computer being installed to is UEFI, you can likely copy the ISO contents to a FAT32 USB and select it from boot loader (my Dell also supports NTFS for large install.wim images; W10's is less/FAT32 but W11's is larger/NTFS); that'll only work with UEFI though (MBR/CSM/Legacy needs boot sector stuff).

I have notes here for doing FAT32 USBs for Windows from FreeBSD (mainly a drive wipe and newfs_msdos)
 
Back
Top