Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 clone a bootable USB key. Obviously dd would to the trick nicely, but since the actual size of the files on my drive is ~15MB I end up waiting for a bunch of minutes while dd copies empty blocks to my 4GB USB key.

Is anyone aware of a solution that does this nicely (e.g., copy all files, clone MBR) without the wait of copying empty blocks?

share|improve this question

dd takes a -count command line that lets you specify how many blocks to copy.

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.