Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Possibly format a troublesome USB drive via Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Possibly format a troublesome USB drive via Terminal
Authored by: cklegan on Dec 08, '12 10:14:32AM

My system could NOT unmount the drive, even when booting with Apple-R, etc., and command-line eraseDisk also failed.

Reason is something is accessing the drive. Using, fix it as follows (need to be Administrator type User for superuser/sudo privs):

at command line enter: ps aux | grep fsck

root 597 12.8 12.7 2965496 533992 ?? U 11:50AM 5:41.00 /System/Library/Filesystems/hfs.fs/Contents/Resources/../../../../../../sbin/fsck_hfs -y /dev/disk1s2

** kill that process

at command line enter: sudo kill -9 597 (enter password)

** proceed to reformat using DiskUtility

[ Reply to This | # ]