mount an encrypted USB drive on FreeBSD and Windows

I'd like to share a 4 TB Transcend USB drive between FreeBSD and Windows.

Which way to go at the dawn of FreeBSD 14?

VeraCrypt?
Full disk or File containers? What filesystem? Does it work from the console only?


Bitlocker? with libbde?
 
I added bitlocker encryption under windows and tried to access the (ntfs) drive under FreeBSD with bdeinfo from devel/libbde.

But I got the error below. Any ideas?

Code:
# gpart show /dev/da0
=>        6  976754635  da0  GPT  (3.6T)
          6      32768    1  ms-reserved  (128M)
      32774        250       - free -  (1.0M)
      33024  976721408    2  ms-basic-data  (3.6T)
  976754432        209       - free -  (836K)


# bdeinfo -p *** /dev/da0p2
bdeinfo 20221031

Unable to open: /dev/da0p2.
libcfile_file_read_buffer_with_error_code: unable to read from file with error: Invalid argument
libcfile_file_read_buffer: unable to read from file.
libbfio_file_io_handle_read_buffer: unable to read from file: /dev/da0p2.
libbfio_file_range_io_handle_read_buffer: unable to read from file IO handle.
libbfio_internal_handle_read_buffer: unable to read from handle.
libbfio_handle_read_buffer_at_offset: unable to read buffer.
libbde_volume_header_read_file_io_handle: unable to read volume header data at offset: 0 (0x00000000).
libbde_internal_volume_open_read: unable to read volume header.
libbde_volume_open_file_io_handle: unable to read from file IO handle.
info_handle_open: unable to open volume.

 # dd if=/dev/da0p2 bs=1m count=1 | hexdump -C | less
00000000  eb 58 90 2d 46 56 45 2d  46 53 2d 00 10 01 00 00  |.X.-FVE-FS-.....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 81 00 00  |........?.......|
00000020  00 00 00 00 e0 1f 00 00  00 00 00 00 00 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 00 29 00 00 00 00 4e  4f 20 4e 41 4d 45 20 20  |..)....NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
...
 
Back
Top