User Tools

Site Tools


bsd:notes:format_fat32_usb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bsd:notes:format_fat32_usb [2026/01/14 21:24] Sean Rhonebsd:notes:format_fat32_usb [2026/07/20 18:39] (current) Sean Rhone
Line 3: Line 3:
   * Format entire USB to FAT32   * Format entire USB to FAT32
   * Create Windows install USB for EFI boot ((:!: no boot sector/etc for Legacy/non-UEFI boot))   * Create Windows install USB for EFI boot ((:!: no boot sector/etc for Legacy/non-UEFI boot))
 +  * :!: TODO: GPT instead of MBR ((:?: There might be a difference with MBR having Windows install CSM/Legacy support under UEFI, vs GPT not having CSM/Legacy; check Rufus))
  
 ====== Format ====== ====== Format ======
Line 11: Line 12:
  
   gpart destroy -F 'da0'   gpart destroy -F 'da0'
 +
 +  dd if='/dev/zero' of='/dev/da0' count='18096'
  
   gpart create -s 'MBR' 'da0'   gpart create -s 'MBR' 'da0'
Line 31: Line 34:
  
 ====== Copy Windows ISO ====== ====== Copy Windows ISO ======
- 
-**** 
  
   7z x ~/'Downloads/en-us_windows_10_iot_enterprise_ltsc_2021_x64_dvd_257ad90f.iso' -o'/mnt/USB1' && sync   7z x ~/'Downloads/en-us_windows_10_iot_enterprise_ltsc_2021_x64_dvd_257ad90f.iso' -o'/mnt/USB1' && sync
Line 42: Line 43:
  
   mkdir -p '/mnt/USB1/W10USB' && gio open ~/'Downloads' '/mnt/USB1/W10USB'   mkdir -p '/mnt/USB1/W10USB' && gio open ~/'Downloads' '/mnt/USB1/W10USB'
 +
 +  cp -R ~/'Downloads/W10USB' '/mnt/USB1'
 +
 +====== Unmount ======
 +
 +  su -
 +
 +  sync && umount '/mnt/USB1'
 +
 +  usbconfig
 +
 +  usbconfig -d '/dev/ugen0.4' 'power_off' && sleep '0.5' && usbconfig
  
/usr/local/www/wiki/data/attic/bsd/notes/format_fat32_usb.1768443868.txt.gz · Last modified: by Sean Rhone