If it's a raspberry pi, just reflash the sd card.