We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

11 posts • Page 1 of 1
Tanous04
Posts: 1
Joined: Tue Sep 16, 2025 12:01 pm

Migration from pi5(8gb) to pi5(16gb)

Tue Sep 16, 2025 12:08 pm

Hi all,

I just bought a new raspberry pi 5 (16gb) , can I use the same ssd and os from my old pi 5 (8gb) or do I need a fresh installation ?

for the os , i use Raspberry pi OS Lite (64 bit)

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8472
Joined: Wed Aug 17, 2011 7:41 pm

wildfire
Posts: 1798
Joined: Sat Sep 03, 2016 10:39 am

Re: Migration from pi5(8gb) to pi5(16gb)

Tue Sep 16, 2025 1:05 pm

As a precaution I always (if possible) do an update before swapping over to what may be a later release (even with the same model).

Code: Select all

sudo apt update && sudo apt full-upgrade
As I said though only precautionary.
E8 85 A2 40 C9 40 81 94 40 81 95 40 89 84 89 96 A3
Still NF Shirls

Steve-Gib
Posts: 19
Joined: Mon Sep 15, 2025 11:14 am

Re: Migration from pi5(8gb) to pi5(16gb)

Sat Sep 20, 2025 9:16 pm

just getting round to buying a new one aswell butt why did you go from 8GB to 16GB ? is the pi your only computer ?
:) Steve :)

swampdog
Posts: 1461
Joined: Fri Dec 04, 2015 11:22 am

Re: Migration from pi5(8gb) to pi5(16gb)

Wed Sep 24, 2025 5:44 pm

As other posters. With that extra ram your use case may find some advantage in subsequently making use of tmpfs. For instance my (8Gb) rpi5 has 32Gb of swap which at first sight seems counter intuitive but its sole job is to compile stuff. I have a script which unpacks source code into a transient tmpfs and builds projects in another transient tmpfs. One project needs 15Gb for the latter object files. Without tmpfs it would be scribbling loads of tiny files over the ssd, wearing it out and slower access. With tmpfs the unused object files get slowly paged out (to the ssd) and only paged back in when the project performs a massive link operation.

I bought my PC during the GPU crisis so spent the money on 64Gb ram. Most of it is never used which irritated me so I wrote a script which dynamically creates a tmpfs. Now I download and unpack stuff into the tmpfs and only once I know I need to keep it, do I copy it to nvme/ssd. Vastly reduced the "wear" on those devices.

Oh, tmpfs is a ram disk btw, in case you're are unaware.

I have a script 'svr-tmpfs' on github. If anyone wants a link, I'll check what's up there is valid and post a link at the weekend. It is valid: simply I can't remember off the top of my head if it requires other scripts.

XXVII
Posts: 2
Joined: Sun Oct 19, 2025 4:19 pm

Re: Migration from pi5(8gb) to pi5(16gb)

Sun Oct 19, 2025 6:31 pm

A related question: I'm about to buy a Pi 5 16Gb + SSD hat. I already have a (working, fully updated, albeit slow) Pi 3B. Can I use the SD card from the 3B to boot the Pi 5, prior to putting the OS onto the SSD?

W. H. Heydt
Posts: 17262
Joined: Fri Mar 09, 2012 7:36 pm

Re: Migration from pi5(8gb) to pi5(16gb)

Sun Oct 19, 2025 8:39 pm

XXVII wrote:
Sun Oct 19, 2025 6:31 pm
A related question: I'm about to buy a Pi 5 16Gb + SSD hat. I already have a (working, fully updated, albeit slow) Pi 3B. Can I use the SD card from the 3B to boot the Pi 5, prior to putting the OS onto the SSD?
If the old card is on at least Bookworm, then yes. Usual advice applies.... bring the card up to date first.

However, Trixie is now out, so you might want to consider starting with a new card and load that.

Emilie35
Posts: 2
Joined: Thu Oct 16, 2025 2:46 pm

Re: Migration from pi5(8gb) to pi5(16gb)

Mon Oct 20, 2025 1:11 pm

Merci pour toutes vos réponses, c’est très clair ! 🙏

Je viens justement de faire la même migration (8 Go → 16 Go) et je me posais exactement les mêmes questions.
J’ai gardé mon SSD avec Raspberry Pi OS Lite 64 bits sans souci, il a démarré du premier coup.
Comme conseillé, j’ai juste lancé un petit sudo apt update && sudo apt full-upgrade avant de le déplacer, histoire d’être tranquille.

Je confirme aussi que la différence se sent pas mal si on compile ou qu’on utilise plusieurs services en parallèle — le Pi respire beaucoup mieux avec 16 Go ! 😄

wildfire
Posts: 1798
Joined: Sat Sep 03, 2016 10:39 am

Re: Migration from pi5(8gb) to pi5(16gb)

Mon Oct 20, 2025 2:04 pm

Emilie35 wrote:
Mon Oct 20, 2025 1:11 pm
Merci pour toutes vos réponses...
Google translation for others
Thanks for all your answers, it's very clear! 🙏

I just did the same migration (8 GB → 16 GB) and I was asking myself exactly the same questions.
I kept my SSD with Raspberry Pi OS Lite 64-bit without any problems; it booted the first time.
As advised, I just ran a quick sudo apt update && sudo apt full-upgrade before moving it, just to be on the safe side.

I also confirm that the difference is noticeable if you compile or use multiple services simultaneously—the Pi breathes much better with 16 GB! 😄
@Emilie35, may I suggest you use the Français sub forum, or as a courtesy to others translate your posts.

@Emilie35, puis-je vous suggérer d'utiliser le sous-forum Français, ou par courtoisie envers les autres, de traduire vos messages.
E8 85 A2 40 C9 40 81 94 40 81 95 40 89 84 89 96 A3
Still NF Shirls

DougieLawson
Posts: 43604
Joined: Sun Jun 16, 2013 11:19 pm

Re: Migration from pi5(8gb) to pi5(16gb)

Mon Oct 20, 2025 2:43 pm

wildfire wrote:
Mon Oct 20, 2025 2:04 pm
Emilie35 wrote:
Mon Oct 20, 2025 1:11 pm
Merci pour toutes vos réponses...
Google translation for others
I suspect Emilie is a French AI spammer. Her three posts don't say much about Raspberries and appear as AI slop.
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on Bluesky or by LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

wildfire
Posts: 1798
Joined: Sat Sep 03, 2016 10:39 am

Re: Migration from pi5(8gb) to pi5(16gb)

Mon Oct 20, 2025 3:01 pm

DougieLawson wrote:
Mon Oct 20, 2025 2:43 pm
I suspect Emilie is a French AI spammer. Her three posts don't say much about Raspberries and appear as AI slop.
My thoughts too, I was just giving her/it the benefit of doubt.
E8 85 A2 40 C9 40 81 94 40 81 95 40 89 84 89 96 A3
Still NF Shirls

11 posts • Page 1 of 1

Return to "General discussion"

AltStyle によって変換されたページ (->オリジナル) /