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:16] Sean Rhonebsd:notes:format_fat32_usb [2026/07/20 18:39] (current) Sean Rhone
Line 2: Line 2:
  
   * Format entire USB to FAT32   * Format entire USB to FAT32
-  * Create Windows install USB for EFI 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 38: Line 39:
 ===== Etc ===== ===== 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' 
 + 
 +  cp -R ~/'Downloads/W10USB' '/mnt/USB1' 
 + 
 +====== Unmount ====== 
 + 
 +  su - 
 + 
 +  sync && umount '/mnt/USB1' 
 + 
 +  usbconfig
  
-  gio open ~/'Downloads' '/mnt/USB1'+  usbconfig -d '/dev/ugen0.4' 'power_off&& sleep '0.5&& usbconfig
  
/usr/local/www/wiki/data/attic/bsd/notes/format_fat32_usb.1768443392.txt.gz · Last modified: by Sean Rhone