Double boot encryption password restore
A method of restoring an encrypted memory image in a system comprising volatile and non-volatile memory initiates a RESTORE of the image from the non-volatile memory to the volatile memory during a BIOS phase of a boot process for the system. If, during an operating system phase, it is determined that the RESTORE failed due to a password error, a password is written to the non-volatile memory and the BIOS phase of the boot process is reinitiated.
1. A method of restoring an encrypted memory image in a system comprising volatile memory and non-volatile memory, the method comprising:
initiating a RESTORE of the encrypted memory image from the non-volatile memory to the volatile memory during a BIOS phase of a boot process for the system;
during an operating system phase, checking if the RESTORE failed due to a password error for restoring the encrypted memory image; and
on condition that the RESTORE failed due to the password error, writing a password to the non-volatile memory and re-initiating the BIOS phase of the boot process.
2. The method of claim 1 , further comprising re-initiating the BIOS phase by resetting the system.
3. The method of claim 1 , wherein the volatile memory and the non-volatile memory are comprised by a pluggable dual inline memory module of the system.
4. The method of claim 1 , further comprising:
breaking a retry loop for restoring the encrypted memory image, on condition that restoring fails a preset number of times.
5. The method of claim 1 , further comprising:
accessing the password to decrypt the encrypted memory image during a second or higher attempt of the boot process.
6. A system comprising:
a pluggable dual inline memory module comprising:
a volatile memory; and
a non-volatile memory; and
logic to:
initiate a RESTORE of an encrypted memory image from the non-volatile memory to the volatile memory during a BIOS phase of a boot process for the system;
during an operating system phase, check if the RESTORE failed due to a password error for restoring the encrypted memory image; and
on condition that the RESTORE failed due to the password error, write a password to the non-volatile memory and re-initiate the BIOS phase of the boot process.
7. The system of claim 6 , further comprising logic to derive from the password a key for decrypting the encrypted memory image.
8. The system of claim 6 , further comprising re-initiating the BIOS phase by resetting the system.
9. The system of claim 6 , further comprising:
breaking a retry loop for restoring the encrypted memory image, on condition that restoring fails a preset number of times.
10. The system of claim 6 , further comprising:
accessing the password to decrypt the encrypted memory image during a second or higher attempt of the boot process.