Writing a .dd.bz2 Image Directly to Media

Here’s a tip that I used just about everyday at work.  We usually compress our .dd images down using bzip2 and it can be a hassle having to uncompress and then dd the image to the SD card or other media.  Instead, why not do it all in one swift command with bz2cat?

bz2cat path/to/the/filename.dd.bz2 | dd of=/dev/sdb

Feel free to donate if this post prevented any headaches! Another way to show your appreciation is to take a gander at these relative ads that you may be interested in:

There's 1 Comment So Far

  • Jase
    December 28th, 2012 at 11:58 am

    Hey, thanks, I used your tip to DD my .img that was bz compressed, and it worked flawlessly.

Share your thoughts, leave a comment!