I have mounted a usb thumb drive into my MBP.

Here is the partial output from mount

/dev/disk2s1 on /Volumes/KINGSTON (ntfs, local, nodev, nosuid, read-only, noowners)

When I tried

$ dd if=/dev/disk2s1 of=usb.img bs=512
dd: /dev/disk2s1: Resource busy

It seems like 'Resource busy' error prevent me from using dd on the thumb drive.

Is there any solution?

link|improve this question

feedback

3 Answers

up vote 2 down vote accepted

Use Disk Utility to unmount the drive, and possibly also to do the copy; this has the advantage that you can mount the image afterward if you need to get at any files in it. If you prefer the command line, hdiutil is the command line version of Disk Utility.

link|improve this answer
feedback

Unmount the volume after you learn its device, then repeat.

link|improve this answer
feedback

Maybe unmount usb drive first and then rerun dd?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.