DavidXanatos / DiskCryptor

A fork of the DiskCryptor full disk encryption tool
https://www.diskcryptor.org/
440 stars 100 forks source link

Fix EFI bootloader mounting of partitions formatted by DC #20

Closed fbno closed 3 years ago

fbno commented 3 years ago

Partitions created via the DiskCryptor "Format" command have a different layout compared to partitions created via the "Encrypt" command.

The EFI bootloader only mounted partitions created via the "Encrypt" command correctly. On other partitions, dc_header was not redirected, so the first 2048 byte did not contain a valid file system header.

This could result in crashes directly after the I/O hook was installed.

Might fix issue DavidXanatos/DiskCryptor#5