

I thought I’d share the issue and the solution as I could not find anything online that solved this problem. You know the message … “Disk Not Ejected Properly.” At this point I could mount the HDD.

One day, “out of the blue” as we say, it disconnected from my iMac (27-inch, Late 2012 running macOS Mojave Version 10.14.6). Note: On newer Macs you might have to install an EFI boot manager to boot from USB.I recently had an issue with an expensive external hard drive which I use for Time Machine backups with a separate partition to share media on my home network.

If you see the error dd: /dev/diskN: Resource busy, make sure the disk is not in use.Use the same command but replace bs=1m with bs=1M. If you see the error dd: Invalid number '1m', you are using GNU dd.Using /dev/rdisk instead of /dev/disk may be faster.Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located for example.Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command in the previous example, N would be 2).Run diskutil list again and determine the device node assigned to your flash media (e.g.Run diskutil list to get the current list of devices.dmg extension as necessary, mv ~/path/to/target.img dmg ending on the output file automatically. img using the convert option of hdiutil (e.g., hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso) Open the Terminal (in /Applications/Utilities/ or query Terminal in Spotlight).Directly from the How to install Ubuntu on MacBook using USB Stick page
