Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to create a dual boot for Ubuntu and Windows 7. Currently I only have a macbook with OS 10.7.5 installed, this means that I have to use the terminal in order to create an Ubuntu booting USB for live booting. According to a website I found I need to do the following:

hdiutil convert -format UDRW -o /Volumes/NO NAME.img /Users/Thijs/downloads/ubuntu-12.04.3-desktop-amd64.iso

However this returns the error :

hdiutil: convert: only a single input file can be specified
Usage:  hdiutil convert -format <format> -o <outfile> [options] <image>
    hdiutil convert -help

Does anyone know how to fix?

share|improve this question
up vote 1 down vote accepted

Try this,

hdiutil convert -format UDRW -o /Volumes/"NO NAME.img" /Users/Thijs/downloads/ubuntu-12.04.3-desktop-amd64.iso


hdiutil convert -format Rdxx -o /Volumes/"NO NAME.img" /Users/Thijs/downloads/ubuntu-12.04.3-desktop-amd64.iso
share|improve this answer
Alright it seems to have at least done something. – Thijser Nov 27 '13 at 15:11

Just remove "~" and never try to to convert it on same folder , Use Rdxx instead of UDRW as.

hdiutil convert -format Rdxx -o /Volumes/"NO NAME.img" /ubuntu-12.04.3-desktop-amd64.iso

hope it will work.

share|improve this answer
sorry that gives the same error, However I have modified the version a bit (now posted) and made it work from download folder. – Thijser Nov 27 '13 at 15:05
how did the above command work without using "" quotes.? – Avinash Raj Nov 27 '13 at 15:15
worked for many ,check… – Sushantp606 Nov 27 '13 at 15:17
filename with space are enclosed within double quotes,otherwise it won't work.see my post. – Avinash Raj Nov 27 '13 at 15:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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