====== Information ====== * Format entire USB to FAT32 * Create Windows install USB for EFI boot ((:!: no boot sector/etc for Legacy/non-UEFI boot)) ====== Format ====== su - geom disk list gpart destroy -F 'da0' gpart create -s 'MBR' 'da0' gpart add -t 'fat32' 'da0' gpart list 'da0' newfs_msdos -F '32' -L 'Windows' '/dev/da0s1' ====== Mount ====== su - mkdir -p '/mnt/USB1' && mount_msdosfs -o 'longnames' -u '1001' -g '1001' -l '/dev/da0s1' '/mnt/USB1' exit gio open '/mnt/USB1' ====== Copy Windows ISO ====== **** 7z x ~/'Downloads/en-us_windows_10_iot_enterprise_ltsc_2021_x64_dvd_257ad90f.iso' -o'/mnt/USB1' && sync ===== Etc ===== * [[https://www.catalog.update.microsoft.com/Search.aspx?q=Cumulative+Update+for+Windows+10+Version+21H2+for+x64-based+Systems|Windows 10 21H2 Cumulative Updates - Microsoft Update Catalog]] * [[windows:10#programs|Programs]] mkdir -p '/mnt/USB1/W10USB' && gio open ~/'Downloads' '/mnt/USB1/W10USB' ====== Unmount ====== su - sync && umount '/mnt/USB1' usbconfig usbconfig -d '/dev/ugen0.4' 'power_off' && sleep '0.5' && usbconfig