Inadvertently disconnected the encrypted disk from the virtual machine
Posted: 24. Aug 2016, 14:51
Inadvertently disconnected the encrypted (cipher AES-XTS256-PLAIN64) disk from the virtual machine.
That's what I tried to solve the problem:
1) Сonnected the disk again and after starting the virtual machine I have received an error message:
2) Again entered the password in the password settings: VirtualBox began to encrypt the already encrypted disk.
3) In order to cancel the re-encryption, I gave the command:
4) I do not know, but it seems to me that the command for the decryption using AES-XTS128-PLAIN64 cipher by default. So I again via GUI encrypted disk with AES-XTS128-PLAIN64 cipher, to cancel incorrect decoding. After this operation, I had to return to the state after the second step.
5) Then I think I gave the correct command:
Now I had to get the original state it was in before re-encrypting.
6) I have run the virtual machine. In the pop-password request box I typed the password, which has been successfully tested.
But I got an error message again:
P.S. Sorry for the inaccuracy, I use machine translation.
That's what I tried to solve the problem:
1) Сonnected the disk again and after starting the virtual machine I have received an error message:
The password for the virtual machine is not even requested. Immediately there was an error message.FATAL: No bootable media found! System halted.
2) Again entered the password in the password settings: VirtualBox began to encrypt the already encrypted disk.
3) In order to cancel the re-encryption, I gave the command:
Code: Select all
VBoxManage encryptmedium "C:\Users\User\VirtualBox VMs\lubuntu\lubuntu.vdi" --oldpassword "C:\Users\User\VirtualBox VMs\lubuntu\password.txt"5) Then I think I gave the correct command:
Code: Select all
VBoxManage encryptmedium "C:\Users\User\VirtualBox VMs\lubuntu\lubuntu.vdi" --oldpassword "C:\Users\User\VirtualBox VMs\lubuntu\pwd.txt" --cipher AES-XTS256-PLAIN646) I have run the virtual machine. In the pop-password request box I typed the password, which has been successfully tested.
But I got an error message again:
What do I need to do now to restore the disk to a virtual machine?FATAL: No bootable media found! System halted.
P.S. Sorry for the inaccuracy, I use machine translation.