On Wed, Sep 2, 2020 at 3:35 PM Predrag Punosevac <punoseva...@gmail.com> wrote: > > Hi All, > > I am using my desktop > > predrag@oko$ uname -a > OpenBSD oko.int.bagdala2.net 6.7 GENERIC.MP#5 amd64 > > to create a bootable Windows 10 USB flash drive. It is a paid job > although I would not be surprised that my consent to do it, is > consistent with the early signs of dementia. I just wasted a few hours > of my life to find out that install.wim is too large to be written on > Fat32 file system as described in this article > > https://www.zdnet.com/article/windows-10-installer-files-too-big-for-usb-flash-drive-heres-the-fix/ > > I need to split it in two before I can write it to a bootable USB. Has > anybody done this on an OpenBSD machine? It seems that the library for > manipulation of Windows Imaging exists > > https://wimlib.net/ > > but I can't find anything in the ports tree. > > https://openports.pl/ > > And just for the curios you will not be able to mount Windows ISO image > using mount_udf > > This thread is right on money > > https://marc.info/?l=openbsd-misc&m=139271029815043&w=2 > > You will have to use > > 7z e Win10_2004_English_x64.iso > > command to extract the files from the iso image provided by Microsoft. > > Best, > Predrag >
You would be better to use NTFS than muck around with splitting the installer file. Pretty sure it needs to be NTFS to boot anyway, at least for non-UEFI machines. -- Aaron Mason - Programmer, open source addict I've taken my software vows - for beta or for worse