Welcome to the Linux Foundation Forum!

[cryptosetup] mkswap

thomas.bucaioni Posts: 207
edited August 2021 in LFS201 Class Forum

In lab 22.2 "Encrypted Swap" item (6), the swap can be mounted with a label thanks to the command sudo mkswap -L SWAP /dev/sda11. But maybe it's sudo mkswap -L SWAP /dev/mapper/swapcrypt?


  • coop
    coop Posts: 913

    NO. Please read the exercise. This step is about restoring the original situation which is unencrypted, not about using the encrypted one.

  • My bad, I read too fast. Sorry about it


Upcoming Training