dd command with sync

This commit is contained in:
Bob Mottram 2017-09-21 11:11:23 +01:00
parent 60f2ac5e2e
commit 0061deff3f
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ If you have a single board ARM computer which isn't one of the supported ones th
Download the Armbian image for your board. It must be version 9 (Stretch), otherwise it won't work. Extract the image from its archive, then copy it to a microSD card:
#+begin_src bash
sudo dd if=[Armbian .img file] of=/dev/sdX
sudo dd bs=1M if=[Armbian .img file] of=/dev/sdX conv=fdatasync
#+end_src
Where */dev/sdX* is the path for the microSD drive on your system.

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2017-09-20 Wed 20:03 -->
<!-- 2017-09-21 Thu 11:11 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
@ -256,7 +256,7 @@ Download the Armbian image for your board. It must be version 9 (Stretch), other
</p>
<div class="org-src-container">
<pre class="src src-bash">sudo dd <span class="org-variable-name">if</span>=[Armbian .img file] <span class="org-variable-name">of</span>=/dev/sdX
<pre class="src src-bash">sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=[Armbian .img file] <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
</pre>
</div>