1

http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx

When I get to the step of converting the .iso to an .img it continues to respond as such: " -bash: /Users/RidgeJohnston/Downloads/ubuntu-14.04.1-desktop-amd64.iso: Permission denied "

How can I get passed this denied action and complete the processes?

  • Did you use sudo before the command? – Rohith Madhavan Nov 16 '14 at 0:52
  • This is the command script I used: " ~ RidgeJohnston$ /Users/RidgeJohnston/Downloads/ubuntu-14.04.1-desktop-amd64.iso hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/unbunto.iso " – Ridge Johnston Nov 16 '14 at 1:02
0

Try the following command

hdiutil convert -format UDRW -o ~/Downloads/ubuntu.img ~/Downloads/ubuntu-14.04.1-desktop-amd64.iso

Use sudo before the command if required.

This will convert the iso file to an img file and save it as 'ubuntu.img' in your Downloads folder.

Run diskutil list and determine the device node assigned to the USB Drive eg- /dev/disk2

Now unmount this disk diskutil unmountDisk /dev/diskN where N should be replaced with the node number determined above eg- 2.

Now, write the image to the USB drive using the command

sudo dd if=~/Downloads/ubuntu.img.dmg of=/dev/rdiskN bs=1m

where N should be replaced with the node number.

  • It responded as such: " hdiutil: convert failed - No such file or directory " – Ridge Johnston Nov 16 '14 at 1:17
  • Remove the /Users/RidgeJohnston from both paths in the command and try again. Answer has also been edited accordingly. – Rohith Madhavan Nov 16 '14 at 1:18
  • I used this code script: " hdiutil convert -format UDRW -o /Downloads/unbuntu.img /Downloads/unbuntu-14.04.1-desktop-amd64.iso " and it responded as such: " hdiutil: convert failed - No such file or directory " – Ridge Johnston Nov 16 '14 at 1:24
  • It is ubuntu not unbuntu :-P Copy the command from the answer and run it in the terminal. – Rohith Madhavan Nov 16 '14 at 1:25
  • lol I complete overlooked the spelling. :/ Thank you for posting the script, it worked! Thank you! – Ridge Johnston Nov 16 '14 at 1:30

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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