![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
14.02.2020 18:20, Michael Fischer пишет:
To be more specific, I have a LUKS volume on /dev/sda3.
I am about to reinstall LEAP 15.0 on /, which is on an entirely different disk. I will only redo /, and leave /home, etc. untouched.
Question is: will the "passphrase", etc. continue to work after the reinstall of the OS on /,
It is not clear what "etc" includes. The encrypted volume will not be changed if you won't tell installer to format it (sans installer bugs), so all keys will remain valid.
or which of the following steps, (copied from SDB[0])
cryptsetup luksFormat /dev/sda3
I would not expect content of any volume to be preserved after anything that has "format" in its name is performed on this volume.
cryptsetup luksOpen /dev/sda3 my_secure_partion
This opens encrypted volume. If you want it to be available automatically on boot (which was probably implied by "etc" above) you will need to add corresponding line to /etc/crypttab. You can just copy it from current /etc/crypttab.
Will need to be done?
Or will I need to back the partition up and redo it from scratch?
Backup makes sense always.
Thanks.
[0] https://en.opensuse.org/SDB:Encrypted_filesystems
Michael
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org