# How do I reinstall the mender stuff to Raspberry Pi using "Getting Started" on a decommissioned device?

**URL:** <https://hub.mender.io/t/how-do-i-reinstall-the-mender-stuff-to-raspberry-pi-using-getting-started-on-a-decommissioned-device/6070>\
**Category:** General Discussions\
**Tags:** raspberry-pi-3\
**Created:** [August 2, 2023, 5:05pm UTC](https://hub.mender.io/t/how-do-i-reinstall-the-mender-stuff-to-raspberry-pi-using-getting-started-on-a-decommissioned-device/6070 "2023-08-02T17:05:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EnjoysMath](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@EnjoysMath](https://hub.mender.io/u/EnjoysMath)\
**Post date:** [August 2, 2023, 5:05pm UTC](https://hub.mender.io/t/how-do-i-reinstall-the-mender-stuff-to-raspberry-pi-using-getting-started-on-a-decommissioned-device/6070/1 "2023-08-02T17:05:40Z")

</div>

The device is a raspberrypi3 or specifically a raspberrypi0 wireless. I deleted:

/etc/mender  
/usr/bin/mender

with `sudo rm -r` and that seemed to go through and I decomissioned the device on the Dashboard of Mender. Now when I re-run the setup script on the Pi Getting Started guide button, no device shows up under Any or Pending devices…

What can I do?

---

<div class="post-metadata">

**Author:** ![EnjoysMath](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@EnjoysMath](https://hub.mender.io/u/EnjoysMath)\
**Post date:** [August 2, 2023, 8:30pm UTC](https://hub.mender.io/t/how-do-i-reinstall-the-mender-stuff-to-raspberry-pi-using-getting-started-on-a-decommissioned-device/6070/2 "2023-08-02T20:30:01Z")

</div>

Reinstalled OS that’s how
