Skip to content

Commit

Permalink
wipe data disk: fix title, improve structure (#36673)
Browse files Browse the repository at this point in the history
  • Loading branch information
c0ffeeca7 authored Jan 3, 2025
1 parent a01dddf commit 42607fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/_includes/common-tasks/commandline.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,17 @@ Use "ha [command] --help" for more information about a command.

You can also access the {% term "Home Assistant Operating System" %} via a directly connected keyboard and monitor, the console.

#### Wiping the data disk wipe from the command line
#### Wiping the data disk from the command line

In {% term "Home Assistant Operating System" %}, the `ha os datadisk wipe` command wipes the data disk. The command deletes all user data as well as Home Assistant Core, Supervisor, and any installed add-ons.

The command `ha os datadisk wipe` marks the data partition (either internal on the eMMC or the SD card, or on an external attached data disk) as to be cleared on the next reboot. The command automatically reboots the system. Upon reboot, the data is cleared. Then the system continues to boot and reinstalls the latest version of all Home Assistant components.

The `ha os datadisk wipe` command can only be run from the local terminal. Connect a display and keyboard and use the terminal.

Note, if you have a Home Assistant Yellow with a Raspberry Pi Compute Module 5, use the command line steps described above.
Note, some systems have a reset button you can use to clear the data disk, instead of using the command line:

- If you have a Home Assistant Yellow with a Raspberry Pi Compute Module 5, use the command line steps described above.

- If you have a Home Assistant Yellow with a Raspberry Pi Compute Module 4, there is a red hardware button to wipe the data disk. Follow the procedure on [resetting the Home Assistant Yellow](https://yellow.home-assistant.io/guides/factory-reset/).
- If you have a Home Assistant Green, there is a black hardware button to wipe the data disk. Follow the procedure on [resetting the Home Assistant Green](https://green.home-assistant.io/guides/reset/).
Expand Down

0 comments on commit 42607fd

Please sign in to comment.