I have vdi encrypted (I know the pass)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
manintrouble
Posts: 5
Joined: 8. Feb 2022, 03:16

I have vdi encrypted (I know the pass)

Post by manintrouble »

Hello everyone, I hope you can give me a hand.

I have a 50 Gb vdi file that I use as a hard drive on a w10-64bits.
Ok, I want to take that disk and make it work but I get the error "FATAL: No bootable medium found system halted".

What could be happening?
I enabled the encryption of this disk, can it influence? (I know the password...)
Unfortunately, I don't have the vbox of the old machine....

I have tried to activate the encryption on the new machine with the same password but I get the same error.

Can someone please shed some light on this for me?
Thank you very much, best regards.
Attachments
2.png
2.png (22.3 KiB) Viewed 1858 times
1.png
1.png (2.56 KiB) Viewed 1858 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: I have vdi encrypted (I know the pass)

Post by scottgus1 »

manintrouble wrote:Unfortunately, I don't have the vbox of the old machine....
If this means you have only the vdi file but not the .vbox file for the old VM, then, not to put too fine a point on it, you're, well, in trouble.

There is a counterpart to the password called the DEK in the .vbox file. Without that DEK, the disk cannot be decrypted or accessed correctly.

From the manual, https://www.virtualbox.org/manual/ch09. ... encryption:
Since the DEK is stored as part of the VM configuration file, it is important that it is kept safe. Losing the DEK means that the data stored in the disk images is lost irrecoverably. Having complete and up to date backups of all data related to the VM is the responsibility of the user.
manintrouble
Posts: 5
Joined: 8. Feb 2022, 03:16

Re: I have vdi encrypted (I know the pass)

Post by manintrouble »

Thank you for the quick response, I am very grateful.
Although I see that this time I get bad news.

Have I to learn from everything, right? :lol:

Greetings

p.d.: f****!!!! :lol:
manintrouble
Posts: 5
Joined: 8. Feb 2022, 03:16

Re: I have vdi encrypted (I know the pass)

Post by manintrouble »

scottgus1 wrote:
manintrouble wrote:Unfortunately, I don't have the vbox of the old machine....
If this means you have only the vdi file but not the .vbox file for the old VM, then, not to put too fine a point on it, you're, well, in trouble.

There is a counterpart to the password called the DEK in the .vbox file. Without that DEK, the disk cannot be decrypted or accessed correctly.

I do indeed own the old vbox, but the keys are deleted.

If I re-encrypt it with the same password, do you think it will work?
Attachments
3.png
3.png (56.69 KiB) Viewed 1756 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: I have vdi encrypted (I know the pass)

Post by scottgus1 »

Probably not. You'd have to decrypt it first. Another pass of encryption would only further scramble what's scrambled already.
manintrouble wrote:I don't have the vbox
manintrouble wrote:I do indeed own the old vbox

:shock:
manintrouble
Posts: 5
Joined: 8. Feb 2022, 03:16

Re: I have vdi encrypted (I know the pass)

Post by manintrouble »

scottgus1 wrote:Probably not. You'd have to decrypt it first. Another pass of encryption would only further scramble what's scrambled already.
If this were yours, would you try something or give it up?

scottgus1 wrote:
manintrouble wrote:I don't have the vbox
manintrouble wrote:I do indeed own the old vbox

:shock:
I said that at the beginning to try to make things easier. I have the vbox but without the key, as attached in the last image.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: I have vdi encrypted (I know the pass)

Post by mpack »

manintrouble wrote: If this were yours, would you try something or give it up?
If you don't have the unique DEK used to encrypt the disk then recovery is impossible, even if you were a government with amazing supercomputers at your disposal.

That is after all the whole reason for encrypting a disk in the first place. If there was some clever dodge to get around it then encryption would be worthless.
manintrouble
Posts: 5
Joined: 8. Feb 2022, 03:16

Re: I have vdi encrypted (I know the pass)

Post by manintrouble »

mpack wrote:
manintrouble wrote: If this were yours, would you try something or give it up?
If you don't have the unique DEK used to encrypt the disk then recovery is impossible, even if you were a government with amazing supercomputers at your disposal.

That is after all the whole reason for encrypting a disk in the first place. If there was some clever dodge to get around it then encryption would be worthless.
Understood, thank you very much for your help and time.
Have a nice week !
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: I have vdi encrypted (I know the pass)

Post by scottgus1 »

manintrouble wrote:If this were yours, would you try something or give it up?
No one said you couldn't try it.
manintrouble wrote:do you think it will work?
This means, "do I think it would work?" Not, "Will I allow you to do it?"
And the answer is, No I don't think it will work. You are free to do as you wish.
Post Reply