udara
Posts: 50
Joined: Fri Jul 11, 2014 3:27 pm

(Solved) Save Files In RPi SD Card

Sun Aug 03, 2014 1:11 pm

In my Raspberry pi I'm using 2014-06-20-wheezy-raspbian image in 16 GB SD card and I want to save some video files around 1 GB in SD card but it allows me to copy about 300MB of data. Is there any way to do this or only option is saving files in a pen drive and plug it to RPi.
Thanks.
Last edited by udara on Mon Aug 04, 2014 3:18 pm, edited 1 time in total.

W. H. Heydt
Posts: 12654
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Save Files In RPi SD Card

Sun Aug 03, 2014 4:55 pm

What device are you using to put the file on the SD card? A PC? If so, you're only seeing the FAT formatted boot partition which is rather small (as you've discovered).

Some possible solutions...
Copy the files to the Pi over a TCP/IP (aka "internet") like. From a PC, you can use pscp, for instance. Just download/install PuTTY (generally useful) and pscp to both the Pi and your PC.

If you have access to another machine running Linux, you can can copy the files to the SD cards main partition, or you can resize (see "gpartd") the main and boot partitions to give you the space you need (Note: I don't recommend the resizing option. I'm only including it because it would work.)

You could put the files on a USB drive and copy them to the SD card on the Pi itself.

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Save Files In RPi SD Card

Sun Aug 03, 2014 6:19 pm

If you 'burnt' the Raspdian Image direct, you'll need to 'stretch' the partition afterwards so it can use all of the SD Card, You should easily have 13 GB of space on a 16 GB card.

Image

sudo raspi-config and its the first entry.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

udara
Posts: 50
Joined: Fri Jul 11, 2014 3:27 pm

Re: Save Files In RPi SD Card

Mon Aug 04, 2014 3:14 pm

Thanks for the replies.
I checked with linux OS and Raspbian OS took only 2.9 GB in SD card and then I expand the file system using 'sudo raspi-config' then Raspbian OS expand to total available in SD card and I copied 1 GB video file using 'PuTTY' and it successfully copied.
Thanks.

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

Re: (Solved) Save Files In RPi SD Card

Mon Aug 04, 2014 3:20 pm

df -h
will show you how much is on the card
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

Return to “Beginners”