Coder Social home page Coder Social logo

deadspace92 / rpi-reset Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shivasiddharth/raspberrypi-factory-reset

0.0 0.0 0.0 25 KB

Repository to create a Raspberry Pi OS with a factory reset or system refresh or full system restore option.

Shell 100.00%

rpi-reset's Introduction

Factory Reset Your Raspbian OS

Description:


In the normal process to reset or restore the Raspberry Pi OS (Raspbian), you need to unplug the SD Card, format the card, re-write the OS image and plug it back again. If you are doing some testing or development, it can be a pain to go over this process again. This git contains the scripts using which you can create a Raspberry Pi OS image which has an option to factory reset the OS without plugging out the SD Card.

Usage:


Ready to use images:

These are based on the May 2020 version of the Raspberry Pi OS.
https://mega.nz/folder/akREwKKB#SNdASVnpzOaj7rPtrgPW_w

Prepare your own image by following the instructions given below on a linux based system

Image Versions Free Space Required
Lite 10GB
Minimal Desktop 14GB
Full Desktop 25GB
  1. Clone the git using:
git clone https://github.com/shivasiddharth/RaspberryPi-Factory-Reset  
  1. Download your preferred image, unzip them and place them in the files directory.

  2. Change directory using:

cd /home/${USER}/RaspberryPi-Factory-Reset/files/   
  1. Make the script executable using:
sudo chmod +x ./create-factory-reset.sh  
  1. Execute the script using:
sudo ./create-factory-reset.sh  
  1. Copy the created image and write it to the SD Card and enjoy.

Command to factory reset:


sudo su -   
/boot/factory_reset --reset    

rpi-reset's People

Contributors

shivasiddharth avatar tolland avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.