Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

dd takes a -count command line that lets you specify how many blocks to copy. http://linux.die.net/man/1/dd

share|improve this answer

Your Answer

 
discard

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.