meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:fs:encrypted_swap [2025/03/24 08:26] niziaklinux: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 ''/dev/disk/by-id/…'' which can be also unsafe and can hit another partition.+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 ''/dev/disk/by-id/…'' which can be also unsafe and can hit another partition.
  
 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: