# Upgrade Raspberry 2 to rasberry5

**URL:** https://dietpi.com/forum/t/upgrade-raspberry-2-to-rasberry5/20563
**Category:** General Discussion
**Created:** [24 June 2024 12:44 UTC](https://dietpi.com/forum/t/upgrade-raspberry-2-to-rasberry5/20563 "2024-06-24T12:44:12Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Locnar](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/l/898d66/32.png) [@Locnar](https://dietpi.com/forum/u/Locnar)
#### Post date: [24 June 2024 12:44 UTC](https://dietpi.com/forum/t/upgrade-raspberry-2-to-rasberry5/20563/1 "2024-06-24T12:44:12Z")

</div>

Hello

What i have to do if i want to have all my settings and all my programs to a new version of Raspberry?  
I make this questions because on raspberry 5 it seems i need to download a different version of dietpi

Thanks a lot

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [24 June 2024 13:03 UTC](https://dietpi.com/forum/t/upgrade-raspberry-2-to-rasberry5/20563/2 "2024-06-24T13:03:33Z")

</div>

pls fill the following template to get some more details on your current environment

#### Required

- DietPi version | `cat /boot/dietpi/.version`
- Distro version | `echo $G_DISTRO_NAME $G_RASPBIAN`
- Kernel version | `uname -a`
- Architecture | `dpkg --print-architecture`
- SBC model | `echo $G_HW_MODEL_NAME` or (EG: RPi3)

---

<div class="post-metadata">

### Author: ![Locnar](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/l/898d66/32.png) [@Locnar](https://dietpi.com/forum/u/Locnar)
#### Post date: [24 June 2024 13:08 UTC](https://dietpi.com/forum/t/upgrade-raspberry-2-to-rasberry5/20563/3 "2024-06-24T13:08:11Z")

</div>

> [@Joulinar](#):
>
> cat /boot/dietpi/.version

Dietpi Version  
G\_DIETPI\_VERSION\_CORE=9  
G\_DIETPI\_VERSION\_SUB=5  
G\_DIETPI\_VERSION\_RC=1  
G\_GITBRANCH=‘master’  
G\_GITOWNER=‘MichaIng’  
G\_LIVE\_PATCH\_STATUS[0]=‘not applicable’

Distro version bookworm 0  
Kernel version | Linux Facehugger 6.1.21-v7+ #1642 SMP  
Architecture armhf  
RPi 2 Model B (armv7l)

Sorry

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [24 June 2024 13:19 UTC](https://dietpi.com/forum/t/upgrade-raspberry-2-to-rasberry5/20563/4 "2024-06-24T13:19:00Z")

</div>

Will the RPi5 your target SBC or could it be something else as well? Just asking what you are planning as the final SBC will make a difference on what to do.

---

<div class="post-metadata">

### Author: ![Locnar](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/l/898d66/32.png) [@Locnar](https://dietpi.com/forum/u/Locnar)
#### Post date: [24 June 2024 14:06 UTC](https://dietpi.com/forum/t/upgrade-raspberry-2-to-rasberry5/20563/5 "2024-06-24T14:06:26Z")

</div>

Thanks a lot  
The RPi5 will be my target  
I buyed the original one…

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [24 June 2024 15:36 UTC](https://dietpi.com/forum/t/upgrade-raspberry-2-to-rasberry5/20563/6 "2024-06-24T15:36:19Z")

</div>

theoretically it would be possible to migrate the running system into an RPI5 compatible image and switch SD cards afterwards. For doing this, you would need to migrate to the new RPi firmware package [Image | Raspberry Pi 5: Testing and firmware migration script · Issue #6676 · MichaIng/DietPi · GitHub](https://github.com/MichaIng/DietPi/issues/6676) Keep an eye on the warning 😉

But we never tested the conversion from PRi2 into RPi5 system.

---

<div class="post-metadata">

### Author: ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)
#### Post date: [21 December 2024 15:37 UTC](https://dietpi.com/forum/t/upgrade-raspberry-2-to-rasberry5/20563/7 "2024-12-21T15:37:08Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
