User Tools

Site Tools


bsd:notes:format_fat32_usb

This is an old revision of the document!


Information

  • Format entire USB to FAT32
  • Create Windows install USB for EFI boot 1)

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

mkdir -p '/mnt/USB1/W10USB' && gio open ~/'Downloads' '/mnt/USB1/W10USB'
1)
:!: no boot sector/etc for Legacy/non-UEFI boot
/usr/local/www/wiki/data/attic/bsd/notes/format_fat32_usb.1768443868.txt.gz · Last modified: by Sean Rhone