Closed nicgentile closed 7 years ago
One problem at a time and lets start with the first one you mentioned.
The file system on the volume is corrupted.
To unlock the volume without mounting it,log in to root's account and then use below command:
zuluCrypt-cli -O -d /dev/sdX1
Try to repair the file system using fsck
tool on the encrypted mapper device located at
/dev/mapper/zuluCrypt-0-NAAN-sdX1-XXYZ
Read up on fsck tool to see how to use it.
Hi,
I know how to use fsck, but had no idea you could do all that. Went ahead and re-encrypted the corrupted drives, so I can only try this out if it happens again. Nothing valuable was lost, and I am still learning, so nothing to worry about.
A command to run to export a LUKS header on a device is:
zuluCrypt-cli -B -d /dev/sdX1 -z luks -f /path/to/where/to/store/the/header
A command to run to restore a LUKS header from a backup is:
zuluCrypt-cli -R -d /dev/sdX1 -z luks -f /path/to/header/backup
Both operations are possible with zuluCrypt GUI.
Hi,
I've been getting an error on my volumes after trying to mount them using zuluCrypt-cli -o -d /dev/sdX1 -m sdX1 -e rw -p after a power blackout.
"ERROR: Failed to mount a filesystem:invalid/unsupported mount option or unsupported file system encountered"
Where I am, this is quite common, and unfortunately, majority of the times the mitigation is hardly effective. Is there any way to come back from this?
Also, what exactly do I need to type into the computer to export headers? I've struggled with this for nearly two days, so be as verbose as possible.
Thanks.