The following recovery functions are currently available:
- Run mode: restarts normally and runs the boot process
- Install mode / factory mode: initialise the device from an onboard system image
- Recover mode: reboot into recovery mode for data retrieval
- Factory reset: erase system data and initialise the device to its factory stage
See Using recovery modes for details on how these modes are accessed.
When booting in run mode, the device will attempt to boot normally, with no further option to recover or reinstall the system unless the recovery process is reinstantiated.
With install mode, all existing user and system data on the device will be removed and the device will be initialised from the system version image dated and listed in the reinstall text.
Unlike with a factory reset (see below), install mode will erase the contents of the ubuntu-save partition, reverting the device to its manufactured state, potentially removing configuration data essential to its functionality.
After the re-initialisation process has completed, you will need to step through the installation process of network configuration and account credentials again.
See Installation steps for further details on how the installation will proceed.
TPM provision failures:
Re-installation can fail if a device’s TPM is assigned to a previous installation. To solve this issue, reset or clear the TPM assignment from the device’s BIOS before selecting reinstall as a recovery mode.
In recovery mode, the device operates as it would from a pristine initial installation, including its snaps, via a temporary file system.
Most importantly, however, the running system data is untouched. This allows you to log in to the system using prior credentials to recover your data, either via SSH or locally after setting up a password for the user.
Rebooting from recovery mode will return the system to run mode.
The factory reset option will erase all system data and reset the device to its original fresh from the factory state. This means that not everything is removed.
In particular, the contents of the ubuntu-save partition remains intact. This partition typically contains configuration data essential for the original functionality of the device, such network configuration details. To fully initialise such a device, and remove all data, use
This is a dangerous option and should only be performed when you are certain the data on a device data is either backed-up or unwanted.