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 am trying to install ubuntu onto my flash drive using the instructions from this website:

After step 8, the terminal asks for my password, which it accepts and then pops up with this error message:

dd: /dev/rdisk1bs=1m: Operation not supported.

I have also tried making the last m in that statement capital and then the system does not ask me for my password but the error message still pops up. What is happening and why?

share|improve this question
There should be a space between /dev/rdisk1 and bs. If that's not the typo you've done while issuing that dd but only here, you can edit your question so that no confusion arise. – Samik Jul 3 '12 at 10:55
Hmm... Try to erase all data on USB(via terminal or via Disk Utility) – user434475 Jul 29 '15 at 12:39

If you clicked the little eject icon in the Finder, this will unmount and eject the usb drive, which will give the error you saw. You want to umount only.

Unmounting can be done in Apple's Disk Utility using the Unmount button (in toolbar next to Eject), or it can be done as Marcel answers below from the commandline.

sudo diskutil unmountDisk /dev/diskN
share|improve this answer
Welcome to AskUbuntu. It would be helpful to OP if you can explain your answer in more details. – JackLock Jun 25 '13 at 18:21
Unmount failed for /dev/rdisk3 – user391339 Jan 4 '15 at 22:28

If the above does not help (as it did for me), try

sudo diskutil umountDisk /dev/diskN

That did the trick for me.

share|improve this answer
Some explanation? – Joren Oct 7 '13 at 14:24

If the disk is still mounted, you'll get a 'resource busy' error. If it's been ejected, you'll get the 'Operation not supported' error. You need to go into disk utility and UNMOUNT the partitions on the drive but do not EJECT the destination drive. Hope this helps as it can get kinda frustrating and the errors aren't always particularly helpful.

share|improve this answer

I've also had a similar problem while using the correct syntax (i.e. dd bs=1m if=source.img of=/dev/rdisk1).

A reboot seemed to fix my issue, despite several attempts with a command that had worked previously while restoring a different image.

Hope this helps!

share|improve this answer

The correct command is sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (Replacing N with the disk number you found by running diskutil list)

The space between rdiskN and bs=1m is not clear in the guide because of the way the text wraps.

share|improve this answer

i had to unmount then run: sudo dd if=image.img of=/dev/disk1s1 bs=512k

share|improve this answer

of=/dev/rdiskN bs=1m

I didnt realize my first time that the N is still a variable for the disk number you found when running diskutil list

share|improve this answer

As DreadPirate said, you probably have to unmount every single partition of the usb drive first. If no other command listed here works, try the following:

df -h

will return the currently mounted partitions. Find the ones belong to your thumb drive and use

sudo umount /dev/disk1sX

for each one of them, where 0 < X <= number of partitions on the usb drive (found after running the first command).

share|improve this answer

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.