Migration from pi5(8gb) to pi5(16gb)
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)
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)
Re: Migration from pi5(8gb) to pi5(16gb)
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).
As I said though only precautionary.
Code: Select all
sudo apt update && sudo apt full-upgrade
E8 85 A2 40 C9 40 81 94 40 81 95 40 89 84 89 96 A3
Still NF Shirls
Still NF Shirls
Re: Migration from pi5(8gb) to pi5(16gb)
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 :)
Re: Migration from pi5(8gb) to pi5(16gb)
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.
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.
Re: Migration from pi5(8gb) to pi5(16gb)
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)
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.
Re: Migration from pi5(8gb) to pi5(16gb)
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 ! 😄
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 ! 😄
Re: Migration from pi5(8gb) to pi5(16gb)
Google translation for others
@Emilie35, may I suggest you use the Français sub forum, or as a courtesy to others translate your posts.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, 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
Still NF Shirls
- DougieLawson
- Posts: 43604
- Joined: Sun Jun 16, 2013 11:19 pm
Re: Migration from pi5(8gb) to pi5(16gb)
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.
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.
Re: Migration from pi5(8gb) to pi5(16gb)
My thoughts too, I was just giving her/it the benefit of doubt.DougieLawson wrote: ↑Mon Oct 20, 2025 2:43 pmI suspect Emilie is a French AI spammer. Her three posts don't say much about Raspberries and appear as AI slop.
E8 85 A2 40 C9 40 81 94 40 81 95 40 89 84 89 96 A3
Still NF Shirls
Still NF Shirls
Return to "General discussion"
Jump to
- Community
- General discussion
- Announcements
- Other languages
- Deutsch
- Español
- Français
- Italiano
- Nederlands
- 日本語
- Polski
- Português
- Русский
- Türkçe
- User groups and events
- Raspberry Pi Official Magazine
- Using the Raspberry Pi
- Beginners
- Troubleshooting
- Advanced users
- Assistive technology and accessibility
- Education
- Picademy
- Teaching and learning resources
- Staffroom, classroom and projects
- Astro Pi
- Mathematica
- High Altitude Balloon
- Weather station
- Programming
- C/C++
- Java
- Python
- Scratch
- Other programming languages
- Windows 10 for IoT
- Wolfram Language
- Bare metal, Assembly language
- Graphics programming
- OpenGLES
- OpenVG
- OpenMAX
- General programming discussion
- Projects
- Networking and servers
- Automation, sensing and robotics
- Graphics, sound and multimedia
- Other projects
- Media centres
- Gaming
- AIY Projects
- Hardware and peripherals
- Camera board
- Compute Module
- Official Display
- HATs and other add-ons
- Device Tree
- Interfacing (DSI, CSI, I2C, etc.)
- Keyboard computers (400, 500, 500+)
- Raspberry Pi Pico
- General
- SDK
- MicroPython
- Other RP2040 boards
- Zephyr
- Rust
- AI Accelerator
- AI Camera - IMX500
- Hailo
- Software
- Raspberry Pi OS
- Raspberry Pi Connect
- Raspberry Pi Desktop for PC and Mac
- Beta testing
- Other
- Android
- Debian
- FreeBSD
- Gentoo
- Linux Kernel
- NetBSD
- openSUSE
- Plan 9
- Puppy
- Arch
- Pidora / Fedora
- RISCOS
- Ubuntu
- Ye Olde Pi Shoppe
- For sale
- Wanted
- Off topic
- Off topic discussion