I am trying to dd a windows-11 iso to a 32 Gb USB flash drive. I am getting this error:
dmesg shows this:
gpart list da0 shows this:
The usb key was previously used on a Windows 7 system at some unknown date.
Is there a way to repair this device so that the iso can be loaded onto it?
Code:
# dd of=/dev/da0 bs=4M conv=sync status=progress if=/home/byrnejb_hll/Downloads/MS-Windows/Win11_22H2_English_x64v1.iso of=/dev/da0 bs=1M conv=sync
dd: of: illegal argument combination or already set
dmesg shows this:
Code:
ugen0.2: <Generic Mass Storage> at usbus0
umass0 on uhub1
umass0: <Generic Mass Storage, class 0/0, rev 2.00/1.00, addr 12> on usbus0
umass0: SCSI over Bulk-Only; quirks = 0x4101
umass0:9:0: Attached to scbus9
da0 at umass-sim0 bus 0 scbus9 target 0 lun 0
da0: <Generic Flash Disk 8.07> Removable Direct Access SPC-2 SCSI device
da0: Serial Number 5A897DA9
da0: 40.000MB/s transfers
da0: 30500MB (62464000 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
gpart list da0 shows this:
Code:
# !gpart
gpart list da0
gpart: Class 'PART' does not have an instance named 'da0'
The usb key was previously used on a Windows 7 system at some unknown date.
Is there a way to repair this device so that the iso can be loaded onto it?