User avatar
BorbingoBoy
Posts: 12
Joined: Sun Apr 09, 2017 6:24 am
Location: Croatia
Contact: Website

Moving Program Data to Thumb Drive?

Fri Apr 14, 2017 7:53 am

Hello. I was doing a cleanup on my SD card I use for my Pi, and went into a problem. For now I have only cleaned up /home/pi/ by deleting large and unnessecary things, and moving other stuff that I don't want to lose to my thumb drive. But, the problem is, Chrome takes around 100 MB of data, and I would like to move that and possibly other program data on my thumb drive as well. Is that possible, do I even need to do this, or should I just use a different browser?

Thanks!
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456

hommar
Posts: 172
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Re: Moving Program Data to Thumb Drive?

Fri Apr 14, 2017 11:10 am

I mount /home/pi/.cache to tmpfs at boot every time
i.e. this folder do not need backup

User avatar
Gavinmc42
Posts: 3622
Joined: Wed Aug 28, 2013 3:31 am

Re: Moving Program Data to Thumb Drive?

Sat Apr 15, 2017 2:55 am

You can move nearly everything to a thumb drive.
My Pi3's boots from tiny 32GB USB sticks.
Older Pi's still need a sdcard for booting, but the rest can be on a USB stick.
Or USB harddrive or USB caddy M2 SSD.....
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
BorbingoBoy
Posts: 12
Joined: Sun Apr 09, 2017 6:24 am
Location: Croatia
Contact: Website

Re: Moving Program Data to Thumb Drive?

Tue Apr 18, 2017 7:24 pm

Gavinmc42 wrote:You can move nearly everything to a thumb drive.
What you wanted to say is that I should make my Pi boot in the thumb drive or a hard disk and have everything on it, am I right? It isn't really what I meant in my post, but if it's the only solution I might go with that. What I exactly meant is to have program data (Chrome,...) on my thumb drive, yet boot from a SD card that I use for the Pi.

And I almost forgot to mention, I have a Pi 3.
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456

User avatar
Gavinmc42
Posts: 3622
Joined: Wed Aug 28, 2013 3:31 am

Re: Moving Program Data to Thumb Drive?

Tue Apr 18, 2017 11:17 pm

Now that the Pi3 can boot from USB, why tie yourself to small sdcard.

I found a 32B Tiny Lexus USB stick for $20, 16GB Sdcard was $17, Finance department approved 32GB ;)
Since I want to turn the Pi3 into a development box it could/will end up with lots of IDE's/compilers etc.
32GB gives me some extra breathing room, some of my 16GB SDs are already at 13GB.
Ah, the good old days when 4GB was plenty for Raspbian, seems like it was just last year or so :roll:

If you really want to go small and get rid of bloat.
Try piCore, boot partition 30MB, OS = 12MB for headless , <40MB for x11 desktop with Fifth Browser.
Works fine in the old bullet proof 128/256/512MB cards. For X11 use I have a 2GB card :lol:

What we need is USB stick with little switches so you can boot Raspbian or piCore or Mate or.....
M2 SSD in USB caddy? Little bit expensive but lots of space :lol:
Other non BCM2837 Pi's cannot boot from USB so need to boot from sdcard then redirect to USB memory
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “Raspbian”