Bootable drive for El Capitan Won't Erase!

Techno Pirate

macrumors newbie
Original poster
Jul 29, 2012
14
0
So I was making a bootable drive for El Capitan on my 16g usb flashdrive when I got an error msg in terminal telling me that it failed. It was weird because the usb was ejected by the OS. When I removed the usb and put it back it showed up as a bootable drive (probably one that won't work given the error msg I got), however it wouldn't let me erase it in disk utility OR TERMINAL. Literally nothing works. I tried every single terminal command I could find on the internet for forcefully erasing a drive but I always get error messages or that the drive cannot be unmounted.

Any help pls I really don't want to trash my usb
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
29,178
8,828
California
Attach the drive then run the following two commands in Terminal one after the other and tell us the output of each.

Code:
diskutil list

diskutil cs list
 

JohnDS

macrumors 65816
Oct 25, 2015
1,185
244
Probably the flash drive is dead. They don't last forever. You can get a new 16Gb USB3 flash drive for about $10. What is your time worth? Best buy a new flash drive.
 

Techno Pirate

macrumors newbie
Original poster
Jul 29, 2012
14
0
Probably the flash drive is dead. They don't last forever. You can get a new 16Gb USB3 flash drive for about $10. What is your time worth? Best buy a new flash drive.

It's a brand new drive. And is it dead if my computer can see it still?
 

Techno Pirate

macrumors newbie
Original poster
Jul 29, 2012
14
0
Attach the drive then run the following two commands in Terminal one after the other and tell us the output of each.

Code:
diskutil list

diskutil cs list

Alexanders-MBP:~ Luck$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.1 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 499.2 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *15.5 GB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_HFS Install OS X El Capitan 15.2 GB disk1s2


Alexanders-MBP:~ Luck$ diskutil cs list

No CoreStorage logical volume groups found
[doublepost=1477240503][/doublepost]
Is there by any chance a physical read-only slide switch on the drive?
nope
 

JohnDS

macrumors 65816
Oct 25, 2015
1,185
244
When you tried to erase using Disk Utility, were you clicked on the line for the partition ("Install OSX El Capitan") or on the line above it which shows the name of the flash drive manufacturer? If the former, try erasing while clicked on the flash drive manufacturer's name.
 

Techno Pirate

macrumors newbie
Original poster
Jul 29, 2012
14
0
When you tried to erase using Disk Utility, were you clicked on the line for the partition ("Install OSX El Capitan") or on the line above it which shows the name of the flash drive manufacturer? If the former, try erasing while clicked on the flash drive manufacturer's name.
I've tried both. It's greyed out in both cases.