Running some tests with VirtualBox Beta 2 I encountered a problem with the encryption of the virtual disk image. Enabling the disk encryption for a VM with an installed guest os (with guest additions installed) breaks the guest. The filesystem is damaged and in a non recoverable state. I tried this with two VMs running RHEL 7.4 as guest os.
In a second scenario I created a new VM and enabled the disk encryption prior to the guest os installation. Powering up the VM and starting the installer (RHEL 7.4 with anaconda) works fine. When the installation starts and the filesystem is going to be accessed for the first time the VM freezes or the installer crashs with an exception that the filesystem cannot be accessed or mounted. Restarting the installation shows that the filesystem was destroyed. The installer shows the partition created in the last installation attempt without any filesystem.
My test environment is:
- VirtualBox 5.2.0 Beta2r117563
- Guest os: RHEL 7.4
- Disk Type: VDI
- Encryption: AES-XTS256-PLAIN64
Best regards,
Joerg