How to:Write Image to SD Card

From Open Source Ecology
Jump to: navigation, 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. For now, the Image can be Found here Octopi Image

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.

Cluster-Wifi.jpg

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 #) marked in the picture for your kind of network authentification (which is probably and hopefully WPA2) and fill in your SSID (this means the name of your WIFI when you see it on a computer or smartphone) 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!