- doc
- persistent storage
- Checking the file system of the Persistent Storage
In rare occasions, you might have to perform a file system check to repair a broken Persistent Storage.
Unlock the Persistent Storage
When starting Tails, keep the Persistent Storage locked and set up an administration password.
Choose GNOME Disks.
to openIn the left pane, click on the device corresponding to your Tails USB stick.
In the right pane, click on the partition labeled as TailsData LUKS.
Click on
to unlock the Persistent Storage. Enter the passphrase of the Persistent Storage and click Unlock again.
In the confirmation dialog, enter your administration password and click Authenticate.
Click on the TailsData Ext4 partition that appears below the TailsData LUKS partition.
Identify the device name of your Persistent Storage. The device name appears below the list of volumes. It should look like
/dev/mapper/luks-xxxxxxxx
.Triple-click to select it and press Ctrl+C to copy it to the clipboard.
Check the file system using the terminal
Choose
and enter your administration password to open a root terminal.In the terminal, execute the following command, replacing
[device]
with the device name found in step 8:fsck -y [device]
To do so, you can type fsck -y and press Shift+Ctrl+V to paste the device name from the clipboard.
If the file system is free of errors, the last line from the output of fsck starts with TailsData: clean.
If the file system has errors, fsck tries to fix them automatically. After it finishes, you can try executing the same command again to check if all errors are solved.