Sample Header Ad - 728x90

How to unzip and dd a disk image to an SD Card with a single command?

35 votes
3 answers
35724 views
I am under the following restrictions: * I have a 1.0 GB .zip file on my computer which contains one file, a disk image of raspbian. When uncompressed, this file is 3.2 GB large and named 2015-11-21-raspbian-jessie.img. * After having downloaded the zip file, I have just under 1.0 GB of storage space on my computer, not enough space to extract the image to my computer. * This file needs to be uncompressed and written to an SD card using plain old dd. Is it possible for me to write the image to the SD card under these restrictions? I know it's possible to pipe data through tar and then pipe that data elsewhere, however, will this still work for the zip file format, or does the entire archive need to be uncompressed before any files are accessible?
Asked by IQAndreas (10635 rep)
Aug 29, 2015, 05:13 AM
Last activity: Oct 9, 2024, 10:05 AM