Difference between revisions of "Step-by-step Ubuntu SD Card Setup -- for Windows Users"

From odroid US
Jump to: navigation, search
(Step-by-Step)
Line 1: Line 1:
This tutorial is for Windows users.  See [[Step-by-step Ubuntu SD Card Setup]] for Linux/Mac version
+
This tutorial is for Windows users.   
 
+
See [[Step-by-step Ubuntu SD Card Setup]] for Linux/Mac version.
=== Prerequisites ===
+
You are going to need:
+
<li>To have and SD-Card reader/writer
+
<li>To download an SD-Card image to use
+
<li>To be able to verify the md5sum of the image to make sure it is complete
+
<li>To be able to expand a compressed SD Card image file (.xz)
+
<li>Be able to identify the Windows device designator assigned to the SD Card.  (Like E:)
+
<li>Write the SD Card image file (.img) to the SD Card
+
 
+
=== Software Tools ===
+
<li>7zip is free.  You can use it to expand a .xz file.  Here is a link: [[http://www.7-zip.org/ 7-Zip Project]]
+
<li>The free md5sums program can calculate checksums: [http://www.pc-tools.net/win32/md5sums MD5Sums Project]
+
<li>Win32 Disk Imager is also free.  You can use it to write the .img file to your SD-Card.  Here is a link: [http://sourceforge.net/projects/win32diskimager Win32 Disk Imager]
+
  
 +
=== Prerequisites & Tools ===
 +
* SD-Card & SD-Card reader/writer
 +
* [http://www.7-zip.org/ 7-Zip] to extract the SD-Card image from downloaded .xz file
 +
* [http://sourceforge.net/projects/win32diskimager Win32 Disk Imager] to write the .img file to your SD-Card. 
 +
* ('''optional''') md5sums program can calculate checksums: [http://www.pc-tools.net/win32/md5sums MD5Sums Project]
 +
* ('''optional''') SD card format utility [https://www.sdcard.org/downloads/formatter_3/ SDFormatter]
 
=== Step-by-Step ===
 
=== Step-by-Step ===
  
Is it possible to write a non-blank media with Win32 disk imager?  I had to attempt to format the SD-Card before I could write the image.  Windows complained that it could not format the SD-Card, but then Win32 Disk Imager was able to write it.
+
# Download a compressed SD image (odroidu2_xxxxyyzz-linaro-ubuntu-desktop-uSDeMMC.img.xz) from: http://odroid.us/odroid/odroidu2/ubuntu/
 
+
# ('''optional''') Check md5sum of the downloaded .xz archive
Download the compressed image
+
## Note the MD5 sum of the image on server in the '''.md5sum''' file: odroidu2_xxxxyyzz-linaro-ubuntu-desktop-uSDeMMC.img.xz.md5sum
 
+
## Calculate your md5sum for downloaded file <br/><pre> md5sums odroidu2_xxxxyyzz-linaro-ubuntu-desktop-uSDeMMC.img.xz</pre>
Check the md5sum against the expected one. The md5sum value is usually posted separately.  It could be in a forum, on a website or contained in a separate file. The cd12a526ecdb34c12b4a737044e867e7 value is the checksum that verifies the file transferred correctly.  
+
## Verify if the MD5 checksums match - if not, your downloaded file is corrupted, download again!
 
+
# Extract the .img file from .xz archive using 7-Zip<br/><pre>7z -z odroidu2_xxxxyyzz-linaro-ubuntu-desktop-uSDeMMC.img.xz</pre>
<pre>
+
# Plug your SD-Card to your SD reader/writer.
md5sums odroidu2_20130104-linaro-ubuntu-desktop-uSDeMMC.img.xz
+
# Format the SD-Card using default Windows format utility or [https://www.sdcard.org/downloads/formatter_3/ SDFormatter]<br/>'''Warning''': Make double sure you know which device represents the SD-Card. Formatting an incorrect drive will erase all data!
</pre>
+
# Use the Win32 Disk Imager GUI to select the SD-Card image file (.img) and write it.
 
+
# All done - Plug the SD-Card into Odroid and boot!
Expand the image
+
<pre>
+
7z -z odroidu2_20130104-linaro-ubuntu-desktop-uSDeMMC.img.xz
+
</pre>
+
 
+
Now we have the expanded SD-Card image file, (.img)
+
 
+
Connect your SD-Card reader with an SD-Card installed to your PC.
+
 
+
'''Warning''': Make double sure you know which device designator represents the SD-Card -- no joke, Win32 Disk Imager is completely unforgiving. It will happily wipe a hard drive if you tell it to.
+
 
+
Use the Win32 Disk Imager GUI to select the SD-Card image file (.img) and write it.
+

Revision as of 06:53, 7 April 2013

This tutorial is for Windows users. See Step-by-step Ubuntu SD Card Setup for Linux/Mac version.

Prerequisites & Tools

  • SD-Card & SD-Card reader/writer
  • 7-Zip to extract the SD-Card image from downloaded .xz file
  • Win32 Disk Imager to write the .img file to your SD-Card.
  • (optional) md5sums program can calculate checksums: MD5Sums Project
  • (optional) SD card format utility SDFormatter

Step-by-Step

  1. Download a compressed SD image (odroidu2_xxxxyyzz-linaro-ubuntu-desktop-uSDeMMC.img.xz) from: http://odroid.us/odroid/odroidu2/ubuntu/
  2. (optional) Check md5sum of the downloaded .xz archive
    1. Note the MD5 sum of the image on server in the .md5sum file: odroidu2_xxxxyyzz-linaro-ubuntu-desktop-uSDeMMC.img.xz.md5sum
    2. Calculate your md5sum for downloaded file
       md5sums odroidu2_xxxxyyzz-linaro-ubuntu-desktop-uSDeMMC.img.xz
    3. Verify if the MD5 checksums match - if not, your downloaded file is corrupted, download again!
  3. Extract the .img file from .xz archive using 7-Zip
    7z -z odroidu2_xxxxyyzz-linaro-ubuntu-desktop-uSDeMMC.img.xz
  4. Plug your SD-Card to your SD reader/writer.
  5. Format the SD-Card using default Windows format utility or SDFormatter
    Warning: Make double sure you know which device represents the SD-Card. Formatting an incorrect drive will erase all data!
  6. Use the Win32 Disk Imager GUI to select the SD-Card image file (.img) and write it.
  7. All done - Plug the SD-Card into Odroid and boot!