Using dd I'm getting a Resource Busy error

Discussion in 'OS X' started by JoshFink, Nov 10, 2007.

  1. macrumors regular

    Aug 3, 2007
    Atlanta, GA
    Hello, I'm trying to restore an old Hard Drive image OS.dmg to a usb hard drive that I have.

    I'm using the command:

    dd if=/Users/Shared/OS.dmg of=/dev/disk5 bs=1m

    And I'm getting

    dd: /dev/disk5: Resource busy

    What would cause this error? I'm not sure why it's "busy"



    PS.. I get the exact same thing when i try to do it in DiskUtility
  2. macrumors newbie

    Nov 10, 2007
    I just did this - what I did may work for you

    In order to overwrite all the information on the disk, you have to make sure the mac OS isn't using it first

    Open the, and on your USB hard drive, unmount any of it's partitions. Do not eject the USB hard drive.

    Right click on the hard drive in the DiskUtility and get it's Identifier from the Information tab.

    Now take your image, and the identifier, and put it all together with something like this, on the command line in terminal:
    dd if=<your image file> of=/dev/<disk identifier>

    That worked for me putting the diskboot.img bootable Linux image file onto a USB hard drive that had the identifier disk1 by doing dd if=/Users/mike/diskboot.img of=/dev/disk1

    good luck
  3. macrumors newbie

    Feb 8, 2008
  4. macrumors newbie

    Feb 8, 2015
  5. macrumors newbie

    Sep 3, 2015
    Los Angeles
  6. macrumors newbie

    Sarthak Varshney

    Sep 27, 2015
    thank you so much!
    it helped!!

Share This Page