if echo "${*}" | grep -w -- "-p"; then # only runs for automatic fsck sleep 10 exit 4# File system errors left uncorrected elif echo "${*}" | grep -w -- "-y"; then # only runs for manual fsck sleep 30 exit 1# Error corrected fi
That is why, if you cannot restore from a recent [[backup]], we recommend that you create a *partition image* of your Persistent Storage*before* attempting to repair the file system of your Persistent Storage from the Welcome Screen.
In the rare cases when repairing the file system will not work, you might be able to recover some or most of your data from this partition image using advanced forensics tools. This recovery process is very technical and you might need help from someone experienced with data recovery.