Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
managing_hard_drive_encryption_on_linux [2023/09/22 11:14] – ac1mde | managing_hard_drive_encryption_on_linux [2023/10/23 14:42] (current) – ac1mde | ||
---|---|---|---|
Line 12: | Line 12: | ||
</ | </ | ||
- | The encrypted partition is nvme0n1p3_crypt (//yours will likely be different!// | + | Copy the UUID it shows you and use it in this command: |
< | < | ||
- | sudo cryptsetup luksAddKey | + | sudo cryptsetup luksAddKey |
</ | </ | ||
- | //Make sure you use your own device path instead of the one in the example.// | + | //Make sure you use your own UUID instead of the one in the example.// |
It will ask for the currently set passphrase, and then you can enter your own that you want to use. To check you can use it, reboot the computer and enter your new passphrase when it asks to unlock the drive. | It will ask for the currently set passphrase, and then you can enter your own that you want to use. To check you can use it, reboot the computer and enter your new passphrase when it asks to unlock the drive. | ||
Assuming it works, the final stage is to dispose of any hard copies you may have of the original hard-to-remember passphrase! | Assuming it works, the final stage is to dispose of any hard copies you may have of the original hard-to-remember passphrase! | ||