Copy an image file to the SD card

From GNU Radio
Revision as of 01:36, 8 March 2017 by Mbr0wn (talk | contribs) (Imported from Redmine)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Copy an image file to the SD card

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