iFunction
Posts: 74
Joined: Wed Nov 18, 2015 4:16 pm

Unzip raspbian download on Raspberry Pi

Tue Jan 26, 2016 3:19 pm

Hi there,

I have just downloaded Raspbian Jessie as all my other copy became corrupted for some reason. How do you unzip it so it can be mounted onto an sd card on a raspberry pi. I can do it on a mac, but that is at home, and I need to do this here at work but can't do it on the work windows computers. Is there a way to do this on a raspberry pi, or is my day now written off?

jahboater
Posts: 4939
Joined: Wed Feb 04, 2015 6:38 pm

Re: Unzip raspbian download on Raspberry Pi

Tue Jan 26, 2016 3:40 pm

Assuming you have enough disk space ... just use "unzip", then "dd" to write the image to the SD card.

More helpfully, follow this link down to the Linux section where the process is described in great detail.
https://www.raspberrypi.org/documentati ... /README.md
The Pi is just like any other Linux machine, the commands are the same.
A little slower though - it may take some time to unzip a full Jessie image.
"We are in the beginning of a mass extinction, and all you can talk
about is money and fairy tales of eternal economic growth."
- Greta Thunberg

iFunction
Posts: 74
Joined: Wed Nov 18, 2015 4:16 pm

Re: Unzip raspbian download on Raspberry Pi

Tue Jan 26, 2016 3:55 pm

I have unzipped it, but I can't find where it has gone, I was hoping it would just go to the same folder I unzipped it from

jahboater
Posts: 4939
Joined: Wed Feb 04, 2015 6:38 pm

Re: Unzip raspbian download on Raspberry Pi

Tue Jan 26, 2016 4:07 pm

It normally does. The output file ends with ".img". Did you run unzip from the command line?
There is a -d option to send the unzipped files elsewhere, but you would have known had you used that.
The full Jessie image is well over 4GB by the way.
"We are in the beginning of a mass extinction, and all you can talk
about is money and fairy tales of eternal economic growth."
- Greta Thunberg

User avatar
RaTTuS
Posts: 10519
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Unzip raspbian download on Raspberry Pi

Tue Jan 26, 2016 4:07 pm

ls -l
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: Unzip raspbian download on Raspberry Pi

Tue Jan 26, 2016 4:28 pm

If you're using an 8 gig SDCard you may not have enough space, since you're probably using 3 gigs or more for the "/" filesystem already.

The Raspbian zip file is around 1.3gigs, and unzipped it's almost 4gigs. So you'd need well over 5gigs of free space to download and unzip it. If that's a problem you could plug in a flashdrive to provide the needed space for unzipping.

Return to “Beginners”