# Can I upgrade an encrypted-rootfs Rpi + non-locked Zymkey 4i from jessie to stretch?

**URL:** <https://community.zymbit.com/t/can-i-upgrade-an-encrypted-rootfs-rpi-non-locked-zymkey-4i-from-jessie-to-stretch/567>\
**Category:** ZYMKEY4\
**Created:** [June 4, 2019, 12:25pm UTC](https://community.zymbit.com/t/can-i-upgrade-an-encrypted-rootfs-rpi-non-locked-zymkey-4i-from-jessie-to-stretch/567 "2019-06-04T12:25:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaribaud-fgs](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@aaribaud-fgs](https://community.zymbit.com/u/aaribaud-fgs)\
**Post date:** [June 4, 2019, 12:25pm UTC](https://community.zymbit.com/t/can-i-upgrade-an-encrypted-rootfs-rpi-non-locked-zymkey-4i-from-jessie-to-stretch/567/1 "2019-06-04T12:25:37Z")

</div>

Hi all,

I have installed a Jessie Raspbian on an Rpi, installed a Zymkey 4i (non-locked) and encrypted the rootfs.

Can I upgrade to Stretch by (dist-)upgrading Jessie then changing sources then (dist-)upgrading again?

Or do I have to reinstall everything from scratch?

What if the Zymkey was locked?

---

<div class="post-metadata">

**Author:** ![Phil\_S\_Zymbit\_1](https://avatars.discourse-cdn.com/v4/letter/p/45deac/32.png) [@Phil\_S\_Zymbit\_1](https://community.zymbit.com/u/Phil_S_Zymbit_1)\
**Post date:** [June 5, 2019, 9:56pm UTC](https://community.zymbit.com/t/can-i-upgrade-an-encrypted-rootfs-rpi-non-locked-zymkey-4i-from-jessie-to-stretch/567/2 "2019-06-05T21:56:58Z")

</div>

Jessie to Stretch is a big change, with lots of possibilities for blowing up, depending upon what your system environment looks like. We recommend re-installing from scratch.

Same is true if your zymkey is locked, expect that if (when) you brick it you have no recovery mechansim. You will need a new zymkey too.
