How to:Write Image to SD Card

From Open Source Ecology
Revision as of 09:48, 3 July 2017 by Christian (talk | contribs)
Jump to navigation Jump to search

This page will explain how to write an Image to an external drive, like a SD card or a USB Stick. The SD card will be created on the OSE Linux Distribution (Ubuntu). The SD card will be used in a Raspberry Pi as an operating system. The Raspberry Pi will run the OSE 3D Print Cluster Software. This software will run up to 12 (and eventually 100) 3D printers -from a single Raspberry PI.

What is an Image file?

An Image file is an exact copy of a partition or an entire hard drive. It's imagined best as a backup of a storage device, like a HDD or a stick. Writing an image to a medium is therefore very similar to restoring a backup. The Raspberry Pi Images are of course no backup but the source of the operating system, but it's helpful to understand that there is no installation ongoing like we're used to it, instead it's just copying an out of the box working version of the operating system onto the SD Card.

Using Disk Image Writer

WARNING: This process will delete all data from the SD card or USB Stick. Backup any data beforehand!!!


First you should assure that the external drive has enough space. When no other information is given, a minimum of 4 Gigabyte should be appropriate.

After Downloading the image, the Image will probably be zipped. To unzip it, right click and "extract it" Extract Folder.png


After Downloading the image, right click on it and choose "Open with" -> "Disk Image Writer" Disk Image Writer Choosing.png


This will open a window with a pop-up to choose the drive upon which the image should be written. Disk Image writer Interface.png


For this Scenario, the SD Card reader gets selected. After clicking restore the process will begin.

And you're done!



After this, there may be some kind of customization to make, however this is very specific and should always be handeled with care. In the case of the OSE 3dPrint Cluster Software, you can put in your wifi credentials so the Raspberry Pi will automatically connect to your network. For achieving that, we have to modify a textfile. Go to the external partition called 'boot' and open the octopi-network.txt. Now you have to customize depending on the network, there are three options here: WPA/WPA2, WEP and unsecured. Uncomment the lines (meaning: remove the #) below your kind of network authentification (which is problably and hopefully WPA2) and fill in your SSID (this means the name of your network) and the WIFI password inside the "". Don't forget to save the file.

After that the SD Card should be ready. Test on your PI and turn it on!

The Usage of the OSE 3dPrint Cluster Software is simply done by starting the PI up and typing in the IP adress of the PI (can be found out in the router) into a browsers adress bar.