With Veractypt in Windows I've created a NTFS encrypted volume in a USB memstick partition. Was able to open/use in Ubuntu but not in FreeBSD with "mount: /dev/md0: No such file or directory"
Ubuntu has NTFS support in kernel, FreeBSD doesn't. VeraCrypt can't mount automatic on FreeBSD. NTFS support on FreeBSD is realized by third party utilities.
To mount NTFS on FreeBSD try following: Do not mount the VeraCrypt volumes filesystem (see checkbox at image bottom after opening 'Options':
After password entered a memory disk is created, i.e.
/dev/md0, try mounting the file system with
sysutils/fusefs-ntfs manually:
For example:
# ntfs-3g /dev/md0 /mnt
After done with the volume unmount memory disk from mount point before unmounting from VeraCrypt.
In Ubuntu destroyed the volume and recreated it formatted as ext4, still not able to mount in FreeBSD after loading ext2fs kernel module, with the same error message.
Works with
sysutils/fusefs-lkl. Mount manually as instructed above.
In Windows recreated it as FAT. This time FreeBSD was able to mount it. It created the /dev/md0 entry and mounted in /media/Veracrypt1.
FreeBSD has MS-DOS file system support in kernel. VeraCrypt can mount automatic.
While in FreeBSD Wanted to recreate the volume as exFAT but the only format options in Veracrypt while creating a volume are FAT and UFS
FreeBSD has no exFAT support in base. It's not possible to create a exFAT filesystem from the GUI dialog.
Howerver, it's possible to create a filesystem
after creating a VeraCrypt volume. Create the volume/container without a filesystem in 'Format Options' dialog: Filesystem Options - Filesystem type 'None'.
"Mount" that volume without mounting the volumes filesystem (as instructed above). Afterwards create the filesystem on the memory disk.
This works well with FAT, UFS2, ZFS [1], ext4 [2], and xfs [3] file systems (tested so far). FAT and UFS2 can be mounted automatic by VeraCrypt, ZFS pool needs importing , ext4 and xfs mounting manually with
sysutils/fusefs-lkl.
Trying to create NTFS, exFAT [4] file systems results in errors. I can't tell what's wrong.
[1]
newfs_msdos(8),
newfs(8), 12.2
zpool(8), 13.0
zpool-create(8)
[2]
sysutils/e2fsprogs:
mkfs.ext4(8)
[3]
sysutils/xfsprogs:
mkfs.xfs(8)
[4]
sysutils/fusefs-ntfs:
mkntfs(8),
sysutils/exfat-utils:
mkexfatfs(8)