This afternoon I attempted to mount a .iso of Windows 7 to a bootable USB drive. It's about 370GiB, so more than enough to store it. I did the following to get myself into this mess. Note,/sda/disk2
is the right disk.
mightybee at mightybook.T-mobile.com in [~]
12:06:27 › sudo dd if=/Users/mightybee/Desktop/en_windows_10_multiple_editions_version_1511_x64_dvd_7223712.iso of=/dev/rdisk2 bs=1m
12:10:21 › diskutil eject /dev/disk2
After that, I was left with a disk that was reformatted to look like this:
The disk is not bootable and doesn't do what I wanted it to do. Furthermore, the disk is actually un-reformattable, unreadable, and practically unusable. When I run eraseDisk, I get this:
diskutil eraseDisk FAT32 WINSEVEN /dev/disk2
Unable to begin erase operation: The target disk is too small for this operation (-69771)
So my question is this: How do I regain the ability to erase and try another method to write to this disk?