root: Add format.sh check for cryptsetup.
root: Simplify argument parsing in format.sh.
root: Reset base salt in format.sh after failure.
root: Reset salt after mount failure in 'init'.