Skip to content

zuluMount cli howto

DJCrashdummy edited this page Jun 3, 2017 · 16 revisions

zuluMount is a general purpose mounting tool that can mount unencrypted volumes and zuluCrypt supported encrypted volumes.

zuluMount should be the tool to use if all you want to do is mount and unmount volumes as its better tuned for this purpose.

If these commands fail with @ERROR: setgroups() failed: Operation not permitted@ error, then

  1. Invoke them using sudo/su/pkexec or,
  2. Uninstall the version you have (you probably got it from your distro) and install the version i provide on the project's main page. My packages do not have this problem.

1. Commands to unlock a volume.

zuluMount-cli -K $UID -m -d /dev/sdc1 -z blabla -e ro -f /home/keyFile    
zuluMount-cli -K $UID -m -d /dev/sdc1 -z blabla -e ro -F /home/keyFile0 -F /home/keyFile1  
zuluMount-cli -K $UID -m -d /dev/sdc1 -z blabla -e ro -p passphrase  
zuluMount-cli -K $UID -m -d /dev/sdc1 -z blabla -e ro -p passphrase -t vcrypt 
zuluMount-cli -K $UID -m -d /dev/sdc1 -z blabla -e ro -p passphrase -t vcrypt.PIM_VALUE
zuluMount-cli -K $UID -m -d /dev/sdc1 -o 1024 -z blabla -e ro -p passphrase  

Explanations for the above options.
-K : this options takes user id of the person who is invoking the command. It is a necessary option if the command is invoked using "sudo", "pkexec" or "su".

-m : required option as a directive to mount a volume.
-d : required option that points to a device with an encrypted container.
-z : optional argument used to customize mount point path.
-e : optional argument for mount options. "ro" means "read only" and "rw" means "read and write".
-f : optional argument that points to a file to be used as a keyfile.
-p : optional argument that takes a passphrase from command line argument.
-t : -t "vcrypt" is required if a volume to be mounted is a VeraCrypt volume. -t : -t "vcrypt.PIM_VALUE" is required if a volume to be mounted is a VeraCrypt volume with a PIM value of "PIM_VALUE". -G : optional argument that takes a name of a plugin to be used to get a passphrase.
-F : optional argument that takes multiple keyfiles when unlocking TrueCrypt or VeraCrypt volumes.
-o : optional argument that takes size in sectors of where a plain plain-dmcrypt volume is.

2. Commands to lock a volume.

zuluMount-cli -K $UID -u -d /dev/sdc1

3. Commands to print volume properties of an unlocked volume.

zuluMount-cli -K $UID -s -d /dev/sdc1

4. Command to print an expanded list of mounted volumes.

zuluMount-cli -l

5. Command to use to get a list of system volumes.

zuluMount-cli -S

6. Command to use to get a list of non system volumes.

zuluMount-cli -N

7. Command to print a list of all volumes.

zuluMount-cli -A

documentations for more options to follow

Clone this wiki locally