News for hackers. Stuff that matters.
Re:Rufus: Reliable USB Formatting Utility by chrisandchris on Friday May 07, 2021 @02:36AM (#27072960)
If you‘re under Windows and want any stick, use Rufus. If you‘re under Linux (or Mac) and have an Iso, use dd.

At least that‘s how I do it.

Re:Rufus: Reliable USB Formatting Utility by foxrider on Friday May 07, 2021 @04:20AM (#27073626)
WoeUSB is what you have to use on Linux to create a bootable Windows thumbdrive, dd only works for isohybrid images, and Windows isn't one.
Re:Rufus: Reliable USB Formatting Utility by selfhoster11 on Friday May 07, 2021 @05:25AM (#27074011)
WoeUSB hasn't been very reliable for me. I've had better results booting up a Windows VM to use Rufus with USB passthrough to the drive instead.
Re:Rufus: Reliable USB Formatting Utility by wooben on Friday May 07, 2021 @09:19AM (#27075531)
I'm love/hating this idea because now I want to burn a LiveUSB running Linux with a QEMU Windows VM already set up on it. I can run it live and have Windows 10 "PE" or I can install it to a host and have Windows up and running fairly smoothly without going through the OOBE.
Re:Rufus: Reliable USB Formatting Utility by moistbar on Friday May 07, 2021 @12:39PM (#27077824)
IIRC you used to be able to make a bootable Windows stick on Linux simply by extracting the contents of the ISO onto a USB stick and marking it bootable. Is that still possible now that EFI is everywhere?
Re:Rufus: Reliable USB Formatting Utility by antibuddy on Friday May 07, 2021 @03:45AM (#27073398)
My memory is a bit hazy, but I remember dd not working for Windows images. Did you test that recently?
Re:Rufus: Reliable USB Formatting Utility by chrisandchris on Friday May 07, 2021 @04:19AM (#27073618)
Some SO user mention it seems to work with dd, however I did not test that recently. Most comments seem to mention that it‘s more difficult than dd.

[0] https://unix.stackexchange.com/a/598632

Re:Rufus: Reliable USB Formatting Utility by vetinari on Friday May 07, 2021 @07:52AM (#27074880)
Normally, for UEFI boot, you could be able just to create a FAT32 partition and copy the ISO content there. In the past, it was perfectly workable way to do so.

Except for the unfortunate install.wim file. The first releases of Windows 10 were fine, they had it under 4GB, but some of the half-year releases have it grown over 4GB, and FAT32 cannot handle that. Thus all the mitigations you see here.

The Microsoft's USB tool does not use install.wim; it contains install.esd instead. It is basically the same thing, but with different compression, so it is still a bit under 4GB. You can recompress install.wim into install.esd, if you have the inclination ...and a windows machine nearby (dism /export-image).