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?

link|improve this question
feedback

1 Answer

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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