VirtualBox

Opened 7 years ago

Last modified 7 years ago

#16560 new defect

Multiple password prompts for encrypted drives

Reported by: Nils Owned by:
Component: other Version: VirtualBox 5.1.16
Keywords: Cc:
Guest type: other Host type: other

Description

Hello, I have a debian VM (windows 7 host) which is in encrypted drive images. When I boot it, it correctly asks for a password once. If I save the state, it asks twice (as the boot and home partitions are both encrypted is my guess).

  • If I enter the password twice, the second attempt fails
  • I have to cancel the second attempt, leading to the power off / save state / ... Menu, and then cancel that and the VM runs normally.

Change History (1)

in reply to:  description comment:1 by Socratis, 7 years ago

Replying to Nils:

(as the boot and home partitions are both encrypted is my guess)

Not really, since 1) the boot and the home partitions are on the same VDI (please verify that), and 2) it wouldn't matter if there were more than one VDIs or more (I think).

Just to recap:

  • if you start normally, it asks for the password once and everything works.
  • if you resume from a saved state, it asks for the password twice and it works only if you cancel the second attempt and follow your workaround.

Here's what I did, and that may be a surprise to you (it was for me). I have a FreeDOS client, which I often use for testing things after cloning it (because it's the fastest). Well, I cloned that and I encrypted it.

  • I started from a cold start, entered the password and everything was OK.
  • I then saved the VM state. When I resumed, I was NOT asked for a password!
  • I entered commands such as "date" and "time" (which don't require disk access) and still no password required!
  • I then entered the command "dir" (which actually requires disk access) and THEN I was asked for a password. Once.

Bottom line: I wasn't asked for a password twice, so, please give the details of your setup. Even better if you accompany it with a VBox.log.zip, after you've followed the procedure:

  1. Cold boot of the VM. Give your password to unlock it. Let it boot completely, login. Save the VM state and close the VM. Wait a couple of minutes.
  2. Resume the VM. Give your password with the workaround. Shutdown the VM completely/normally from within the VM.

Find your logs subdirectory (theoretically within the "VM/Logs" directory). The "VBox.log.1" should contain the 1st run, while the "VBox.log" the 2nd run. ZIP them both and attach them.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use