meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:fs:encrypted_swap [2025/03/24 08:26] – niziak | linux:fs:encrypted_swap [2025/03/24 08:27] (current) – niziak | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== auto create ===== | ===== auto create ===== | ||
| - | Auto create encrypted swap with random key for every boot. Problem is that given block device will be filled with random data when swap is created. So label / UUID is lost for next reboot. Need to use direct device names or use symlinks like ''/ | + | Auto create encrypted swap with random key for every boot. Problem is that given block device will be filled with random data when swap is created. |
| + | So label / UUID is lost for next reboot. Need to use direct device names or use symlinks like ''/ | ||
| Workaround: Put LABEL / UUID once on block device and leave small gap before real swap data to do not overwrite FS signature: | Workaround: Put LABEL / UUID once on block device and leave small gap before real swap data to do not overwrite FS signature: | ||