Editing Copy an image file to the SD card

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
Given you have file with a name like <code>e300.direct.xz</code> 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.
+
Given you have file with a name like e300.direct.xz 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 <code>dd</code> command like this:
+
In the past we used the dd command like this:
  
 
<pre>$ xzdec e300.direct.xz
 
<pre>$ xzdec e300.direct.xz
 
$ sudo dd if=e300.direct of=/dev/sdX</pre>
 
$ sudo dd if=e300.direct of=/dev/sdX</pre>
 +
where /dev/sdX is the device the card is mounted as. This works, but can be slow.
  
Where <code>/dev/sdX</code> is the device the card is mounted as. This works, but can be slow.
+
Recently, we have started working with the bmaptool (http://lwn.net/Articles/563355/) So lets install bmaptool and copy an image that way.
 
 
Recently, we have started working with the <code>bmaptool</code> (http://lwn.net/Articles/563355/) So lets install <code>bmaptool</code> and copy an image that way.
 
  
 
<pre>$ git clone git://git.infradead.org/users/dedekind/bmap-tools.git
 
<pre>$ git clone git://git.infradead.org/users/dedekind/bmap-tools.git
Line 15: Line 14:
 
If you can't run git through your firewall, I places a tarball at https://dl.dropboxusercontent.com/u/14618236/bmap-tools-3.2.tar.gz.
 
If you can't run git through your firewall, I places a tarball at https://dl.dropboxusercontent.com/u/14618236/bmap-tools-3.2.tar.gz.
  
Now you should be able to run <code>bmaptool</code> from your path.
+
Now you should be able to run bmaptool from your path.
  
 
<pre>$ sudo bmaptool copy e300.direct.xz /dev/sdX --nobmap</pre>
 
<pre>$ sudo bmaptool copy e300.direct.xz /dev/sdX --nobmap</pre>
 
+
While writing this, I saw that it is possible bmaptool might install from http urls. I need to test this
While writing this, I saw that it is possible <code>bmaptool</code> might install from http urls. I need to test this.
 

Please note that all contributions to GNU Radio are considered to be released under the Creative Commons Attribution-ShareAlike (see GNU Radio:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)