mkpasswd --method=sha-512
python3 -c "import crypt; print(crypt.crypt('PASSWORD', crypt.mksalt(crypt.METHOD_SHA512)))"
The installer scans disks and assigns them based on the type you select.