From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECB34C25B75 for ; Wed, 29 May 2024 16:51:50 +0000 (UTC) Subject: Adding swap space to the encrypted partition To: cip-dev@lists.cip-project.org From: "JohnW" X-Originating-Location: Puyallup, Washington, US (174.21.53.213) X-Originating-Platform: Mac Firefox 126 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 29 May 2024 09:51:44 -0700 Message-ID: Content-Type: multipart/alternative; boundary="rK7f82hBqIdV9fUfFPiQ" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 29 May 2024 16:51:50 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/16066 --rK7f82hBqIdV9fUfFPiQ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Cip-Dev community, Is there a way to add a swap space to the encrypted partition? Something th= at will look like nvme0n1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 259:0=C2=A0=C2=A0=C2=A0=C2=A00 238.5G=C2=A0=C2=A00 disk =E2=94=9C=E2=94=80nvme0n1p1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 259:1=C2=A0=C2=A0=C2=A0=C2=A00=C2=A0=C2=A0 512M=C2=A0=C2=A00 p= art=C2=A0=C2=A0/boot/efi =E2=94=9C=E2=94=80nvme0n1p2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 259:2=C2=A0=C2=A0=C2=A0=C2=A00=C2=A0=C2=A0 1.4G=C2=A0=C2=A00 p= art=C2=A0=C2=A0/boot =E2=94=94=E2=94=80nvme0n1p3=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 259:3=C2=A0=C2=A0=C2=A0=C2=A00 236.6G=C2=A0=C2=A00 part =E2=94=94=E2=94=80nvme0n1p3_crypt=C2=A0=C2=A0 253:0=C2=A0=C2=A0=C2=A0=C2=A0= 0 236.5G=C2=A0=C2=A00 crypt =E2=94=9C=E2=94=80my-root=C2=A0=C2=A0 253:1=C2=A0=C2=A0=C2=A0=C2=A00 235.6G= =C2=A0=C2=A00 lvm=C2=A0=C2=A0 / =E2=94=94=E2=94=80my-swap_1 253:2=C2=A0=C2=A0=C2=A0=C2=A00=C2=A0=C2=A0 980M= =C2=A0=C2=A00 lvm=C2=A0=C2=A0 [SWAP] Regards, John --rK7f82hBqIdV9fUfFPiQ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Cip-Dev community,

Is there a way to add a swap space to the = encrypted partition? Something that will look like

nvme0n1    = ;           259:0 &n= bsp;  0 238.5G  0 disk
=E2=94=9C=E2=94=80nvme0n1p1&nb= sp;          259:1  =   0   512M  0 part  /boot/efi
=E2=94=9C=E2=94=80nvme0n1p2&nb= sp;          259:2  =   0   1.4G  0 part  /boot
=E2=94=94=E2=94=80nvme0n1p3&nb= sp;          259:3  =   0 236.6G  0 part
  =E2=94=94=E2=94=80= nvme0n1p3_crypt   253:0    0 236.5G &nbs= p;0 crypt
    =E2=94= =9C=E2=94=80my-root   253:1    0 235.6G =  0 lvm   /
    =E2=94= =94=E2=94=80my-swap_1 253:2    0   980M =  0 lvm   [SWAP]

Regards,
John
--rK7f82hBqIdV9fUfFPiQ--