Copy an image file to the SD card

From GNU Radio
Jump to: navigation, search

Given you have file with a name like and you need to copy it onto an SD card, there are a couple of methods. Copying the image onto the card has all the needed partition information, saving you from lots of potential errors, on the other hand it can be slower.

In the past we used the dd command like this:

$ xzdec
$ sudo dd of=/dev/sdX

Where /dev/sdX is the device the card is mounted as. This works, but can be slow.

Recently, we have started working with the bmaptool ( So lets install bmaptool and copy an image that way.

$ git clone git://
$ cd bmap-tools
$ sudo python install

If you can't run git through your firewall, I places a tarball at

Now you should be able to run bmaptool from your path.

$ sudo bmaptool copy /dev/sdX --nobmap

While writing this, I saw that it is possible bmaptool might install from http urls. I need to test this.